View Single Post
Posts: 18 | Thanked: 9 times | Joined on Aug 2010
#242
Originally Posted by Estel View Post
It MAY be the same problem cheve had with mounting - being too hasty. until i learned to click "VBUST ON" 2-3 seconds after plugging cable, and "Enumerate" after another 6-7 seconds, many times i get same errors.

Also, remember to always unplug device (be it HUB, stick, mouse, whatever) from N900 before trying to start from scratch. Cable and adapter can sit on N900, but nothing can be connected to them. You can connect anything only after setting speed (then, do not exceed 3-4 seconds before You click VBUS ON, but also don't do it 0.1 second after plugging device - not too late, not too early), otherwise you get exact same errors. At least, that is in my case, always, 100% reproduceable.
Hmmm... I tried this with a new powered USB hub with my keyboard+mouse, but no luck. What's strange is that the keyboard and mouse work fine by themselves when not through a hub.

Here is dmesg output after a failed attempt and also a success with just the mouse:

Code:
[115066.722564] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2
[115071.094238] twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 1
[115071.361694] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2
[115081.727203] Forced hostmode error: no device attached
[115081.727264] usb usb1: usb resume
[115081.750335] hub 1-0:1.0: hub_resume
[115081.750396] hub 1-0:1.0: port 1: status 0301 change 0001
[115081.860473] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
[115081.860534] hub 1-0:1.0: port 1, status 0301, change 0000, 1.5 Mb/s
[115081.984863] usb 1-1: new low speed USB device using musb_hdrc and address 96
[115086.984893] usb 1-1: khubd timed out on ep0in len=0/64
[115088.747558] twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 1
[115088.748199] regulator_disable: not in use by this consumer
[115088.748229] regulator_disable: not in use by this consumer
[115091.985260] usb 1-1: khubd timed out on ep0in len=0/64
[115092.110046] usb 1-1: device descriptor read/64, error -19
[115092.344238] usb 1-1: device descriptor read/64, error -19
[115092.516143] hub 1-0:1.0: port 1 not reset yet, waiting 50ms
[115092.578582] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115092.789581] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115093.000518] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115093.000549] hub 1-0:1.0: port_wait_reset: err = -16
[115093.000579] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115093.212341] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115093.422424] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115093.633483] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115093.633514] hub 1-0:1.0: port_wait_reset: err = -16
[115093.633544] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115093.844177] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115094.055572] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115094.266296] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115094.266326] hub 1-0:1.0: port_wait_reset: err = -16
[115094.266357] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115094.477264] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115094.688171] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115094.899078] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115094.899139] hub 1-0:1.0: port_wait_reset: err = -16
[115094.899169] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115095.110046] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115095.320892] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115095.537231] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115095.537292] hub 1-0:1.0: port_wait_reset: err = -16
[115095.537322] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115095.537353] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[115095.594207] hub 1-0:1.0: port 1 not reset yet, waiting 50ms
[115095.656707] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115095.867584] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115096.078552] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115096.078582] hub 1-0:1.0: port_wait_reset: err = -16
[115096.078582] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115096.289428] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115096.500579] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115096.711334] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115096.711364] hub 1-0:1.0: port_wait_reset: err = -16
[115096.711395] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115096.922393] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115097.133239] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115097.344146] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115097.344177] hub 1-0:1.0: port_wait_reset: err = -16
[115097.344207] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115097.555175] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115097.766082] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115097.977264] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115097.977325] hub 1-0:1.0: port_wait_reset: err = -16
[115097.977355] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115098.187988] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115098.399108] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115098.609924] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115098.609954] hub 1-0:1.0: port_wait_reset: err = -16
[115098.609985] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115098.610015] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[115098.672424] hub 1-0:1.0: port 1 not reset yet, waiting 50ms
[115098.735046] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115098.945770] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115099.156860] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115099.156890] hub 1-0:1.0: port_wait_reset: err = -16
[115099.156921] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115099.367675] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115099.578765] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115099.789581] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115099.789611] hub 1-0:1.0: port_wait_reset: err = -16
[115099.789642] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115100.000427] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115100.211669] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115100.422668] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115100.422698] hub 1-0:1.0: port_wait_reset: err = -16
[115100.422729] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115100.633514] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115100.844360] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115101.055145] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115101.055206] hub 1-0:1.0: port_wait_reset: err = -16
[115101.055236] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115101.266143] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115101.477325] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115101.688232] hub 1-0:1.0: port 1 not reset yet, waiting 200ms
[115101.688262] hub 1-0:1.0: port_wait_reset: err = -16
[115101.688293] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115101.688323] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[115101.688415] hub 1-0:1.0: unable to enumerate USB device on port 1
[115101.688476] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[115101.688537] hub 1-0:1.0: port 1 enable change, status 00000301
[115104.289550] hub 1-0:1.0: hub_suspend
[115104.289642] usb usb1: bus auto-suspend
[115105.623199] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2
[115110.182006] twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 1
[115121.703704] slide (GPIO 71) is now open
[115172.261596] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2
[115173.784454] usb usb1: usb resume
[115173.805023] hub 1-0:1.0: hub_resume
[115173.805084] hub 1-0:1.0: port 1: status 0301 change 0001
[115173.914672] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
[115173.914794] hub 1-0:1.0: port 1, status 0301, change 0000, 1.5 Mb/s
[115174.039611] usb 1-1: new low speed USB device using musb_hdrc and address 100
[115174.190979] usb 1-1: skipped 1 descriptor after interface
[115174.191497] usb 1-1: default language 0x0409
[115174.193450] usb 1-1: uevent
[115174.193634] usb 1-1: usb_probe_device
[115174.193695] usb 1-1: configuration #1 chosen from 1 choice
[115174.195739] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[115174.196075] usb 1-1:1.0: uevent
[115174.196350] usbhid 1-1:1.0: usb_probe_interface
[115174.196380] usbhid 1-1:1.0: usb_probe_interface - got id
[115174.213684] input: PS/2+USB Mouse as /class/input/input6
[115174.273864] generic-usb 0003:04F3:0212.0003: input: USB HID v1.11 Mouse [PS/2+USB Mouse] on usb-musb_hdrc-1/input0
[115174.274810] /home/builder1/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/core/inode.c: creating file '100'
[115174.275512] usb 1-1: New USB device found, idVendor=04f3, idProduct=0212
[115174.275543] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[115174.275573] usb 1-1: Product: PS/2+USB Mouse
[115174.275573] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[115174.275634] hub 1-0:1.0: port 1 enable change, status 00000303
[115179.323333] twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 1
[115224.234832] slide (GPIO 71) is now closed