The Following 3 Users Say Thank You to joerg_rw For This Useful Post: | ||
|
2010-05-08
, 15:47
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#802
|
The Following 5 Users Say Thank You to egoshin For This Useful Post: | ||
|
2010-05-08
, 15:59
|
Posts: 82 |
Thanked: 214 times |
Joined on Jan 2010
@ Cape town
|
#803
|
The Following 3 Users Say Thank You to cb22 For This Useful Post: | ||
|
2010-05-08
, 16:35
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#804
|
The Following 3 Users Say Thank You to egoshin For This Useful Post: | ||
|
2010-05-08
, 19:32
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#805
|
WARNING! WARNING!
Please don't experiment with stuff which you can find in this thread until you know how to handle the unexpected situations.
Explanation: I just found that N900 TWL4030 may keep settings while N900 is switched OFF. It is pretty obvious (if I think i little) - this chip is powered by battery. I was not able to reboot a kernel which booted yesterday - until I removed battery for 30secs.
Moreover, after that N900 software asked me about date, time, zone something else after that (but it is stll gave me a right advice of these values).
The Following 4 Users Say Thank You to joerg_rw For This Useful Post: | ||
|
2010-05-08
, 22:07
|
Posts: 306 |
Thanked: 566 times |
Joined on Jan 2010
@ Romania
|
#806
|
The Following 3 Users Say Thank You to blue_led For This Useful Post: | ||
|
2010-05-09
, 00:40
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#807
|
The Following User Says Thank You to javispedro For This Useful Post: | ||
|
2010-05-09
, 06:24
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#808
|
The Following 46 Users Say Thank You to egoshin For This Useful Post: | ||
ajax1, anaskr, andree, attila77, b-man, Bec, bunanson, cb22, clasificado, daperl, Dollyknot, EugeneS, frals, freemangordon, fw190, GameboyRMH, gunni, Hmoobwarrior, javispedro, jkq, joerg_rw, lemmyslender, maguitodelrock, Marshall Banana, maxximuscool, mikec, MohammadAG, morusaka, MrGrim, mveplus, mwrf, OVK, Patola, pH5, qole, S0urcerr0r, shapeshifter, sjgadsby, skorbut, SpeedEvil, stlpaul, Stskeeps, thecursedfly, tomaszf, v13 |
|
2010-05-09
, 09:19
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#809
|
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.
/bin/sh -c '/sbin/stop bme && sleep 3 && /usr/local/i2cset -y -m 0x07 2 0x6b 0x01 0x05 && while sleep 28; do /usr/local/i2cset -y -m 0x80 2 0x6b 0x00 0x80; done &'
The Following 17 Users Say Thank You to joerg_rw For This Useful Post: | ||
|
2010-05-09
, 18:15
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#810
|
I like to ask you for a few favours: [LIST=1][*]Please publish the diffs of the patches you made to the kernel, and the exact procedure (echo x >y?) to make that happen.
AIUI it's only a few files like musb_core.c or similar, so you could as well publish the complete file(s) as an attachment to your answer.
Could you repeat the tests as done above, but prior to that you run a 'stop bme', so we find out if annoying bme_RX-51 has its fingers in there in any way. (I could imagine detection of VBUS in/for musb_hdrc somewhat fails without bme)
[*]And finally, maybe you can replace the TWL4030 VBUS boostmode call by a call to bq24150 (or a system() call [man 3 system] to invoke my above posted cmdline like
)Code:/bin/sh -c '/sbin/stop bme && sleep 3 && /usr/local/i2cset -y -m 0x07 2 0x6b 0x01 0x05 && while sleep 28; do /usr/local/i2cset -y -m 0x80 2 0x6b 0x00 0x80; done &'
completely(?) unrelated, here some lines in http://mxr.maemo.org/fremantle/sourc...rx51_defconfig I found interesting or suspicious:
1436 # CONFIG_USB_MUSB_HOST is not set
1487 # CONFIG_USB_SERIAL is not set
1510 CONFIG_USB_TEST=m
1513 CONFIG_USB_GADGET=m
1514 # CONFIG_USB_GADGET_DEBUG is not set
1517 CONFIG_USB_GADGET_VBUS_DRAW=2
1523 # CONFIG_USB_GADGET_OMAP is not set
1540 # CONFIG_USB_G_SERIAL is not set
1544 CONFIG_USB_G_NOKIA=m
1551 # CONFIG_USB_GPIO_VBUS is not set
1553 CONFIG_TWL4030_USB=y
The Following 7 Users Say Thank You to egoshin For This Useful Post: | ||
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 |
|
I'll create a .tgz once I have a nice scriptie, to contain the binaries
Last edited by joerg_rw; 2010-05-08 at 14:55.