The Following 2 Users Say Thank You to blue_led For This Useful Post: | ||
|
2010-05-19
, 18:01
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#892
|
[ 3129.551940] kb_lock (GPIO 113) is now closed [ 3129.716766] kb_lock (GPIO 113) is now open [ 3163.176361] twl4030_set_host() 4030 OTG_CTRL=0x26 [ 3163.176635] twl4030_set_host() after 4030 OTG_CTRL=0x26 [ 3180.815826] usb 1-1: USB disconnect, address 5 [ 3181.091003] usb 1-1: new high speed USB device using musb_hdrc and address 6 [ 3181.240814] usb 1-1: rejected 1 configuration due to insufficient available bus power [ 3181.240844] usb 1-1: no configuration chosen from 1 choice
The Following User Says Thank You to MohammadAG For This Useful Post: | ||
|
2010-05-19
, 18:07
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#893
|
The Following 2 Users Say Thank You to joerg_rw For This Useful Post: | ||
|
2010-05-19
, 18:15
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#894
|
Applied the patches (they only seem to add a kernel message when echoing host), kernel built and flashed.
Raised power output to 5V using joerg_rw's command.
However I still can't get it to work, the flash drive gets rejected.
[code][ 3129.551940] kb_lock (GPIO 113) is now closed
[ 3129.716766] kb_lock (GPIO 113) is now open
[ 3163.176361] twl4030_set_host() 4030 OTG_CTRL=0x26
[ 3163.176635] twl4030_set_host() after 4030 OTG_CTRL=0x26
[ 3180.815826] usb 1-1: USB disconnect, address 5
[ 3181.091003] usb 1-1: new high speed USB device using musb_hdrc and address 6
[ 3181.240814] usb 1-1: rejected 1 configuration due to insufficient available bus power
[ 3181.240844] usb 1-1: no configuration chosen from 1 choice
61 * HP's USB bus-powered keyboard has only one configuration 62 * and it claims to be self-powered; other devices may have 63 * similar errors in their descriptors. If the next test
135 if (insufficient_power > 0) 136 dev_info(&udev->dev, "rejected %d configuration%s " 137 "due to insufficient available bus power\n", 138 insufficient_power, plural(insufficient_power));
The Following 5 Users Say Thank You to joerg_rw For This Useful Post: | ||
|
2010-05-19
, 22:09
|
Posts: 75 |
Thanked: 78 times |
Joined on Jan 2010
@ Germany
|
#895
|
i2c-2 (W): 0x3b, (R) 1 bytes, // read register 0x3b (wraps to 0x03, datasheet states otherwise!) i2c_read: 0x4b // result: Vendor/Part/Revision i2c-2 (W): 0x3b, (R) 1 bytes, // same i2c_read: 0x4b i2c-2 (W): 0x00, (R) 1 bytes, // read status/control register i2c_read: 0x00 // reset state should be x1xx 0xxx (datasheet) i2c-2 (W): 0x00 0x80, // reset safety timer i2c-2 (W): 0x02, (R) 1 bytes, // read control/battery register i2c_read: 0x8c // 3.5V + 700mV i2c-2 (W): 0x02 0x8c, // set control/battery to same value i2c-2 (W): 0x00, (R) 1 bytes, // read status i2c_read: 0x00 i2c-2 (W): 0x00 0x00, // write status i2c-2 (W): 0x01, (R) 1 bytes, // read control register i2c_read: 0x06 // charger disabled, high impedance i2c-2 (W): 0x01 0x06, // set to same value i2c-2 (W): 0x00, (R) 1 bytes, // read status i2c_read: 0x00 i2c-2 (W): 0x01, (R) 1 bytes, // read control register i2c_read: 0x06 // same as above i2c-2 (W): 0x01 0x06, // set to same value again i2c-2 (W): 0x01, (R) 1 bytes, // read again i2c_read: 0x06 i2c-2 (W): 0x01 0x06, // write again
i2c-2 (W): 0x00 0x80, // reset safety timer i2c-2 (W): 0x00, (R) 1 bytes, // read status i2c_read: 0x00 i2c-2 (W): 0x02, (R) 1 bytes, // read control/battery register i2c_read: 0x8c i2c-2 (W): 0x04, (R) 1 bytes, // read battery termination/fast charge current register i2c_read: 0xca // charge current sense voltage = 27.2mV // termination current sense voltage = 6.8mV
|
2010-05-19
, 22:24
|
Posts: 306 |
Thanked: 566 times |
Joined on Jan 2010
@ Romania
|
#896
|
The Following User Says Thank You to blue_led For This Useful Post: | ||
|
2010-05-19
, 22:28
|
Posts: 306 |
Thanked: 566 times |
Joined on Jan 2010
@ Romania
|
#897
|
Applied the patches (they only seem to add a kernel message when echoing host), kernel built and flashed.
Raised power output to 5V using joerg_rw's command.
However I still can't get it to work, the flash drive gets rejected.
Code:[ 3129.551940] kb_lock (GPIO 113) is now closed [ 3129.716766] kb_lock (GPIO 113) is now open [ 3163.176361] twl4030_set_host() 4030 OTG_CTRL=0x26 [ 3163.176635] twl4030_set_host() after 4030 OTG_CTRL=0x26 [ 3180.815826] usb 1-1: USB disconnect, address 5 [ 3181.091003] usb 1-1: new high speed USB device using musb_hdrc and address 6 [ 3181.240814] usb 1-1: rejected 1 configuration due to insufficient available bus power [ 3181.240844] usb 1-1: no configuration chosen from 1 choice
The Following User Says Thank You to blue_led For This Useful Post: | ||
|
2010-05-19
, 22:51
|
Posts: 92 |
Thanked: 13 times |
Joined on Nov 2009
@ leicester UK
|
#898
|
|
2010-05-19
, 23:25
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#899
|
[ 1617.796691] g_nokia gadget: high speed config #1: nokia1 [ 1617.796783] musb_hdrc periph: enabled ep5in for int IN, maxpacket 10 [ 1617.796783] musb_hdrc periph: enabled ep4in for bulk IN, maxpacket 512 [ 1617.796813] musb_hdrc periph: enabled ep4out for bulk OUT, maxpacket 512 [ 1617.796905] musb_hdrc periph: enabled ep7in for int IN, maxpacket 16 [ 1617.824737] musb_hdrc periph: enabled ep6in for bulk IN, maxpacket 512 [ 1617.824768] musb_hdrc periph: enabled ep5out for bulk OUT, maxpacket 512 [ 1619.233032] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? [ 1619.233093] hub 1-0:1.0: unable to enumerate USB device on port 1 # Was experimenting with something, ignore the 2 errors above ^ [ 1645.303344] usb 1-1: new high speed USB device using musb_hdrc and address 12 [ 1645.453826] usb 1-1: configuration #1 chosen from 1 choice [ 1645.551605] scsi2 : SCSI emulation for USB Mass Storage devices [ 1645.590362] usb-storage: device found at 12 [ 1645.590393] usb-storage: waiting for device to settle before scanning [ 1645.838378] input: Western Digital External HDD as /class/input/input4 # No idea what this ^ is for, SpeedEvil suggested it could be for the LEDs on the drive. [ 1645.892456] generic-usb 0003:1058:0705.0001: input: USB HID v1.10 Device [Western Digital External HDD ] on usb-musb_hdrc-1/input1 [ 1645.893554] usbcore: registered new interface driver usbhid [ 1645.893615] usbhid: v2.6:USB HID core driver [ 1650.585540] usb-storage: device scan complete [ 1650.586639] scsi 2:0:0:0: Direct-Access WD 3200BEV External 1.75 PQ: 0 ANSI: 0 [ 1650.619903] sd 2:0:0:0: [sda] 625142448 512-byte hardware sectors: (320 GB/298 GiB) [ 1650.620391] sd 2:0:0:0: [sda] Write Protect is off [ 1650.620422] sd 2:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 1650.620422] sd 2:0:0:0: [sda] Assuming drive cache: write through [ 1650.621154] sd 2:0:0:0: [sda] 625142448 512-byte hardware sectors: (320 GB/298 GiB) [ 1650.621551] sd 2:0:0:0: [sda] Write Protect is off [ 1650.621582] sd 2:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 1650.621582] sd 2:0:0:0: [sda] Assuming drive cache: write through [ 1650.621612] sda: sda1 [ 1650.672180] sd 2:0:0:0: [sda] Attached SCSI disk [ 2936.905181] usb 1-1: USB disconnect, address 12 [ 2937.256347] usb 1-1: new high speed USB device using musb_hdrc and address 13 [ 2937.405853] usb 1-1: configuration #1 chosen from 1 choice [ 2937.405883] usb 1-1: new config #1 exceeds power limit by 100mA [ 2937.435028] scsi3 : SCSI emulation for USB Mass Storage devices [ 2937.473449] usb 1-1: 200mA is over 100mA budget for port 1! [ 2937.473480] hub 1-0:1.0: 100mA over power budget! [ 2937.476623] usb-storage: device found at 13 [ 2937.476623] usb-storage: waiting for device to settle before scanning [ 2942.476196] usb-storage: device scan complete [ 2942.477081] scsi 3:0:0:0: Direct-Access SanDisk U3 Contour 4.04 PQ: 0 ANSI: 2 [ 2942.477539] scsi 3:0:0:1: CD-ROM SanDisk U3 Contour 4.04 PQ: 0 ANSI: 2 # U3 enabled flash drive, the CD-ROM is emulated by the flash drive, it's not an actual CD-ROM, mind you a CD drive might be used with a self powered hub. [ 2942.510925] sd 3:0:0:0: [sda] 16041617 512-byte hardware sectors: (8.21 GB/7.64 GiB) [ 2942.511383] sd 3:0:0:0: [sda] Write Protect is off [ 2942.511413] sd 3:0:0:0: [sda] Mode Sense: 03 00 00 00 [ 2942.511413] sd 3:0:0:0: [sda] Assuming drive cache: write through [ 2942.516235] sd 3:0:0:0: [sda] 16041617 512-byte hardware sectors: (8.21 GB/7.64 GiB) [ 2942.516540] sd 3:0:0:0: [sda] Write Protect is off [ 2942.516540] sd 3:0:0:0: [sda] Mode Sense: 03 00 00 00 [ 2942.516571] sd 3:0:0:0: [sda] Assuming drive cache: write through [ 2942.516601] sda: sda1 [ 2942.530303] sd 3:0:0:0: [sda] Attached SCSI removable disk
The Following 26 Users Say Thank You to MohammadAG For This Useful Post: | ||
andyph666, attila77, azstunt, b-man, Chrome, clasificado, CrashandDie, daperl, Dousan, egoshin, giannoug, gordonshowers, hcm, imperiallight, javispedro, joerg_rw, lcuk, magro, Netweaver, olighak, OVK, qole, S0urcerr0r, sjgadsby, Venemo, zimon |
|
2010-05-20
, 00:48
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#900
|
Tags |
awesomeness in the works, boulevard of broken deals, host, i am the dealbreaker, inspector gadget lies, mobidapter is a scam, nokia fanbois, otg, over 9000, usb, usbcontrol |
Thread Tools | |
|
on N900 vbus power management is broken because it use another asic OUTSIDE tusb6010 for which driver is not written.
on N810 this driver work so somebody must check with a patched driver ( with removed sections of vbus power ) if any device can work without vbus.
after that we can hope n900 will do the same
vbus will and can be a future option in driver / selection mode software
few weeks ago ( beginning of march ) i tried to inject vbus & session_valid on phy asic http://talk.maemo.org/showpost.php?p...&postcount=619 ( i will post a picture with test board )
i never believe the driver and HNP can be so grossly as manual removal of device from pc
i try the same thing as egoshin ( conect / disconect from a hub ) . http://talk.maemo.org/showpost.php?p...&postcount=624 .
tight usb timings blinded me .i have no success because i did not stop ( nasty word here ) bme
Last edited by blue_led; 2010-05-19 at 15:05.