Post Reply

[WIP] USB Host support (working)

OP verygreen

24th February 2012, 06:27 PM   |  #91  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 810
 
1,995 posts
Join Date:Joined: Feb 2012
Quote:
Originally Posted by Googie2149

I wonder how I could make a portable charger...

Hmm, that's a big subject. Basically you want something with batteries that puts out 5.0 Volts.

The Nook itself has a 1530 mAH battery.
It depends on how hard core you want to get. Picked at random:
http://www.amazon.com/Universal-1000...dp/B005NGLBHM/

You could build something with D cells and put in a little switching regulator.

When you have the 5.0 Volts all you need to do is splice the power in, feed a hub or back-feed a hub.

In any case, don't blow your Nook up!

There are two possible external power modes on the Nook.
  1. It can takes all the power from outside and leaves the battery alone.
  2. It can charge and operate from external power.
24th February 2012, 08:39 PM   |  #92  
Senior Member
Thanks Meter: 47
 
418 posts
Join Date:Joined: May 2011
Quote:
Originally Posted by Googie2149

I wonder how I could make a portable charger running on batteries to compensate for the battery drain while using host mode... (unless this app will shut it down when it's not needed)

I might be wrong, but somewhere early in this thread it was something like:
If you enable host-mode, it'll drain Nook battery like in 1 day, even if nothing is connected.
24th February 2012, 08:45 PM   |  #93  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 810
 
1,995 posts
Join Date:Joined: Feb 2012
Quote:
Originally Posted by ApokrifX

It'll drain Nook battery like in 1 day, even if nothing is connected.

People have had varied and random experience with batteries draining.
I like the auto shut-off at one hour and usually just click the rear power button when I'm done reading.
I never noticed it before, but it appears that the WiFi does not shut down when you do that.
24th February 2012, 08:54 PM   |  #94  
Senior Member
Thanks Meter: 47
 
418 posts
Join Date:Joined: May 2011
Quote:
Originally Posted by Renate NST

People have had varied and random experience with batteries draining.
I like the auto shut-off at one hour and usually just click the rear power button when I'm done reading.

BTW: What is the adb shell command to shutdown?
My rear button is doesn’t work well…

Quote:
Originally Posted by Renate NST

I never noticed it before, but it appears that the WiFi does not shut down when you do that.

When you do what?
Shutdown using rear power button?
24th February 2012, 09:00 PM   |  #95  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 810
 
1,995 posts
Join Date:Joined: Feb 2012
I just now clicked the rear button and the screen goes to my screen saver.
From the outside, it looks dead.
I'm ADB shell-ing with the thing acting normal.
Lol, I can even start activities, the screen flashed, then went back to the screen saver.
The Following User Says Thank You to Renate NST For This Useful Post: [ View ]
25th February 2012, 12:54 AM   |  #96  
Junior Member
Thanks Meter: 1
 
9 posts
Join Date:Joined: Mar 2009
Quote:
Originally Posted by Renate NST

The "State", "Drive" and "Sense" are only what the driver reports.
They may actually be different.

Normally with this driver you will get flashing of the screen when it starts working.

Do you get the green LED to go on solidly before you plug in?

You should be able to turn the green led on/off with nothing attached.

If you can only get it to flash whenever you hit "Host" and you have hit "Magic" already then you have another problem.

You know, I can't make up my mind on this OTG. I use an OTG, it works fine. I tried with a non-OTG and it worked then. Now it doesn't seem to work! Recommendation: use an OTG cable.

The green LED doesn't switch on unless I have it hooked up to power when pressing magic & host buttons.

I'll try getting an OTG cable. Thanks for your help!
25th February 2012, 01:21 AM   |  #97  
Senior Member
Thanks Meter: 47
 
418 posts
Join Date:Joined: May 2011
Quote:
Originally Posted by Renate NST

I just now clicked the rear button and the screen goes to my screen saver.
From the outside, it looks dead.
I'm ADB shell-ing with the thing acting normal.
Lol, I can even start activities, the screen flashed, then went back to the screen saver.

That's short vs. long push...
25th February 2012, 01:25 AM   |  #98  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 810
 
1,995 posts
Join Date:Joined: Feb 2012
Quote:
Originally Posted by ApokrifX

That's short vs. long push...

Just a short click. Not the full "Do you want to turn your device completely off".
25th February 2012, 01:32 AM   |  #99  
Senior Member
Thanks Meter: 47
 
418 posts
Join Date:Joined: May 2011
Quote:
Originally Posted by Renate NST

Hmm, that's a big subject. Basically you want something with batteries that puts out 5.0 Volts.

Link below for "micro USB Dual Male Y Adapter"
http://www.amazon.com/Samsung-Splitt...ef=pd_sxp_f_pt

It's gotta be "micro USB Dual FeMale Y Adapter"
So USB charger can be used.
Or the "Dual Male Y" above + "gender-changer" for charger

---------- Post added at 02:32 AM ---------- Previous post was at 02:31 AM ----------

Quote:
Originally Posted by Renate NST

Just a short click. Not the full "Do you want to turn your device completely off".

Right.
Do you know the command to do it via adb?
The Following User Says Thank You to ApokrifX For This Useful Post: [ View ]
25th February 2012, 01:40 AM   |  #100  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 810
 
1,995 posts
Join Date:Joined: Feb 2012
Quote:
Originally Posted by ApokrifX

Link below for "micro USB Dual Male Y Adapter"
http://www.amazon.com/Samsung-Splitt...ef=pd_sxp_f_pt

It's gotta be "micro USB Dual FeMale Y Adapter"
So USB charger can be used.
Or the "Dual Male Y" above + "gender-changer" for charger

---------- Post added at 02:32 AM ---------- Previous post was at 02:31 AM ----------


Right.
Do you know the command to do it via adb?

Actually, I'm using a modified powered hub now. It works like a charm and no Y.

I would have though that input keyevent 26 would work, but I just checked it and it doesn't. I'm more likely to just use the reboot command, either in the shell or as an adb argument.
Last edited by Renate NST; 25th February 2012 at 01:42 AM.

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