OESF Portables Forum

General Forums => General Discussion => Topic started by: jgrauman on November 21, 2005, 04:42:34 pm

Title: Usb Data Transfer To Pc
Post by: jgrauman on November 21, 2005, 04:42:34 pm
I'm new to the Zaurus so forgive my ignorance... But shouldn't it be possible (at least on my C1000 with usb host capabilities) to write a program/driver to allow data transfer between the Zaurus and a Linux PC (doesn't the Zaurus do this with windows?). That way I could just use a simple usb cable to backup my Z. Any suggestions on how to program this (specifically, how to send/receive data over usb, I can make up my own protocol for handshaking/EOF/filename stuff).

Moreover, shouldn't it also be possible to write a network driver on top of the raw USB so that I could ssh to my PC, web browse, etc. without a network card? Obviously this would take a lot more work, but should be feasible, I think.? Maybe a simple usb network card driver could be used as a starting point? If anyone wanted to take this up as a project, I'm sure many would rejoice  

Thoughts, ideas?

Josh
Title: Usb Data Transfer To Pc
Post by: Meanie on November 21, 2005, 05:06:41 pm
Quote
I'm new to the Zaurus so forgive my ignorance... But shouldn't it be possible (at least on my C1000 with usb host capabilities) to write a program/driver to allow data transfer between the Zaurus and a Linux PC (doesn't the Zaurus do this with windows?). That way I could just use a simple usb cable to backup my Z. Any suggestions on how to program this (specifically, how to send/receive data over usb, I can make up my own protocol for handshaking/EOF/filename stuff).

Moreover, shouldn't it also be possible to write a network driver on top of the raw USB so that I could ssh to my PC, web browse, etc. without a network card? Obviously this would take a lot more work, but should be feasible, I think.? Maybe a simple usb network card driver could be used as a starting point? If anyone wanted to take this up as a project, I'm sure many would rejoice  

Thoughts, ideas?

Josh
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104465\"][{POST_SNAPBACK}][/a][/div]

That's already available out of the box on the zaurus side of things. You just need to mount your Zaurus from your PC if you want to access it's card devices. You can also just install an ssh client to be able to ssh into your linux box. It's all there, just need a bit of configuration on the Z and your PC.
Title: Usb Data Transfer To Pc
Post by: jgrauman on November 21, 2005, 09:39:47 pm
Quote
That's already available out of the box on the zaurus side of things. You just need to mount your Zaurus from your PC if you want to access it's card devices. You can also just install an ssh client to be able to ssh into your linux box. It's all there, just need a bit of configuration on the Z and your PC.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=104470\")
Thanks for the reply. Of course I should have found this earlier. Here is the detailed info I was looking for if anyone else is interested, and thanks for bearing with my question...

[a href=\"http://www.linux-usb.org/usbnet/]http://www.linux-usb.org/usbnet/[/url]

Josh
Title: Usb Data Transfer To Pc
Post by: lardman on November 22, 2005, 07:31:55 am
Note that Sharp's implementation of the CDC ethernet driver is slightly odd afair - not standard anyway - which means you may need to tweak the files on your Linux box.

Just 'modprobe usbdnet' on your Zaurus.

With 2.6.x kernels (on the Zaurus) we've moved to using gadget: http://www.linux-usb.org/gadget/ (http://www.linux-usb.org/gadget/)


Si