Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,554 Members 36,250 Now Online
XDA Developers Android and Mobile Development Forum

[WIP] USB Host support (working)

Tip us?
 
darkguy2008
Old
#141  
darkguy2008's Avatar
Senior Member
Thanks Meter 223
Posts: 645
Join Date: Apr 2011
Location: Caracas

 
DONATE TO ME
Quote:
Originally Posted by mrWax View Post
I usb sound card are quite cheap - just 1.33 $ on EBAY . Isnt it worth trying?

USB sound card for 1.33 $ on EBAY
Dunno, I've seen the device has a dummy Alsa device. I don't know if the device has the capability to play sounds, maybe if it gets recognized by the kernel drivers (or a custom kernel?) it *could* be able to be used. No idea xD.
Current devices:
ZTE Grand X V970M ["Mimosa X"]
B&N Nook Simple Touch

Previous devices:
HTC Magic 32A (stolen) - FroyoDragon ROM developer
Motorola Defy+ MB525 (sold)
 
ApokrifX
Old
#142  
Senior Member
Thanks Meter 47
Posts: 410
Join Date: May 2011
Quote:
Originally Posted by ros87 View Post
Went back to stock, all good.
Was it related to host mode? Well, I cannot say for sure as I haven't done any research on it.
Guys,
Sorry, I’m a little late.
I’m sure all “battery charging logic” has to be on the chip, not in software.
Not sure about why LED didn’t turn green on rooted nook until you went to stock firmware.
Might be all you have to do is reboot?
And about battery drain with host mode enabled.
I have a feeling (but no proof), it has to do with schematic.
Something was not thought over, not tested or omitted to reduce price...

BTW: What component supposes to prevent deep discharge even on stock firmware?
And what doesn’t let battery charge properly after deep discharge?
I guess it is faulty “charging logic” (which has to be on the chip)
What else could it be?

Roger,
Are you on stock still?
 
osowiecki
Old
#143  
osowiecki's Avatar
Senior Member
Thanks Meter 123
Posts: 258
Join Date: Feb 2012
Location: Poznań

 
DONATE TO ME
Do you know any 'working' app in the market that would automount a USB stick connected to NST?
 
Renate NST
Old
#144  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 794
Posts: 1,971
Join Date: Feb 2012
Location: Boston
Quote:
Originally Posted by osowiecki View Post
Do you know any 'working' app in the market that would automount a USB stick connected to NST?
Automount? No.

Code:
mount -o rw,remount rootfs /
mkdir /thumb
mount -t vfat /dev/block/uba1 /thumb
I can easily get a thumb drive to work on a hub, I've not gotten mine to work plugged directly into the Nook.
 
mrWax
Old
#145  
Senior Member
Thanks Meter 19
Posts: 147
Join Date: Jan 2012
Default good job! usb mouse?

Host mode works like charm! it is simply amazing!!!

I wonder if it is possible to somehow get mouse cursor working, possibly imbedding it into no-refresh enabler since it does dithering with screen anyway and mapping DPAD to changing cursor possition! that would be really * * mighty and magical * *

anyway have you tryed this linux installer on Market?
 
bisbal
Old
(Last edited by bisbal; 4th April 2012 at 11:17 AM.)
#146  
Member
Thanks Meter 10
Posts: 48
Join Date: Nov 2011
Quote:
Originally Posted by ApokrifX View Post
Guys,
I’m sure all “battery charging logic” has to be on the chip, not in software.
All modern batteries come with a chip that

- prevents the battery from overdischarging
- monitor the battery temperature
- handles different charging modes (constant current charging, constant voltage charging)

A bit more of info from the EEVBlog

http://www.youtube.com/watch?v=A6mKd5_-abk
 
Renate NST
Old
#147  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 794
Posts: 1,971
Join Date: Feb 2012
Location: Boston
I picked up a USB audio adapter. It happens to have volume buttons on it.
It is recognized as an HID input device. Pressing the buttons causes speaker icons on the Nook.
However, it is not recognized as an audio device.

Code:
#cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18a.

#cat /proc/asound/cards
 0 [Dummy          ]: Dummy - Dummy
                      Dummy 1
The Following User Says Thank You to Renate NST For This Useful Post: [ Click to Expand ]
 
ApokrifX
Old
#148  
Senior Member
Thanks Meter 47
Posts: 410
Join Date: May 2011
Quote:
Originally Posted by Renate NST View Post
I picked up a USB audio adapter. It happens to have volume buttons on it.
It is recognized as an HID input device. Pressing the buttons causes speaker icons on the Nook.
However, it is not recognized as an audio device.

Code:
#cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18a.

#cat /proc/asound/cards
 0 [Dummy          ]: Dummy - Dummy
                      Dummy 1
Wow! Are you building a media center from your nook?
Sorry, cannot tell anything useful…
Yet I was wondering if there is an easy way to find out if a device (VEN_####&DEV_####) is supported on an android (OS version)?
Or if it’s supported on Linux (i.e. has drivers/sources), it’ll work on an android too?
 
mrWax
Old
(Last edited by mrWax; 7th April 2012 at 09:12 AM.)
#149  
Senior Member
Thanks Meter 19
Posts: 147
Join Date: Jan 2012
Default wow

Quote:
Originally Posted by Renate NST View Post
I picked up a USB audio adapter. It happens to have volume buttons on it.
It is recognized as an HID input device. Pressing the buttons causes speaker icons on the Nook.
However, it is not recognized as an audio device.

Code:
#cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18a.

#cat /proc/asound/cards
 0 [Dummy          ]: Dummy - Dummy
                      Dummy 1
sounds great! do you think that drivers will be needed. they maybe can downloaded somewhere. Since linux Ubuntu runs on nook and Puppy linux, which will be more usefull is comming up, it might be enought to down some driver for linux. btw check out update in a thread http://forum.xda-developers.com/show....php?t=1583141
 
Renate NST
Old
(Last edited by Renate NST; 7th April 2012 at 12:26 PM.)
#150  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 794
Posts: 1,971
Join Date: Feb 2012
Location: Boston
There are reports of this exact device being used on Linux.
It's just a question of getting the drivers all in there.
I was waiting to hear from mali100...

I am trying to put together a media center, but also a portable recording solution.

C-Media USB Audio Device
0D8C:0008

Note: If somebody really wanted a tiny two button remote, they could use this
and map the VolUp/VolDown (for just this device Id) to PageUp/PageDown.

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

Advanced Search
Display Modes