Author Topic: 3000 Usb Host Ports  (Read 8188 times)

Mjolinor

  • Full Member
  • ***
  • Posts: 227
    • View Profile
3000 Usb Host Ports
« on: February 16, 2006, 04:33:09 pm »
The roms I have had on my 3000 all report two USB host ports so I decided to go looking for them. I suspect that these ports come directly from some crappy BGA device specifically designed to make it hard and I can't trace them from the port on the outside to a chip on the inside.

So what I can find is that the USB port goes to the square arrangement shown in one of the attachments. The other attachment is a drawing of the connections to that square that I can work out.

The two at the top left go to the sync plug for USB connection. They are probably the USB client for the synch cable. Is it allowable to ahve a miniB and the synch cable plugged in at the same time?

Any suggestions for tying it down some more looking for this elusive second USB host port?
« Last Edit: February 16, 2006, 04:40:38 pm by Mjolinor »

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
3000 Usb Host Ports
« Reply #1 on: February 16, 2006, 04:58:38 pm »
The PXA270 is a 'system on chip' device. What we may be seeing is the host reporting some of the USB controller capabilities of the PXA270 rather than the supporting hardware that actually implements the bus.

Just a thought.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
3000 Usb Host Ports
« Reply #2 on: February 19, 2006, 02:16:04 am »
The pxa has 3 HOST porhs and 1 client, HOST port 2 and the client can be switched between in software (allowing you HOST one second then CLIENT the next the other two are unbalanced and cannot be used as general perpose USB ports without circutry

that said if you find the others (if they were routed to somwhere else on board) then i can wip you up a schematic to allow you to use it
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

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
3000 Usb Host Ports
« Reply #3 on: February 21, 2006, 12:12:43 pm »
Actually this would be something good to answer on this thread.

Does anyone know the upper limit on power supplied to devices from a Zaurus? either safely or just in terms of reliability?

I'm not suggesting running a USB supplied Kettle, Grill and disco lights off one, however, usbdev -l on OpenBSD reports 100 mA for a typical mouse device and a whopping 300 mA for a Sitecom USB NIC.

-Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

Mjolinor

  • Full Member
  • ***
  • Posts: 227
    • View Profile
3000 Usb Host Ports
« Reply #4 on: February 21, 2006, 12:26:13 pm »
USB specification dictates 500ma or it can't be called USB.

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
3000 Usb Host Ports
« Reply #5 on: February 21, 2006, 12:28:51 pm »
Cool, I saw something on an OpenBSD thread from one of the Zaurus team saying that one NIC in particular HAD to be hung off a powered hub though because the Zaurus couldn't power it properly.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
3000 Usb Host Ports
« Reply #6 on: February 21, 2006, 12:53:35 pm »
The power to OTG port is povided by TOKO's TK3850 5V voltage regulator. Its datasheet specifies peak output current @ 1000mA. There's a way to control the max. output current by using a resistor between PCL terminal and the GROUND. If PCL is wired to the GROUND, then there;s no limit, but it could be dangerous, since in this case there's no over-current protection. I think Sharp decided to play it safe, and they use R = 6.3K, which limit output current to approx. 200mA. By changing it to R = 2K, the limit can be upped to approx. 400-450mA. R = 1K should further up it to approx. 600-650mA, which should be sufficient to drive most wi-fi usb dongles. On the other hand, there might be some technical reason to why to limit it to 200mA?
The TOKO's datasheet specifies dropout as 170mV @ 500mA.
The input voltage comes from VCC 5V power domain which might have its own limitations.

Here's the datasheet: http://www.toko.com.hk/Catalog/semi/linear...ata738xxb-E.pdf

-albertr
« Last Edit: February 21, 2006, 01:02:22 pm by albertr »

Mjolinor

  • Full Member
  • ***
  • Posts: 227
    • View Profile
3000 Usb Host Ports
« Reply #7 on: February 21, 2006, 01:16:23 pm »
OK then with that information do Sharp actually advertise it as a USB host port in the original documentation?

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
3000 Usb Host Ports
« Reply #8 on: February 21, 2006, 01:57:57 pm »
Quote
The power to OTG port is povided by TOKO's TK3850 5V voltage regulator. Its datasheet specifies peak output current @ 1000mA. There's a way to control the max. output current by using a resistor between PCL terminal and the GROUND. If PCL is wired to the GROUND, then there;s no limit, but it could be dangerous, since in this case there's no over-current protection. I think Sharp decided to play it safe, and they use R = 6.3K, which limit output current to approx. 200mA. By changing it to R = 2K, the limit can be upped to approx. 400-450mA. R = 1K should further up it to approx. 600-650mA, which should be sufficient to drive most wi-fi usb dongles. On the other hand, there might be some technical reason to why to limit it to 200mA?
The TOKO's datasheet specifies dropout as 170mV @ 500mA.
The input voltage comes from VCC 5V power domain which might have its own limitations.

Here's the datasheet: http://www.toko.com.hk/Catalog/semi/linear...ata738xxb-E.pdf

-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115605\"][{POST_SNAPBACK}][/a][/div]

Ok, so in lay persons terms the output isn't enough to drive my USB Ethernet Adaptor which is showing...

# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), PXA27x(0x0000), rev 1.00
 port 1 powered
 port 2 addr 2: full speed, power 300 mA, config 1, LN029(0x182d), Sitecom(0x6189), rev 0.01
#

?

-Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
3000 Usb Host Ports
« Reply #9 on: February 21, 2006, 02:12:36 pm »
The max.power that manufactures specify for devices might not be very accurate. Also, the device might not be able to hit its specified peak current consumption under "normal" working conditions. So, there's no simple answer to this question, imho.

All we know is that OTG port on pxa270-based Z's would max. out @ approx. 200mA, but that could be changed by simply replacing the controlling resistor,
-albertr

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
3000 Usb Host Ports
« Reply #10 on: February 21, 2006, 02:19:38 pm »
Quote
The max.power that manufactures specify for devices might not be very accurate. Also, the device might not be able to hit its specified peak current consumption under "normal" working conditions. So, there's no simple answer to this question, imho.

All we know is that OTG port on pxa270-based Z's would max. out @ approx. 200mA, but that could be changed by simply replacing the controlling resistor,
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115614\"][{POST_SNAPBACK}][/a][/div]

or by dragging out that old Belkin powered USB hub that I had stored in a box somewhere, thanks AlbertR, this possibly explains some of the stability problems I was having with this device.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
3000 Usb Host Ports
« Reply #11 on: February 21, 2006, 02:28:13 pm »
Myself is using a realtek8150- based no-name usb nic dongle, which has specified power consumption of 120mA. It works fine on the Z, but I had to tweak its driver somewhat.
-albertr
« Last Edit: February 21, 2006, 02:51:22 pm by albertr »

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
3000 Usb Host Ports
« Reply #12 on: February 21, 2006, 02:28:36 pm »
Quote
The max.power that manufactures specify for devices might not be very accurate. Also, the device might not be able to hit its specified peak current consumption under "normal" working conditions. So, there's no simple answer to this question, imho.

All we know is that OTG port on pxa270-based Z's would max. out @ approx. 200mA, but that could be changed by simply replacing the controlling resistor,
-albertr
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

200mA hey?
I was trying to remember what the max was when I was looking at these in a store:
[a href=\"http://www.x-micro.com/minidisgo.htm]http://www.x-micro.com/minidisgo.htm[/url]
They seem like a nice storage option but they say that they need 500mA (at spin up, I'm guessing) With no option for externel power one would have to get creative to make it work with a Zaurus and without a powered hub.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
3000 Usb Host Ports
« Reply #13 on: February 21, 2006, 02:37:08 pm »
Quote
I'm not suggesting running a USB supplied Kettle, Grill and disco lights off one, however, usbdev -l on OpenBSD reports 100 mA for a typical mouse device and a whopping 300 mA for a Sitecom USB NIC.

-Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115598\"][{POST_SNAPBACK}][/a][/div]

Cool.
I can't seem to find it, is there a command like usbdev in pdaXrom?
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
3000 Usb Host Ports
« Reply #14 on: February 21, 2006, 02:46:14 pm »
So it looks like if you want an external hard drive then it's probably better to go for something like an iPod and run it in disk mode then... that way you are assured that it is self powered.

Hmm, I wonder if an iPod firmware will complain if I put an OpenBSD disklabel on it.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card