FORUMS

What Are the Best Looking Apps on Android?

As more developers are updating their apps with Material Design elements, we’re … more

Cyngn Explained: Who’s Cyanogen, What’s Cyanogen OS?

While Cyanogen, Inc has been the source of many headlines lately, there … more

Verizon Moto X 2014 Receives Root On Kitkat 4.4.4

The Verizon Moto X 2014 has finally received root, albeit only on Kitkat 4.4.4 … more

Android 5.1.1 Released, Google Cell Service – XDA TV

Android Lollipop 5.1.1 has been released. That and much more news is covered … more
Post Reply Subscribe to Thread Email Thread

[WIP] USB Host support (working)

19th March 2012, 12:45 AM |#141  
darkguy2008's Avatar
Senior Member
Flag Caracas
Thanks Meter: 229
 
Donate to Me
More
Quote:
Originally Posted by mrWax

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.
 
 
19th March 2012, 05:54 AM |#142  
Senior Member
Thanks Meter: 47
 
More
Quote:
Originally Posted by ros87

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?
30th March 2012, 10:46 AM |#143  
osowiecki's Avatar
Senior Member
Flag Poznań
Thanks Meter: 126
 
Donate to Me
More
Do you know any 'working' app in the market that would automount a USB stick connected to NST?
30th March 2012, 12:30 PM |#144  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 856
 
More
Quote:
Originally Posted by osowiecki

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.
2nd April 2012, 06:46 PM |#145  
Senior Member
Thanks Meter: 22
 
More
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?
4th April 2012, 11:11 AM |#146  
Member
Thanks Meter: 11
 
More
Quote:
Originally Posted by ApokrifX

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
Last edited by bisbal; 4th April 2012 at 11:17 AM.
7th April 2012, 12:27 AM |#147  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 856
 
More
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: [ View ]
7th April 2012, 05:41 AM |#148  
Senior Member
Thanks Meter: 47
 
More
Quote:
Originally Posted by Renate NST

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?
7th April 2012, 07:46 AM |#149  
Senior Member
Thanks Meter: 22
 
More
wow
Quote:
Originally Posted by Renate NST

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
Last edited by mrWax; 7th April 2012 at 09:12 AM.
7th April 2012, 12:05 PM |#150  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 856
 
More
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.
Last edited by Renate NST; 7th April 2012 at 12:26 PM.
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