Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
dhkr234
Old
#11  
Account currently disabled
Thanks Meter 155
Posts: 574
Join Date: Jan 2011
Quote:
Originally Posted by cceerrtt View Post
for some phones it is possible to buy usb to audio jack converter, e.g.
http://www.amazon.com/Headphones-Ear...7504575&sr=1-6
I don't know how much effort and changes is needed on kernel side to make it work though.
Those are not applicable, since they aren't actually connected to the USB port. On some phones, the USB "plug" is modified to connect with extra pins -- which carry audio signal.
 
verygreen
Old
#12  
Senior Member - OP
Thanks Meter 1019
Posts: 606
Join Date: Feb 2011
Location: TN

 
DONATE TO ME
Quote:
Originally Posted by cceerrtt View Post
Do I need to copy all three binaries? Also, could you prepare uRamdisk with adb over usb (not wifi) enabled? Thank you in advance.
You need the kernel uImage and uRamdisk files, init is already included.

As far as adb over usb is concerned, it's a bit pointless since there is only one usb receptacle, so you can either connect with adb over usb or connect some usb device, but not both at the same time.
That's why wifi makes more sense.
 
Thiso
Old
#13  
Member
Thanks Meter 17
Posts: 89
Join Date: Mar 2010
Quote:
Originally Posted by verygreen View Post
Should be possible, but would require external power for the bt dongle I would think.
BT USB dongle consumes almost same as USB mouse
http://www.tomsguide.com/us/squeezin...ew-583-26.html
Since USB mouse is working, BT USB might be feasible as well...
 
cceerrtt
Old
(Last edited by cceerrtt; 25th January 2012 at 07:33 PM.)
#14  
Senior Member
Thanks Meter 24
Posts: 147
Join Date: Sep 2010
Quote:
Originally Posted by verygreen View Post
You need the kernel uImage and uRamdisk files, init is already included.

As far as adb over usb is concerned, it's a bit pointless since there is only one usb receptacle, so you can either connect with adb over usb or connect some usb device, but not both at the same time.
That's why wifi makes more sense.
My point is that you don't need wireless access point with adb over usb. It is also more secure than adb over wifi with lower power consumption. Whenewer I need adb over wifi, I can enable it using one adb command. Moreover, using both adb and keyboard attached to nook would not be very frequent scenario (at least in my case).
 
ros87
Old
#15  
ros87's Avatar
Senior Member
Thanks Meter 156
Posts: 312
Join Date: Oct 2010
Location: Bodø

 
DONATE TO ME
Quote:
Originally Posted by Thiso View Post
BT USB dongle consumes almost same as USB mouse
http://www.tomsguide.com/us/squeezin...ew-583-26.html
Since USB mouse is working, BT USB might be feasible as well...
I've tried a few BT dongles and they can be detected without external power, but I have yet to figure out if BT communications can be driven without external power as well.
Did you remember to back up your Nook?
Author of Nook2 Recovery Tools
 
ros87
Old
#16  
ros87's Avatar
Senior Member
Thanks Meter 156
Posts: 312
Join Date: Oct 2010
Location: Bodø

 
DONATE TO ME
Default USB Host Mode Swicth for Nook Simple Touch

Attached is a Nook Simple Touch version of verygreens USB Host Mode switching app.

Requires properly installed "su" in /system/bin

Let me know if there are problems.
Attached Files
File Type: apk usbHostSwitch.apk - [Click for QR Code] (24.5 KB, 295 views)
Did you remember to back up your Nook?
Author of Nook2 Recovery Tools
The Following 5 Users Say Thank You to ros87 For This Useful Post: [ Click to Expand ]
 
Thiso
Old
#17  
Member
Thanks Meter 17
Posts: 89
Join Date: Mar 2010
Let's hope so. But I have good hopes as BT intention is to be low power communication. In the post I was referring to earlier, the power communication of BT in use was similar to USB mouse in use...

Sent from my GT-I8150 using xda premium
 
Googie2149
Old
(Last edited by Googie2149; 27th January 2012 at 12:08 AM.) Reason: FAIL. I forgot to include the link
#18  
Googie2149's Avatar
Senior Member
Thanks Meter 52
Posts: 288
Join Date: Jan 2012
Would this cable work for host? I've had cables refuse to work with other devices for no apparent reason before, and I don't really want to order something that won't work.
http://www.amazon.com/female-Micro-m...ef=pd_vtp_e_77
 
Torimu.Joji
Old
#19  
Torimu.Joji's Avatar
Member
Thanks Meter 16
Posts: 60
Join Date: Jan 2012
Location: Brr...

 
DONATE TO ME
Wink TorimuNooter

I'll try to get this included in my TorimuNooter root! Maybe version 0.5 I'm working on 0.4 right now and I can't include your USB host support because it's not yet complete, but I will try to implement it as soon as I can.
Good work!
The Following User Says Thank You to Torimu.Joji For This Useful Post: [ Click to Expand ]
 
Renate NST
Old
#20  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 466
Posts: 1,215
Join Date: Feb 2012
Location: Boston
@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?

 
Post Reply+
Tags
usb host, usbhost
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...