My recent testing seem to indicate that you must enable host, then disable host, then enable it again and then it will work.@Googie2149: Any standard USB cable will work as well as any other.
The ID pin on the micro USB connector on the Nook is not going anywhere so a special OTG cable is not required.
I loaded in the new uImage and uRamdisk and things act more consistently, but I still can't get a keyboard to work.
Neither of the two utilities out there seem to work correctly for me. I do have su installed. I have had more success with simple commands
Code:echo host > /sys/devices/platform/musb_hdrc/mode echo peripheral > /sys/devices/platform/musb_hdrc/mode cat /sys/devices/platform/musb_hdrc/mode
One thing is clear; the Nook adheres to the USB standard for supplying power, that is, it supplies it for 100 millisecs and if the peripheral signals back correctly it continues to supply it. Issuing a host command cause the red LED to flash for about a 1/10 of a second. Supplying power on the red wire is not necessary for host communication.
My setup has a powered hub and a cable with the red lead not carried through. I can issue a host command but it never seems to communicate. The status reads back "a_wait_vrise".
Does anybody have any insight into the FSM to say what is going on?
I tried everthing. Restore + New root..
I didn't get the usb host to work. Replacing the uimage and uramdisk doens't work.
Are there any steps I have forgotten?
Help would be apprechiated
BT USB dongle consumes almost same as USB mouse
http://www.tomsguide.com/us/squeezing-more-life-out-of-your-notebook,review-583-26.html
Since USB mouse is working, BT USB might be feasible as well...
My recent testing seem to indicate that you must enable host, then disable host, then enable it again and then it will work.
cat /sys/devices/platform/musb_hdrc/mode
cat /sys/devices/platform/i2c_omap.1/i2c-adapter/i2c-1/1-0048/twl4030_usb/vbus
cat /sys/devices/platform/musb_hdrc/mode
When the host mode is switched off:Could you tell me what this does when you are connected to a keyboard?
Code:cat /sys/devices/platform/musb_hdrc/mode
I only got it once to red, when I had a standard micro usb cable connected (wasn't connected to anything on the other side) but couldn't reproduce it.Green? I never get green. I can get red and the red stays on, but never green.
Hm, interesting. I know that in the Nook Color the id pin is not routed.Ok, a razor blade and a bit of hacking on a spare micro USB cable proves it:
The NST does support the OTG pin detect (despite statements made elsewhere).
The signal runs around 1 V and should be grounded to enable host mode.
Without grounding the pin you can not get things working.
I got the green light to come on! I got a_host! I got the keyboard to work!
If you feel adventurous you can try a razor blade on a plug.
Solder a jumper and you're there.
Or buy an OTG adaptor.
Try this:Hi verygreen,
For me it works only if I follow exactly this sequence:
-connect OTG-cable without the keyboard
-enable host mode
-connect keyboard to the otg-cable
Do you have any idea why?
It can't seem to work for me.
My nook is rooted.
When I try to echo host to the mode file, it succeeds, but when I try to 'cat mode', it stays 'b_idle' or 'b_peripeherial'.
The switcher app is not working as well: it says nothing, and the button does nothing. I mean, I can press it, but nothing happens, it says 'Click to enable USB Host Mode', no matter how many times I click it.
Did I install the two binaries the wrong way?
I can confirm that this works also for me. Still a bit tricky but useable. ThanksTry this:
Connect the cable with the keyboard.
enable host mode (see the green light turning on briefly and then turning off all by itself)
after the green light is off, turn off host mode
wait a second
turn on host mode again.
Works for me in this way.
echo host > /sys/devices/platform/musb_hdrc/mode
echo peripheral > /sys/devices/platform/musb_hdrc/mode
[00002268] 02 00 00 00 // format
[0000226c] 01 00 00 00 // channels
[00002270] 40 1F 00 00 => 44 AC 00 00 // rate
[00009188] B1 F5 FA 54 => 70 BD 00 BF
[000091EC] 6C 33 => 00 05
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
[b]<group gid="audio" />[/b]
</permission>
key 21 Y
key 21 Z
000100 1F 00 00 00 43 00 32 00 63 00 43 00 E7 00 C7 00
mount -o rw,remount /dev/block/mmcblk0p5 /system