Author Topic: Using Usb Hubs  (Read 2253 times)

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
Using Usb Hubs
« on: August 08, 2006, 12:21:37 pm »
I am trying to get my Zaurus sl-c1000 (Running pdaxrom, beta2) to work with a usb hub, I can get it to work with the hub as long as I only have one usb memory stick plugged into it.  If I have both my memory sticks pluged into it it doesn't display either.

Has anyone else got multiple memory sticks working on their zaurus?

Also how do I tell the zaurus that I want to eject the memory stick (I know that it is documented somewhere but I can't seem to find it)

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Using Usb Hubs
« Reply #1 on: August 08, 2006, 12:47:51 pm »
Get a powered usb hub... the Zaurus can't power to many devices

Well make that more then 1 device... and it has to have very low power requirements

Late
« Last Edit: August 08, 2006, 12:48:18 pm by InSearchOf »
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Using Usb Hubs
« Reply #2 on: August 08, 2006, 12:48:23 pm »
Quote
I am trying to get my Zaurus sl-c1000 (Running pdaxrom, beta2) to work with a usb hub, I can get it to work with the hub as long as I only have one usb memory stick plugged into it.  If I have both my memory sticks pluged into it it doesn't display either.

Has anyone else got multiple memory sticks working on their zaurus?

Also how do I tell the zaurus that I want to eject the memory stick (I know that it is documented somewhere but I can't seem to find it)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137840\"][{POST_SNAPBACK}][/a][/div]

Haven't tried more than one USB sticks plugged in at the same time. A single USB memory stick will be mounted from /dev/sda1 to /mnt/usbstorage. So to unmount a simple "umount /mnt/usbstorage" will do.    
I am also curious to know how multiple memory devices (USB sticks, HDDs, etc) can be mounted at the same time.
How does df or dmesg show when both sticks a plugged? How about one single stick with hub? Or just the stick without the hub?  
« Last Edit: August 08, 2006, 12:49:18 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
Using Usb Hubs
« Reply #3 on: August 09, 2006, 03:53:15 am »
Ok I have got it working I just needed to add the lines in to /etc/fstab that will mount /dev/sdb1 and /dev/sdbc1.  Then when I have inserted the usb memory stick I just mount the next device  (not sure how to do this automatically yet).

Oh and I have plugged the power into my hub which I think has also made a big difference.

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
Using Usb Hubs
« Reply #4 on: August 09, 2006, 08:52:26 am »
I have been reading up on this (documentation seems to be very scarce for this sort of thing.).  I think that I will need to rewrite usb-storage script because at the moment it just tries to mount to the one directory.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Using Usb Hubs
« Reply #5 on: August 11, 2006, 03:12:45 am »
Quote
I have been reading up on this (documentation seems to be very scarce for this sort of thing.).  I think that I will need to rewrite usb-storage script because at the moment it just tries to mount to the one directory.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137930\"][{POST_SNAPBACK}][/a][/div]

have a look at the usb-storage script in my automounter package. it does try to find 4 usb disks and mount them if they are available. my usb hub has 4 connections and that's why I hardcoded it at 4 devices if you are wondering why 4 and not more or less.
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