View Single Post
Posts: 306 | Thanked: 566 times | Joined on Jan 2010 @ Romania
#813
Originally Posted by egoshin View Post
OK, some success (at least I think so).

I used a wall-powered hub with USB memory stick and external USB hard drive. I applied 3.5V from TWL4030 to VBUS and set Host mode of operations in ARM CPU USB.

The result - in both cases a lot of communications (TX interrupts but no RX - ?) and finally the message -

Nokia-N900-42-11 kernel: [...] usb 1-1: device v04b4 p6560 is not supported <---- this is for USB Hub with USB memory stick

Nokia-N900-42-11 kernel: [...] usb 1-1: device v0bc2 p3000 is not supported <---- this is for USB hard disk.

EDIT: verified via SuSE notebook - Hard Disk is 0bc2:3000 Seagate RSS LLC, and HUB - 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"

Taking into account the different Vendor (v*) and Product (p*) values and the very remarkable Product value for HDisk - p3000, I assume that it is values read from devices.


I looked briefly in code - yes, there is no support for that kind of devices. But it should be supported via device class - hub at least for sure. So, some software debug print is needed to find out the whole info from device... tomorrow.
your hub is well known usb.id
http://mxr.maemo.org/fremantle/sourc...ls/usb.ids#951
but hdd is not
AFIK usb devices attached to an otg or embedded host controller should be in a list named "Targeted Peripheral List"
http://mxr.maemo.org/fremantle/sourc...b/otg/otg.c#75

did you recognize this ?

164 /* OTG MESSAGE: report errors here, customize to match your product */
165 dev_err(&dev->dev, "device v%04x p%04x is not supported\n",
166 le16_to_cpu(dev->descriptor.idVendor),
167 le16_to_cpu(dev->descriptor.idProduct));
168
169 return 0;


you touch otg state machine

Last edited by blue_led; 2010-05-10 at 20:54.
 

The Following 4 Users Say Thank You to blue_led For This Useful Post: