![]() ![]() |
Mar 25 2006, 02:10 PM
Post
#1
|
|
|
Group: Members Posts: 106 Joined: 27-February 06 Member No.: 9,243 |
I have a C1000. I've read that the difference between the USB host cable and regular USB cable is the connector on the end causes the Z to behave differently depending on which one is inserted.
I've also read that you can get the USB-host adaptor in a kit you can buy at Walgreens. I bought a Universal USB adaptor kit before I bought by C1000. I've noticed that it has a couple of different types of mini-USB connector. I was wondering how you can tell if any of them are the host (USB OTG) type connector? (Is there a closeup image anywere?) Are there any other giveaways? Or if you plug it into the Z, is there any command you can use to check? |
|
|
|
Mar 25 2006, 02:50 PM
Post
#2
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
Yep the kit from walgreens includes the host adapter.
It's a 6-in-1 kit, made by G.E. (General Electric) It's behind the camera counter and is in a red bubble package which hangs from a peg. I've enclosed a pic of the "GoldEX" brand of USB 'B' & 'A' fittings, (not the walgreens ones, these are basically the same). The 'A' (on the right) is the host fitting. The 'B' (on the left) is a fitting like a sync cable that most Palms use. The 'A' fitting is used to connect external drives, mice, keyboards, ect. (Host) The 'B' fitting is used to connect your zaurus to a PC and browse the drive/cards on the Zaurus from your PC. This post has been edited by Jon_J: Mar 25 2006, 02:59 PM
Attached File(s)
|
|
|
|
Mar 25 2006, 03:15 PM
Post
#3
|
|
|
Group: Members Posts: 106 Joined: 27-February 06 Member No.: 9,243 |
QUOTE(Jon_J @ Mar 25 2006, 06:50 PM) Yep the kit from walgreens includes the host adapter. It's a 6-in-1 kit, made by G.E. (General Electric) It's behind the camera counter and is in a red bubble package which hangs from a peg. I've enclosed a pic of the "GoldEX" brand of USB 'B' & 'A' fittings, (not the walgreens ones, these are basically the same). The 'A' (on the right) is the host fitting. The 'B' (on the left) is a fitting like a sync cable that most Palms use. The 'A' fitting is used to connect external drives, mice, keyboards, ect. (Host) The 'B' fitting is used to connect your zaurus to a PC and browse the drive/cards on the Zaurus from your PC. I do have a connector that looks like the 'A' plug. When I plug it into the Z, and run 'dmesg', I see messages that it detected a USB hub, with two ports. Is that the kind of message that the USB host cable generates? |
|
|
|
Mar 25 2006, 03:57 PM
Post
#4
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
I've never used dmesg with just the host cable.
Try hooking up an external drive to it. I have an external drive enclosure, (which has it's own power). It shows this in the files tab in Cacko 1.23
Attached File(s)
|
|
|
|
Mar 25 2006, 11:58 PM
Post
#5
|
|
![]() Group: Members Posts: 693 Joined: 4-June 04 From: Ohio Member No.: 3,570 |
The cable itself won't get you anything with a dmesg. It's just a cable. Now if you have anything attached to the other end, you'll get something. Might not be a supported device but the usb spec says it has to identify itself.
|
|
|
|
Mar 26 2006, 08:03 AM
Post
#6
|
|
|
Group: Members Posts: 106 Joined: 27-February 06 Member No.: 9,243 |
QUOTE(BarryW @ Mar 26 2006, 03:58 AM) The cable itself won't get you anything with a dmesg. It's just a cable. Now if you have anything attached to the other end, you'll get something. Might not be a supported device but the usb spec says it has to identify itself. Well, this is what shows up in dmesg when I plug in the mystery adaptor: hotplug_schedule_bh: schedule bh usbh: hotplug_bh: usbh: udc_connected: ACTIVE_LOW: 1<7>usbh: monitor_connected: 1 usbh: monitor_restore: RESTORE_LOADED usbh: monitor_hotplug: agent: usbh interface: monitor action: restore-loaded usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-ohci.c: USB OHCI at membase 0xfe000000, IRQ 3 usb.c: new USB bus registered, assigned bus number 1 usb.c: kmalloc IF c3f3aa60, numif 1 usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1 usb.c: USB device number 1 default language ID 0x0 Product: USB OHCI Root Hub SerialNumber: fe000000 hub.c: USB hub found hub.c: 2 ports detected hub.c: standalone hub hub.c: ganged power switching hub.c: individual port over-current protection hub.c: Port indicators are not supported hub.c: power on to power good time: 8ms hub.c: hub controller current requirement: 0mA hub.c: port removable status: RR hub.c: local power source is good hub.c: no over-current condition exists hub.c: enabling power on all ports usb.c: hub driver claimed interface c3f3aa60 usb.c: kusbd: /sbin/hotplug add 1 usbhmonitor: warning - hotplug script timed out hotplug_bh: monitor_connected: 1 monitor_restore: RESTORE_LOADED monitor_hotplug: agent: usbd interface: monitor action: restore-loaded usbdcore: usbdcore 0.1 035 2002-06-12 20:00 (dbg="") net_fd 0.1 035 2002-06-12 20:00 (dbg="",alwaysup=0,OUT=64,IN=64) vendorID: 4dd productID: 9031 pxa27x_bi 0.1-alpha 035 2002-06-12 20:00 (dbg="") bi_modinit: call udc_startup_events bi_device_event: call udc_enable bi_device_event: call udc_all_interrupts udc_connect: host cable connected. And then if I plug a device into the other end (In this case, a D-LInk ethernet adaptor): hub.c: port 2 connection change hub.c: port 2, portstatus 101, change 1, 12 Mb/s hub.c: port 2, portstatus 101, change 0, 12 Mb/s hub.c: port 2, portstatus 101, change 0, 12 Mb/s hub.c: port 2, portstatus 101, change 0, 12 Mb/s hub.c: port 2, portstatus 101, change 0, 12 Mb/s hub.c: port 2, portstatus 103, change 10, 12 Mb/s hub.c: USB new device connect on bus1, assigned device number 2 usb.c: kmalloc IF c3f81480, numif 1 usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3 usb.c: USB device number 2 default language ID 0x409 Manufacturer: D-LINK CORPORAION Product: DUB-E100 SerialNumber: 01 usb.c: unhandled interfaces on device So it appears to be working as a USB host cable. Does the real USB host cable not generate any messages at all? |
|
|
|
Mar 26 2006, 12:37 PM
Post
#7
|
|
![]() Group: Members Posts: 693 Joined: 4-June 04 From: Ohio Member No.: 3,570 |
|
|
|
|
Mar 27 2006, 12:18 AM
Post
#8
|
|
![]() Group: Members Posts: 332 Joined: 6-June 04 From: Hannover, Germany Member No.: 3,587 |
Hi all,
the best of the USB-OTG specification is the color-coding. Looking at the color of the jack/plug you can see what type it is: Jack: Black = Client (like a camera) Gray = Client/Host capable (Zaurus) White = Host only (like SL-6000) Plug: Black = Client cable White = Host cable ///TRIsoft Marc Stephan |
|
|
|
Mar 27 2006, 11:03 AM
Post
#9
|
|
![]() Group: Members Posts: 693 Joined: 4-June 04 From: Ohio Member No.: 3,570 |
QUOTE(TRIsoft @ Mar 26 2006, 11:18 PM) Hi all, the best of the USB-OTG specification is the color-coding. Looking at the color of the jack/plug you can see what type it is: Jack: Black = Client (like a camera) Gray = Client/Host capable (Zaurus) White = Host only (like SL-6000) Plug: Black = Client cable White = Host cable ///TRIsoft Marc Stephan I've never seen a color other than grey in the stores. Though to be honest, I've never seen a usb otg device. The last cable I had was one of the gold-x cables that I hacked to be about 4 inches long that I kept in my Z's pouch. |
|
|
|
Mar 27 2006, 05:21 PM
Post
#10
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(BarryW @ Mar 28 2006, 05:03 AM) QUOTE(TRIsoft @ Mar 26 2006, 11:18 PM) Hi all, the best of the USB-OTG specification is the color-coding. Looking at the color of the jack/plug you can see what type it is: Jack: Black = Client (like a camera) Gray = Client/Host capable (Zaurus) White = Host only (like SL-6000) Plug: Black = Client cable White = Host cable ///TRIsoft Marc Stephan I've never seen a color other than grey in the stores. Though to be honest, I've never seen a usb otg device. The last cable I had was one of the gold-x cables that I hacked to be about 4 inches long that I kept in my Z's pouch. yep, they are all white except the gold x one http://users.on.net/~hluc/myZaurus/myUSBHub.jpg |
|
|
|
Mar 27 2006, 07:00 PM
Post
#11
|
|
|
Group: Members Posts: 106 Joined: 27-February 06 Member No.: 9,243 |
Well, this particular adaptor that appears to function as a USB host cable is grey, same color as all the other adaptors in the kits.
The good news is the USB host cable that was supposed to come with my Zaurus (but was backordered) finally arrived. So the question is moot now. It does generate similar dmesg output to the mystery adaptor (yes, it's detected as a hub with two ports!) Anyway, it looks like these USB OTG adaptors are more common than you might think, even if they are colored wrong and unlabeled as such. Mine came in a cheap universal USB cable kit I got at big lots. It's not the same kit Walgreens sells. |
|
|
|
Mar 28 2006, 12:05 AM
Post
#12
|
|
![]() Group: Members Posts: 332 Joined: 6-June 04 From: Hannover, Germany Member No.: 3,587 |
Hi all,
looks like some misunderstanding. What i mean (and what's in the specs) is the color of the plastic at the inside of the jack/plug where the contacts are located. Check a Zaurus (grey inside, because host+client), look at the Zaurus PC cable (black inside, because client cable), look a host cable (white inside). That's it. ///TRIsoft Marc Stephan |
|
|
|
Mar 28 2006, 12:44 AM
Post
#13
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
I have the Walgreens kit, and what Marc said applies to my kit.
The host fitting has white plastic inside where the contacts are. The other one, (I call it a sync fitting), is has black plastic inside where the contacts are. My Palm sync cable, is also black on the inside. I recived 2 "Host" cables from StreamlineCPUs when I ordered my SL-C3100, and the inside plastic is also white. The shape also gives them identification, if you look at it under a good light. Also, it's hard to remember, just by the shape of the plug. (That pic I attached above is the only pic I had. I don't have a "good" digital camera) Jon |
|
|
|
Apr 1 2006, 04:40 AM
Post
#14
|
|
|
Group: Members Posts: 271 Joined: 19-June 03 From: Beijing,China Member No.: 156 |
QUOTE(TRIsoft @ Mar 28 2006, 04:05 PM) Hi all, looks like some misunderstanding. What i mean (and what's in the specs) is the color of the plastic at the inside of the jack/plug where the contacts are located. Check a Zaurus (grey inside, because host+client), look at the Zaurus PC cable (black inside, because client cable), look a host cable (white inside). That's it. ///TRIsoft Marc Stephan Cool! How do you know this? Specification covers? Thanks. |
|
|
|
Apr 1 2006, 08:50 AM
Post
#15
|
|
![]() Group: Members Posts: 332 Joined: 6-June 04 From: Hannover, Germany Member No.: 3,587 |
Hi Chyang,
QUOTE(chyang @ Apr 1 2006, 01:40 PM) How do you know this? Specification covers? the color coding is indeed part of the specification. Go to http://www.usb.org/developers/onthego/. This is the source for all USB-OTG related things. In the download section (scroll down) get the file "OTG Supplement (zip, 2.27 MB) - Revision 1.0a, 07-09-2003" You'll find it on page 18, paragraph 4.3 "Color Coding" ///TRIsoft Marc Stephan |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 07:18 AM |