Gp32linux: Usb Networking Possible?


DistWave

Still Fresh
Joined
Apr 23, 2004
Messages
24
Location
Zaragoza, Spain
Website
Visit site
Hi! this is my first post in the forum but I have been reading you for a month or so :) My english is very limited, so I'll explain as clear as I can.

Reading this page i think it would be possible to use the unpowered USB from the GP32 to get a ethernet network conection from a PC, enabling the gp32 to get internet access... It could be very interesting, or at least, geek :D

What do you think?

Edited: I posted in the wrong section... bad start :(
 
Your best bet is to do it via the UART. I'm getting my new mobile in three weeks, along with a datacable for it, and it has an internal modem, which I plan on using extensively, with my GP32. This internal modem is a standard AT modem, so I can just use standard drivers to get on the i-net.
 
The EXT port would be in use by the chatboard...
You have 4 I/O pins, 2x UART and an I2C port. One of the UARTs (UART0) has handshaking, which the modem needs. The second UART can be used for the chatboard. And you'd still have 4 IO pins left, and an I2C port for a possible port Xpander.
 
Last edited by a moderator:
The ethernet connection is fine, and the basic usb driver can be written in a short time. However, who is going to write the tcp/ip stack required by the driver and ethernet layer, along with the higher-up protocols for what access you may required (such as web, email, telnet, etc?)

Not me, that's for certain!

Would be interesting, but I don't think anyone is going to do it just for the "geek" factor.
 
Oh right, never spotted any of those functions in the sdk, or are they undocumented?

Whatever, if this is already done for us, then a "usb->ethernet" driver shouldn't be that hard to do (there are many usb->ethernet adaptors available).

Eg:

http://www.scan.co.uk/Products/ProductInfo...B%2FEthernet%29

115458.jpg
 

Attachments

  • 115458.jpg
    115458.jpg
    5.9 KB · Views: 107
  • 115458.jpg
    115458.jpg
    5.9 KB · Views: 116
jeeezzzz
squidge, your linux has opened up many interesting doors
well, here it is again
posdability of this workin? I hope so, this and the USB drive
sweet internet...

~Octavious
 
my linux? I didn't port Linux to the GP32. Nor have I yet written anything to do with usb/ethernet or internet stuff (well, apart from GpDrive a good while ago). I've only spoke about it.

Unless of course your post is meant to be sarcasm... :huh: ?
 
And what about gplinux? There are linux-arm tcp/ip stack and ethernet stack available, so only the usbnet driver should be ported... and I think pocket pc linux usbnet driver should be similar to gp32.


--- Taken from http://www.linux-usb.org/usbnet/#t-smart ---

There's another interesting case that the usbnet driver handles. You can connect your host (PC) to certain USB-enabled PDAs, or to any gadget that's very smart (maybe smart enough to embed Linux!) and uses one of the flavors of USB networking that this driver supports. Although you can program your PDA, it's not really a USB "host" (master), it's still "device" (slave). (Unless it supports USB OTG, a technology that's not yet widely available.) If that device talks like one of the host-to-host adapters listed above, a host won't know it's talking to a PDA that runs Linux directly.
...
The cable devices perform a master-to-slave conversion and a slave-to-master conversion ... but these kinds of gadgets don't need the slave-to-master conversion, they're natural slaves! The PDA side initialization is a bit different, but the host side initialization (and most of the other information provided here) stays the same. And of course, the USB-enabled gadget could be running some other OS, maybe an RTOS; it doesn't need to run Linux. It only needs to wrap network packets in one of a few ways, without many demands for control handshaking.
 
The usbnet driver doesn't have to be ported, it is already there!

Is anyone having a USB transfer cable willing to test it?
 
Back
Top