Author Topic: Fighting The Usb Mini-a Shortage...  (Read 9560 times)

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Fighting The Usb Mini-a Shortage...
« on: December 06, 2006, 10:49:58 pm »
What I really need for my 3100 are three different retractable cables.

1) A plug to mini-B
2) mini-A to A socket
3) mini-A to mini-B

The first one is readily available on Ebay. The other two are mythical creatures of legendary myth.

However, I can build them myself if I have some mini-A plugs...

Crap.

Mini-A plugs are even more mythical and legendary than the legendary and mythical cables they grow on.

But mini-B plugs are a lot easier (and cheaper) to come by, even if it means harvesting them from other cables. Can a mini-B plug be coerced into acting like a mini-A? Yes!

There are two functional differences between the mini-B and the mini-A plug:

1) The plug shape is different, so a mini-A plug will only go into sockets that support usb host.
2) The ID pin of the mini-A plug is shorted to ground. On the mini-B this pin is unconnected.

Also, mini-A plugs have white overmoulds, whereas mini-B's are black.

The first difference isn't a problem, since I can trust myself to only ever put the modified plugs into my Z. However I will be using white heatshrink on the modified plugs as a reminder to their new function.

The second difference requires some work to short the ID and ground pins on the mini-B plug. Lucky for us they are next to each other.

My first attempt used conductive silver paint; I just poked some down between the pins with a suitable instrument, made sure there was a connection, then plugged it into my Z. The Z turned off immediately. (!!) After verifying that my Z was undamaged (and allowing my heartrate to get back to normal), I did some reading of the USB standard. Apparently the ID pin needs less than 10ohms between it and ground, and the silver paint just wasn't conductive enough to do the job.

Therefore the only option was to rip apart the mini-B connector and do the mod the right way - with a soldering iron and a manic gleam in my eye.

You will also need: scalpel/stanley knife/hobby knife, pliers, small flathead screwdriver, solder, reckless disregard for life and limb.

Remove the overmould by using the knife to slice down the seams, and then a bit of muscle power to pull it apart. Hold the plug in one hand with cable facing away from you, then press the point of the blade into the plastic with the blade also away from you and the blunt edge parallel to the connector. This way you can't hurt yourself or the plug if the blade gets away from you.
If you only need to open one side then great; but I had to slice down both sides of the mould. Leave some plastic on one side holding the two sides together like a lopsided clamshell, you will find it easier to reassemble later if it is still in one piece.



Things may be slightly different on other connectors, but with the overmould removed I found a two-piece metal box with the plug on the end.



Use pliers to open up the stress relief at the end of the cable.



Use the small screwdriver or pliers to gently pry apart and remove half of the metal casing.



A bit more prying of the second half to release the plastic block, and the plug will slide out in the direction of the cable.

Now you can see the pins; in this photo (taken after the mod) the two pins to bridge are at the top. You want to connect them as far away from the end of the plug as possible; that way any bumps will be less likely to affect the socket.



Edit: I've since come up with a slightly less horrible (but still annoying) method for this step. Instead of soldering the pins together on the plug side, which is still detailed below, you can get at the pins from the wire side. The catch is they are embedded in that big rubber block. You can tell it's not the same moulded plastic as the rest of the plug, it's been poured into the metal box after assembly and let set before the overmould is done.

Pliers and the knife will get it off. Take your time; it's tough and flexible so it really doesn't want to cut or tear, and it was poured in as a liquid so it is around and between all the wires. You don't want to cut a wire or pull any of the pins out of the plug, but you really have to apply some force to get the wretched stuff to come away.

Once it's gone you should see the solder terminals for the pins; four of which go to the wires and one which is unconnected. Solder a short wire between the unconnected pin and the ground pin next to it.


Original method is below:
{
Now for the disclaimer (ha!) Everything will go horribly wrong when you try to solder the pins together.

1) You will push at least one hot pin through the thin plastic of the plug and have a rotten time trying to pry it back out, and may even ruin the plug completely in the attempt.
2) You will make a perfect low-profile solder bridge across two pins. Pity they won't be the right ones, and you will risk point 1 happening while you try to clean up the errant solder.
3) You will bend a pin or two upwards and find it impossible to get them to lay perfectly flat again.
4) When you finally get a workable bridge between the right pins it will not be far enough away from the end of the plug and it won't go into the socket properly.

Use your knife to shave away at the solder bridge until it's nearly flush with the pins. The solder is soft, so you can do this easily enough. But don't go too deep! Also run the knife gently between the other pins to make sure there aren't any other shorts, and blow out any remaining solder flakes.
}


Slide the plug back into the metal surround and try plugging it into the Z (make sure it's off first!) You should not need to force the plug in; if it resists take it back out and try to flatten out the solder and the pins more.

With the Z on, plug your modded cable into the Z and run "lsusb" in a console. If the plug is working, you will see "Bus 001 Device 001". The following photo shows the output of lsusb before and after inserting the plug:



Reassemble the plug. If you used the new method and removed the rubber block, make sure the wires don't short out against the metal box. Or you can do what I did, which was to put the plug in the first half of the metal box and use it as a mould to pour in some liquid electrical tape. Leave it to set for a while. I didn't wait for it to properly set (probably takes days in a blob like this) and just reassembled the other half of the box around it.

Make sure the box locks back together again snugly. Use the pliers to reassemble the stress relief - the long fingers from one side of the box should go over the shorter finger from the other side, locking the pieces together and holding the cable firmly.

Cut a piece of white heatshrink the length of the overmould, and thread it onto the cable. The piece I used was marked as being 10mm diameter, although you can't measure that easily. Flatten the tube and measure it crease to crease; it should be ~16mm. (Which a bit of math shows is pretty darn close to 10mm diameter.)



Put the overmould back onto the plug (which will be easier if you kept it in one piece) and slide the heatshrink up to keep it together. It was a very tight fit on mine.



With a hot air gun or other tool (even a toaster can be used in a pinch), shrink the heatshrink. Since it was already a tight fit over the mould in my case, I needed to hold together the mould using a pair of pliers until after it had cooled - otherwise the warm heatshrink would be stretched out by the mould instead of contracting around tightly.



Now you should test the cable to make sure the plug works... but there's an A plug at the other end of the cable! You can't use that! So, for a final quick and dirty hack you can use this...

 [ Invalid Attachment ]

...ABOMINATION.

I have *no* idea why such a thing was ever manufactured. I doubt the suppliers will ever recoup their costs - as nobody in their right mind would ever buy one. But they're perfect for the purposes of our test.

My cable worked perfectly. I was actually surprised  Now all I need to do is wait for my cheapo ebay retractable cables to arrive and I can start splicing.
« Last Edit: February 24, 2007, 09:07:44 pm by pelrun »
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Fighting The Usb Mini-a Shortage...
« Reply #1 on: December 07, 2006, 12:03:44 am »
(Edit: about the conics cable)

I know. I have one. It's great. But it's not retractable, and it doesn't have a mini-b on the other end, so it doesn't really fulfill my requirements. It's also roughly twice as expensive as a mini-B cable - not counting shipping!
« Last Edit: December 07, 2006, 12:44:41 am by pelrun »
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

tml

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Fighting The Usb Mini-a Shortage...
« Reply #2 on: December 07, 2006, 12:23:14 am »
Searching for "usb otg" or "usb on the go" maybe with an additional "cable" should yield some non-mythical results. Would be less fun though -- if this was your point?  
SL-C3100

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Fighting The Usb Mini-a Shortage...
« Reply #3 on: December 07, 2006, 12:43:49 am »
Yes, I have spent a couple of frustrating hours doing exactly that - the only other cables I've seen have cost even more than the conics one!

You're exactly right about the "fun" part
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Fighting The Usb Mini-a Shortage...
« Reply #4 on: December 07, 2006, 02:37:32 am »
Quote
...ABOMINATION.

actually i have found a use for that connector, or atleast the inverse of it (male A to Male A)

basically i have a power supply that has a usb port on it and no cable, i plug the cable into the charger and then run it to one of the device  sockets on a cheap usb hub, then charge multiple  usb devices from the hub, or if i need a powered usb hub, same thing but i plug my Z into the host port. that way i dont need a power splitter on the Z side to inject power into the hub

i am definattly intrested in this hack however as i have a connector simmilar to above that is thee same with a mmini usb A on one side, its all one molded unit. if i can modify it without pulling iit aapart i think it will be replacing my "gold X" cable (the one with the interchangable heads)
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Fighting The Usb Mini-a Shortage...
« Reply #5 on: February 24, 2007, 09:12:05 pm »
I was just reminded of this post, and I realised I had not updated it with the new method I use. It's kinder to your Z's usb port now.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

ian.finder

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • http://finder.ath.cx/
Fighting The Usb Mini-a Shortage...
« Reply #6 on: March 17, 2007, 07:32:10 pm »
Newer TI calculators come with mini-a to mini-b cables, as they use USB OTG for calc-to-calc connections. Accordingly, they're far from mythical-- in fact I'd say they're the easiest OTG cables to get, if you know what you're looking for.
Workhorse: SL-C1000, pdaXrom beta, Socket bluetooth, SMC wifi
Pampered nerd toy I'm afraid to take out of the box: SL-C3200, running the original ROM until I have some free time.
Sold: SL-5500 (Fun but useless), iPAQ h5555 (My first Linux PDA. Also useless-- CLI work without a keyboard doesn't work too well.)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Fighting The Usb Mini-a Shortage...
« Reply #7 on: March 17, 2007, 08:26:47 pm »
Quote
Newer TI calculators come with mini-a to mini-b cables, as they use USB OTG for calc-to-calc connections. Accordingly, they're far from mythical-- in fact I'd say they're the easiest OTG cables to get, if you know what you're looking for.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
a quick search of Texas Instruments found this USB cable.
[a href=\"http://education.ti.com/educationportal/sites/US/productDetail/us_connectivitycable_minia_minib.html]http://education.ti.com/educationportal/si...inia_minib.html[/url]

But the purchase link takes you to the TI connect kit which is NOT this cable.
« Last Edit: March 17, 2007, 08:31:25 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Ling

  • Sr. Member
  • ****
  • Posts: 350
    • View Profile
    • http://
Fighting The Usb Mini-a Shortage...
« Reply #8 on: March 17, 2007, 09:19:00 pm »
Quote
Quote
Newer TI calculators come with mini-a to mini-b cables, as they use USB OTG for calc-to-calc connections. Accordingly, they're far from mythical-- in fact I'd say they're the easiest OTG cables to get, if you know what you're looking for.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
a quick search of Texas Instruments found this USB cable.
[a href=\"http://education.ti.com/educationportal/sites/US/productDetail/us_connectivitycable_minia_minib.html]http://education.ti.com/educationportal/si...inia_minib.html[/url]

But the purchase link takes you to the TI connect kit which is NOT this cable.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156627\"][{POST_SNAPBACK}][/a][/div]
The picture is not a mini A to mini B either.
SL-C3200 w/ pdaXii13 5.3
SL-C860 w/ OZ GPE 3.4.1
Accessories: 4GB Microdrive, 4GB Transcend SD, Linksys WFC12 CF 802.11b, Ambicom CF Modem, Socket Bluetooth

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Fighting The Usb Mini-a Shortage...
« Reply #9 on: March 18, 2007, 04:57:12 pm »
http://www.lindy.com/uk/catalog/07/02/02d/index.php
closeup of 7.55 pound cable
(I'm in the us and don't know if the word "pound" is used anymore).
http://www.lindy.com/uk/productfolder/03/31/31636/index.php

This is definitely a mini-A to mini-B cable. Look at pic below.

Now if I can only find a retractable version, that would be a nice accessory.
« Last Edit: March 18, 2007, 05:06:49 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

portalgod

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://www.rajeshprakash.com
Fighting The Usb Mini-a Shortage...
« Reply #10 on: May 09, 2007, 05:50:21 pm »
So I'm a bit confused here.   So if I wanted to connect my Z to my desktop to sync I use a mini-B<->male A?   and if I want to host a usb device on my Z i.e. memory stick to Z, I use a mini-A<->female A?

Is that right?   Or should I never be using a mini-B on the Z.
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

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Fighting The Usb Mini-a Shortage...
« Reply #11 on: May 09, 2007, 06:06:22 pm »
Quote
So I'm a bit confused here.   So if I wanted to connect my Z to my desktop to sync I use a mini-B<->male A?   and if I want to host a usb device on my Z i.e. memory stick to Z, I use a mini-A<->female A?

Is that right?   Or should I never be using a mini-B on the Z.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160884\"][{POST_SNAPBACK}][/a][/div]
Use mini B at zaurus end and male A at computer to sync with, or to use your Zaurus as a mass storage device, which will show up on a windows machine as another hard drive, CF card, or SD card, depending what you have selected in "PC Link" on a Sharp/Cacko ROM Zaurus.

Use mini A on zaurus end and female A to connect mice, keyboards, external HDD, or CD-ROM. Note, some devices attached this way may need their own external power, such as a CD-ROM drive.

A third option would be a mini A at the zaurus, and a mini B into a camera. So as to access the camera from the Zaurus.
I have also hooked up my Palm Zire 72 this way, and it is recognized in USB in system info as a Palm device. I haven't figured out how to use this though.
« Last Edit: May 09, 2007, 06:18:06 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Drake01

  • Full Member
  • ***
  • Posts: 226
    • View Profile
Fighting The Usb Mini-a Shortage...
« Reply #12 on: May 09, 2007, 09:19:00 pm »
Quote
I have also hooked up my Palm Zire 72 this way, and it is recognized in USB in system info as a Palm device. I haven't figured out how to use this though.[div align=\"right\"][a href=\"index.php?act=findpost&pid=160885\"][{POST_SNAPBACK}][/a][/div]
This reminds me of something I've been thinking about doing.  I tend to not carry my Zaurus with me everywhere, like I used to do with my old PDA.  I miss having my PIM apps available.  I was thinking about upgrading my phone to a model that can store appointments and more comprehensive contact info than just names + numbers.  I would be using this strictly as a reference while I maintain the "live" version on my Zaurus, where I'd make edits and such.

Has anybody done anything similar?  Basically, I'm looking to upload (not even sync, necessarily) info to the phone so that I can quickly view it.  I don't need a really sophisticated phone and will not be upgrading to a Blackberry-type device, as I intend to manage this data on the Zaurus side.  I'm not even sure if the Zaurus can perform this kind of operation with a phone.  Is this idea even feasible?
Device: SL-C3200 running pdaXii13v2 build 5.5.0
Networking: Symbol Spectrum24 WLAN card; Kingston CIO10T CF NIC
Storage: 4GB Transcend 150x SD; 16GB Transcend 133x CF; 4GB Seagate CF HDD; 4GB Patriot SD
HID: Logitech V450 Laser Mouse; generic silicone USB keyboard; 2 generic optical mice; stock plastic stylus
GPS: generic "UT-41" USB GPS Receiver
Case: neoprene case from my old Palm foldable keyboard

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Fighting The Usb Mini-a Shortage...
« Reply #13 on: August 06, 2007, 11:33:44 am »
Well retractable is not something you can make at home but this is what you can do at home ... and I have done it:
1) is avalible in those cheep USB kits as small adapters with no cable
2) I made one like 1) from scrap ... it's so short that I soldered the tail (where the wire should be crimped) on the body od the A socket
3) is made from 1) + 2)

Ok it's not rectactable and the 2) looks very home made but it works and it's small.
The thing you haveto be carefull with is if you knock your usb dongle on something while
it;s plugged into your Z by a non flexible adapter like the one described above ... you could damage the dongle/adapter or even worse the Z itself.
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