The Following User Says Thank You to For This Useful Post: | ||
|
2011-05-25
, 22:31
|
Posts: 18 |
Thanked: 9 times |
Joined on Aug 2010
|
#242
|
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.
[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
|
2011-05-25
, 22:38
|
Posts: 18 |
Thanked: 9 times |
Joined on Aug 2010
|
#243
|
|
2011-05-26
, 02:22
|
Posts: 18 |
Thanked: 9 times |
Joined on Aug 2010
|
#244
|
1. start hostmode as normal, select speed, vbus, enumerate, mount if You connected storage media...
2. without disabling HEN, open xterm and use:
boostoff
3. Next, do (in case that Your charging script is renamed to "charger" and put into root directory):
/charger
script will start its job... From my experience, if second output is like:
Status: 0x10 Mode: CHARGING Full: 0 WallCharger: 0 Battery Voltage: 4150 NAC: 1987 Battery level: 97 %
But, if Your second line in output after executing "/charger" is like:
Status: 0x20 Mode: STANDBY Full: 0 WallCharger: 0 Battery Voltage: 3967 NAC: 1999 Battery level: 97 %
...then you need to press ctrl+c (that will stop script and allow You to type in same terminal window again) and execute:
/charger
...again. This time You're done for sure.
Last but not least, Your question about externally-powered things, like hard disc. I suppose that you know about "y-cable" thing to charge while hostmode, OR - method that i prefer - USB 2.0 active HUB (this way You DON'T need "y-cable"). Then, if your HDD or CD/DVd is powered externally by own power supply - that doesn't matter for charging while hostmode at all. HDD use own power, and Your N900 use Y-cable power or active HUB power.
|
2011-05-26
, 16:02
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#245
|
|
2011-05-26
, 21:02
|
Posts: 7 |
Thanked: 0 times |
Joined on May 2011
@ india
|
#246
|
|
2011-05-27
, 13:51
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#247
|
The Following User Says Thank You to Estel For This Useful Post: | ||
|
2011-05-27
, 15:48
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#248
|
Yea, active hub SHOULD mean powered HUB - I use "should" because with so much designs and sometimes, pseudo-designs, You can never be sure. anyway, in 99% powered hubs, You will also get power on line connected to N900 - not so much possibility for manufacturers to limit that, would require very complicated circuit and probably conflict with device power-on-port discovery - so N900 should charge.
It's indeed strange that Your devices stop working when You try to use charger script. Maybe Your power supply can't provide enough current to power both keyboard/mouse and N900? Its strange a little, because mouse and keyboard don't need much power.
The Following User Says Thank You to joerg_rw For This Useful Post: | ||
|
2011-05-28
, 20:30
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#249
|
|
2011-05-29
, 10:07
|
Posts: 7 |
Thanked: 0 times |
Joined on May 2011
@ india
|
#250
|
First of all, are You sure that in this specific case, You don't need external power supply? As it was mentioned in HEN wiki and many posts, N900 can provide only 200 mA of current, where Your laptop (or any "regular" computer" port) is capable of putting 500 mA.
Thats the case, why many power-hungry peripherals that work fine on desktop/laptop need powered hub or Y-cable on N900.
also, You may want to read cheve feedback few posts before - he succeed getting his HD to work by just slowing down mounting process (that's probably unrelated, but worth try)
---
Side note - and thats only my personal opinion - if You consider using less "luser like" shortcuts in Your posts, it would be much easy to read them
Tags |
awesome!, bada rox, h-e-n hostmode, more noise |
|
Unable to install 'h-e-n (USB Hostmode GUI)' conflicting application packages.
when I click on details I got:
kernel-modules-maemo