View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#894
Originally Posted by MohammadAG View Post
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
please see
61 * HP's USB bus-powered keyboard has only one configuration
ff
in http://mxr.maemo.org/fremantle/sourc...core/generic.c
Code:
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
Code:
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));


[edit]
ok, seems we killed that issue by patching out a few rather useless checks in kernel. Probably MohammadAG will come up with a small and dirty patch eventually. No big thing though. Still the fake hostmode by tricking OTG statemachine, I.E needs laptop to simulate the yet missing switch of PHY to host config (2 pulldowns)
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2010-05-19 at 23:32.
 

The Following 5 Users Say Thank You to joerg_rw For This Useful Post: