Author Topic: Usb Data Transfer To Pc  (Read 2093 times)

jgrauman

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://
Usb Data Transfer To Pc
« 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
C1000

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Usb Data Transfer To Pc
« Reply #1 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.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

jgrauman

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://
Usb Data Transfer To Pc
« Reply #2 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]
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
C1000

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Usb Data Transfer To Pc
« Reply #3 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/


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva