Author Topic: How To Identify Usb Host Cable?  (Read 18310 times)

Viking

  • Newbie
  • *
  • Posts: 15
    • View Profile
How To Identify Usb Host Cable?
« Reply #15 on: April 13, 2006, 11:02:58 am »
some technical note:
the mini usb connector uses 5 contacs
(
 the normal "bigger" connector uses 4 contacts
2 for power/ground
2 for signals
)

the mini usb connetor uses
2 for power
2 for signals
and one magic conntact
this conntact is not used on dump cable-changers
but on hostcabels its wired ( maybe with resistor) to ground ( i am not shure if its ground
 or power, but it is linked  with some outside connector )
so its possible for the usbdriver to check if there is an hostcable by asking the state of this magic pin.
if it is an hostcable the driver turns power on and start useing it as host.
if this magic pin has no connection then the driver uses client mode.

so its possible to use any adaptor-cable  by overrideing the driver function asking the state of the pin. ATTENTION !! this DESTROY your zaurus if you connect to an PC and switch in hostmode ....... ( i think .. i nerver tried it ... so my zaurus lives )

but you can also use some measure device and small needel s to check
if your adaptercable has wired ( mybe with resistor ) pins between 1-2 or 4-5
( depends how you are counting )

if it is wired you got an hostcable
if not its and dump changer ...

ih hope this helps
SL-C1000 openzaurus 3.5.4
SL-C3200 openzaurus 3.5.4 /debian testing
2.6.17-26

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
How To Identify Usb Host Cable?
« Reply #16 on: April 13, 2006, 09:03:25 pm »
Quote
some technical note:
the mini usb connector uses 5 contacs
(
 the normal "bigger" connector uses 4 contacts
2 for power/ground
2 for signals
)

the mini usb connetor uses
2 for power
2 for signals
and one magic conntact
this conntact is not used on dump cable-changers
but on hostcabels its wired ( maybe with resistor) to ground ( i am not shure if its ground
 or power, but it is linked  with some outside connector )
so its possible for the usbdriver to check if there is an hostcable by asking the state of this magic pin.
if it is an hostcable the driver turns power on and start useing it as host.
if this magic pin has no connection then the driver uses client mode.

so its possible to use any adaptor-cable  by overrideing the driver function asking the state of the pin. ATTENTION !! this DESTROY your zaurus if you connect to an PC and switch in hostmode ....... ( i think .. i nerver tried it ... so my zaurus lives )

but you can also use some measure device and small needel s to check
if your adaptercable has wired ( mybe with resistor ) pins between 1-2 or 4-5
( depends how you are counting )

if it is wired you got an hostcable
if not its and dump changer ...

ih hope this helps
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123028\"][{POST_SNAPBACK}][/a][/div]

I would be very careful with doing this. In host mode, the Z is expected to provide power while in client mode, the host pc will provide power to the Z which it is not supposed to accept, because if it does, it fries  If you really can't find a host cable, then you are better off hacking a normal cable and connecting the magic pin. There is plenty of guides online with picture illustrations showing how this can be done. I would advise not to change the behaviour in the driver/software code since accidents may happen and you can accidentally switch mode or worst, misconfigured hotplug mechanism does it for you and suddenly, your Z is smoking.
« Last Edit: April 13, 2006, 09:07:37 pm by Meanie »
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

Viking

  • Newbie
  • *
  • Posts: 15
    • View Profile
How To Identify Usb Host Cable?
« Reply #17 on: April 14, 2006, 11:35:41 am »
Quote
I would be very careful with doing this. In host mode, the Z is expected to provide power while in client mode, the host pc will provide power to the Z which it is not supposed to accept, because if it does, it fries  If you really can't find a host cable, then you are better off hacking a normal cable and connecting the magic pin. There is plenty of guides online with picture illustrations showing how this can be done. I would advise not to change the behaviour in the driver/software code since accidents may happen and you can accidentally switch mode or worst, misconfigured hotplug mechanism does it for you and suddenly, your Z is smoking.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123125\"][{POST_SNAPBACK}][/a][/div]

I said this with ATTENTION !!!!!

and mentioned that this will kill the zaurus.
( connectiong to an 6 Volts powered hup is also a bad thing )

but for detecting if an plugcable  is host or for  client use, its very easy to measure it
with an multimeter ....
SL-C1000 openzaurus 3.5.4
SL-C3200 openzaurus 3.5.4 /debian testing
2.6.17-26

beresmed

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
How To Identify Usb Host Cable?
« Reply #18 on: July 03, 2006, 03:30:19 pm »
I have Zaurus C1000 and i need USB host cable. I can buy this USB cable pack from Sweex, but i don't know it contains USB host cable?

Is USB host cable = cable with USB mini 5 pin connector?

http://www.sweex.com/product.asp?pId=479
http://www.sweex.com/product.asp?pid=479&s=0

Regards,
Toni
SL-C1000, Cacko ROM v1.23,
D-Link DCF-650BT, Linksys WCF12
SD card 512MB, PDAIR case, pentopia stylus, ultra clear Brando screen-protector,

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
How To Identify Usb Host Cable?
« Reply #19 on: July 03, 2006, 05:16:26 pm »
Quote
I have Zaurus C1000 and i need USB host cable. I can buy this USB cable pack from Sweex, but i don't know it contains USB host cable?

Is USB host cable = cable with USB mini 5 pin connector?

http://www.sweex.com/product.asp?pId=479
http://www.sweex.com/product.asp?pid=479&s=0

Regards,
Toni
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133789\"][{POST_SNAPBACK}][/a][/div]

it's probably a mini b which is also 5 pin
chances are if it does not mention mini a, then it is not a mini a
besides, mini a should have a white enclosing but not everyone is following this standard
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

Tom61

  • Sr. Member
  • ****
  • Posts: 252
    • View Profile
How To Identify Usb Host Cable?
« Reply #20 on: July 03, 2006, 05:17:03 pm »
Quote
I have Zaurus C1000 and i need USB host cable. I can buy this USB cable pack from Sweex, but i don't know it contains USB host cable?

Is USB host cable = cable with USB mini 5 pin connector?

http://www.sweex.com/product.asp?pId=479
http://www.sweex.com/product.asp?pid=479&s=0

Regards,
Toni
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133789\"][{POST_SNAPBACK}][/a][/div]

The USB host adapter is mini 4 pin type A male to 4 pin type A female. I'm not sure if this includes the right adapter, as the image is far too small to make out the adapter. It likely does, but I cannot be positive.

portalgod

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://www.rajeshprakash.com
How To Identify Usb Host Cable?
« Reply #21 on: May 10, 2007, 02:13:14 pm »
Quote
Quote
I have Zaurus C1000 and i need USB host cable. I can buy this USB cable pack from Sweex, but i don't know it contains USB host cable?

Is USB host cable = cable with USB mini 5 pin connector?

http://www.sweex.com/product.asp?pId=479
http://www.sweex.com/product.asp?pid=479&s=0

Regards,
Toni
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133789\"][{POST_SNAPBACK}][/a][/div]

The USB host adapter is mini 4 pin type A male to 4 pin type A female. I'm not sure if this includes the right adapter, as the image is far too small to make out the adapter. It likely does, but I cannot be positive.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133796\"][{POST_SNAPBACK}][/a][/div]


Just as a confirmation, i bought the 6:1 kit from Walgreens and the connectors work like a charm.  Unfortunately now I've got a 6 foot USB Host cable, where I need to plug in my 6ft cable USB GPS.   I walk around with a Z in one hand and 12 feet of wire in the other
SL-C1000 w/pdaXii13 Akita (base) + select apps
4GB Transcend 150x SD, 4GB Transcend 120x CF
Planex gw-cf11x CF Wi-Fi, Buffalo CF LAN
UT-41 USB GPS
Misc other SD and CF cards

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
How To Identify Usb Host Cable?
« Reply #22 on: July 20, 2007, 08:26:07 am »
If anyone is stuck and likes to take the risk of making a homebrew one I've documented how to make a normal mini-b plug into a mini-a plug.
I've posted somewhere on OESF about it and it's documented on my home page.

Since the documentation I've also made one very much shorted (so short that the metal shealding od the connectors are soldered together). It's very neat but be carfull because such a short one fas no flexibility ... a usb dongle will stick out a lot from the back of the Z and if you knock it anywhere you may damage the Z.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing