Post Reply

[WIP] USB Host support (working)

OP verygreen

27th February 2012, 03:23 PM   |  #111  
Senior Member
Thanks Meter: 132
 
208 posts
Join Date:Joined: Jun 2007
Donate to Me
Quote:
Originally Posted by Renate NST

Don't people want to have keyboards on their Nooks?

Maybe you should post your tool in this forum http://www.mobileread.com/forums/sho...d.php?t=159007 , they surely are interested in this.

For me your actual tool isn't needed, I never had problems connecting devices. But I would love to get the new version. From the screenshot I assume that it is possible to deactivate charging when connected as usb-device? That would be awesome, it would allow me to connect the nook to my tablet, which supports usb-host only for low-power devices and disables the nook because it tries to charge.
27th February 2012, 03:56 PM   |  #112  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 810
 
1,995 posts
Join Date:Joined: Feb 2012
Now, I'm getting all confused.
I went back to what I believe is the Nook 1.1 uImage.
Is this the original?

Linux version 2.6.29-omap1 (build@dhabuildimage16) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72)) #1 PREEMPT Sat Oct 29 00:45:49 PDT 2011

I can get the original kernel to handle keyboard without using any root access or application?
28th February 2012, 01:13 AM   |  #113  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 810
 
1,995 posts
Join Date:Joined: Feb 2012
Ok, here's the new version.

If you are using unpowered devices or an unmodified hub:
  1. Hit the "Off" button.
  2. Plug in.
  3. Hit the "Host" button.

If you are using a modified hub:
  1. Plug in.
  2. Play with the charging settings if you feel like it.

When you are done:
  1. Unplug.
  2. Hit the "Peripheral" button.
  3. Hit the "Off" button.
  4. Hit the "Auto" button.
Last edited by Renate NST; 9th April 2012 at 11:13 PM.
The Following 2 Users Say Thank You to Renate NST For This Useful Post: [ View ]
28th February 2012, 02:00 PM   |  #114  
Junior Member
Thanks Meter: 1
 
9 posts
Join Date:Joined: Mar 2009
What to do with init binary
I just realised that there were 3 files in the zip file provided by verygreen. I know what to do with the other two, but what should I do with the init binary?
28th February 2012, 02:37 PM   |  #115  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 810
 
1,995 posts
Join Date:Joined: Feb 2012
Quote:
Originally Posted by durn_it

...but what should I do with the init binary?

I dunno. I didn't use it.
28th February 2012, 02:55 PM   |  #116  
Senior Member
Thanks Meter: 132
 
208 posts
Join Date:Joined: Jun 2007
Donate to Me
Quote:
Originally Posted by Renate NST

Ok, here's the new version.

Thanks works fine for me.

Quote:
Originally Posted by durn_it

I know what to do with the other two, but what should I do with the init binary?

The init binary is already included in the uRamdisk, you need it only if you want to build your own uRamdisk.
29th February 2012, 07:07 PM   |  #117  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 810
 
1,995 posts
Join Date:Joined: Feb 2012
For those who did get a USB keyboard working there are two map files which could be updated to something sane.

/system/usr/keylayout/qwerty.kl maps scan codes to key codes.
/system/usr/keychars/qwerty.kcm.bin maps key codes to Unicode.

qwerty.kl is commented text and you can add your own F1-12 keys, etc.
qwerty.kcm.bin is binary and you probably don't need to edit it.

Hint:
Shift-Alt A-I-N-Q-U are composing accents.
Alt E-L-Y are Euro, Pound, Yen
Alt C-S are c cedilla, eszet
Attached Files
File Type: zip qwerty.zip - [Click for QR Code] (1.5 KB, 80 views)
The Following 2 Users Say Thank You to Renate NST For This Useful Post: [ View ]
1st March 2012, 02:16 AM   |  #118  
darkguy2008's Avatar
Senior Member
Flag Caracas
Thanks Meter: 224
 
645 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Damn, this is AWESOME. It's mainly the fact why I just ordered one: price & usb-host support =) (WIP but it seems it's working ).

I've got a small question though - would it be possible to install a 3G modem on it? or plug my android device to it and enable 3G tethering? if not - but it seems possible - I'm up to helping all with this feature
1st March 2012, 06:13 PM   |  #119  
brendan10211's Avatar
Senior Member
Flag Cary
Thanks Meter: 12
 
200 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by Renate NST

qwerty.kl is commented text and you can add your own F1-12 keys, etc.

Can you make it so F1 is back, F2 is menu, etc?
1st March 2012, 07:34 PM   |  #120  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 810
 
1,995 posts
Join Date:Joined: Feb 2012
qwerty.kl as posted has Escape=Back, and Application key=Menu.
(App key= key between Windows and Ctrl on the right.)

Yes, you can assign the F keys or the multimedia keys any way you like.

Warning: If you edit it, a syntax error in qwerty.kl will cause it to ignore the rest.

The Following User Says Thank You to Renate NST For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
usb host, usbhost
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Nook Touch Android Development by ThreadRank