View Single Post
MoridinBG's Avatar
Posts: 70 | Thanked: 1 time | Joined on Sep 2007
#33
After lots of reading here and there I finally made it to compile working kernel with the needed patches. Flashes OK to the device. After that Peripheral mode stops working, as noted here. dmesg on the desktop is completely silent when I attach the tablet to the PC. This makes mi think it should work. Then I got a modified cable from a friend. Hi made it as part of an attempt to enable OTG on HTC Universal (which fell from the 8th floor unfortunately before we could see if it works).
He claims the miniUSB cable is moded properly.
After I "echo host > /sys/devices/platform/musb_hdrc/mode" dmesg in xterm is silent. Connecting a device does nothing. So far I has tried a LG USB Key, which I think needs external power, as it has blue LED on it. Also tried some cheap chinese self powered MP3 Player. And it starts, but I think that's just because it is connected to something. dmesg again doesn't say even a word!.
I also tried "echo otg > /sys/devices/platform/musb_hdrc/mode" while dmesg remains completely silent. "echo peripheral > /sys/devices/platform/musb_hdrc/mode" finaly made it say something, "musb_platform_set_mode 616: Cannot be peripheral with mini-A cable otg_stat: 00000184".

Then I tried normal USB-miniUSB cable, which I use to connect mu photo to the PC. None mode setting produces even a single line in dmesg.

Am I wrong somewhere? I just applied the patches at muru.com, patched the .config, which enables various USB settings and compiled. It produced an error, complaining that tusb6010_test.c could not be compiled, so I disabled the TUSB6010 Loopback test support.

I will trie with the most simple flash key I can find, but most people, who has tried at least get lots of errors in dmesg.

P.S. I has also increased the debug level of the USB driver with
# echo 8 > /proc/sysrq-trigger
# echo D3 > /proc/driver/musb_hdrc