yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] lschroeder:
I have a micro usb to female usb adapter bought through amazon. Mini is too big. I then have this connected to a powered usb hub with all the devices connected in the above post. Lights are showing on the hub that let me know that the usb device is connected.

Edit: I just unmounted my 1TB. Went to Nook Tweaks and enabled External VBus. I then plugged in the y branch of my cable into the powered hub. We can charge and do data on the hub at the same time (I have never got this to truly be of value - the charge is too weak). You can also plug the y branch into a computer or the power adapter. This cable came with older usb hard drives or can be ordered from amazon. With both data and charge branches working it seems that the charge is way too slow to be of use. Anybody else with a y cable notice this? We have discussed the y cables earlier in the thread. Spare Parts Battery Info is the only place where you can get a true picture of the battery mv. As discussed before in this thread things show discharging when there actually can be a little bit of a charge.
[Nook Color Android Development] lschroeder:
I am suggesting that the currently nightly works with only changing the audio file. Leave the OC 06/30 kernel in and use Dal's latest Nook Tweaks 1.3.8.

When I used Skype audio and voice was choppy. When I play back video sound was great in my usb speakers, when I texted in the voice application by clicking on the keyboad mic, it got everything perfect in the transforming my voice message to text.
[Nook Color Android Development] lschroeder:
Webcam

I guess the only way to get webcam support is replace nightly 122 with OP special webcam ROM? I just plugged the webcam in to nightly 122, tried camera app, nothing. I guess a no go for 122.
[Nook Color Android Development] verygreen:
The webcam changes were not accepted upstream.

If you need them you need to recompile with the patch (referenced in the OP I think) applied.

I guess I can provide another special build, but I cannot promise to do it forever ;)

I guess just providing a binary libcamera.so might also work but I have not tried.
[Nook Color Android Development] newellj79:
Is work still being done for webcam support that willbe accepted, or has it been abondoned?
[Nook Color Android Development] lschroeder:
I be willing to try adding libcamera.so like we did alsa.omap3.so? If that would work it would be easy to add it with Root Explorer or adb?

With nightly 122, OC kernel 06/30, and Nook Tweaks 1.3.8. replacing alsa.omap3.so allowed me to use Skype and microphone input icon on the virtual keyboard with various apps. The usb speakers sounded great with various video players. I did not use your replacement kernel or Nook USB Host Switcher.
[Nook Color Android Development] newellj79:
Wow, sounds promising. What kind of setup are you using? What mic? USB hub or not? Mini-usb to usb adapter?

Nevermind... read back and found answers to all my questions, sorry.
[Nook Color Android Development] verygreen:
You don't really needed the updated kernel or Nook USB host switcher.

The functionality of the USB host switcher was already incorporated to Nook Tweaks.

The kernel is merely useful to avoid apps hanging when you try to use a microphone and the usb device is not connected. These changes will eventually propagate upstream too
[Nook Color Android Development] verygreen:
In order for the changes to be accepted a substantial chunk of work needs to be done so that when there is no webcam connected the lib would still produce some useful input to the apps.
[Nook Color Android Development] lschroeder:
Sounds like coding to me, spend 90% of your code to make it exit gently when things go wrong, 10% of the code making it work.

Any possibility on this action "I guess just providing a binary libcamera.so might also work but I have not tried." If does work, we could check out possibility in our multitude of setups. Not necessarily checking for no webcam, but checking to see when webcam is present that it works in a variety of environments.

Edit: I downloaded VG ROM with licamera.so file in it. Unzip the ROM and moved licamera.so into nightly 126 to the same directory as the your special webcam ROM had it. Rebooted. When the nook came back up, I tried the camera. It was a no go. My webcam is a GE MiniCam Pro. After a couple of more tries and force closing issues, I rebooted the machine, at this point the nook had a mind of its own. On the drawer page launching apps filling in info. I had to hard power off, reload nightly 126, OC 06/30 kernel, the alsa.omap3.so file, and reinstall my IMEI. Now I am back to normal.
[Nook Color Android Development] fattire:
Just wanted to chime in and say congrats :)
[Nook Color Android Development] TheAmazingDave:
First of all, thank you to all of the NC devs who make this device more amazing every day.

Next, I wanted to share how stoked I am to be able to use my USB headset now. I have an issue with mic input though that I didn't see mentioned anywhere else.

The mic input is working. When I use Google's voice search, the microphone symbol lights up with my voice intensity, so it is picking something up, but it never decodes properly. Also, if I use sound recorder and take a 3 second clip of me saying "testing", it takes 14 seconds to play back and is extremely slowed down.
[Nook Color Android Development] verygreen:
Sound recorder issue is the rate conversion problem. It requests 8kHz input, but due to brain-dead android APIs a sound device might only provide one frequency and to maximize compatibility with wide range of usb headsets I use 44k1.

Also if using 8kHz on a device supporting it, skype input becomes super sped-up.

Technically I think alsa should be doing all the conversions, but well...
[Nook Color Android Development] TheAmazingDave:
So if I understand, it could be an issue of my headset not operating at the correct frequency? It is a cheapie, I wouldn't be surprised if that's the issue.

I have a Logitech USB audio adapter around here somewhere, I'm gonna give that a shot.
[Nook Color Android Development] allerretour38:
I'd also like to thank the devs.

Dave, I have the same behavior as you. Google voice very rarely decodes correctly. Skype is close, but just a little too choppy to be usable.

Do you have any other usb devices? How do they work for you now that the headphones are working? The optical mouse used to work for me, but after subsequent changes to get the headphones functioning, the mouse doesn't work anymore. In fact, plugging in the mouse now causes the Nook to freeze. Does this happen to you?
[Nook Color Android Development] TheAmazingDave:
I found my Logitech DAC A-5572A which originally came with one of their headsets. The Nook picks it up fine, and audio playback through it is almost perfect. I cannot for the life of me find a mic to attach to it, though, so I grabbed a 3.5mm patch cord and connected my Optimus M to the DAC's mic input.

I obviously can't test the Google search like this (unless, of course, I record my voice on the Optimus and play it back to the Nook... hmmm....) but using Sound Recorder to record a small sample clip of audio resulted in the same playback behavior. :(

I've tried a wireless mouse, a wired mouse, the headset, some USB thumbsticks, and an external USB drive. The Sandisk Cruzer thumbsticks draw too much current, the external drive is NTFS and I can't mount it even though Nook sees it, and of course the mic isn't quite right on the headset yet, but overall I've had great success with USB host and my home made adapter.

edit: just checked my USB headset's mic sampling rate, and as VG predicted, it only supports 48k or 44.1k sample rates. I'll assume the same of my Logitech DAC.
[Nook Color Android Development] lschroeder:
See the specification for my Logitech H360 headset below.

Using the android Sound Recorder app and keeping my voice level slightly below the distortion point shown by Sound Recorder's analog dial, the recordings come out perfect. Is that because of its 8k to 48k continuous rate? They do not exhibit the choppiness that I get from Skype.

When I first use voice input, say in Opera Mobile, I have to get it to wake up before it gives me everything back perfect. Same thing for Google Voice when I use the mic to input text. It also works with skype which I reported on earlier in this thread.

Did I find the perfect Headset for our Nook? I bought it at Target on clearance, $34.99 for $8.74. A real steal!

Use Terminal Emulator, type su to get # prompt and then type the command shown below:

# cat /proc/asound/card1/stream0
Logitech Logitech H360 headset at usb-musb_hdrc-1.2, full speed : USB Audio

Playback:
Status: Stop
Interface 1
Altset 1
Format: S16_LE
Channels: 2
Endpoint: 1 OUT (SYNC)
Rates: 8000 - 48000 (continuous)
Interface 1
Altset 2
Format: S16_LE
Channels: 2
Endpoint: 1 OUT (SYNC)
Rates: 8000 - 48000 (continuous)

Capture:
Status: Stop
Interface 2
Altset 1
Format: S16_LE
Channels: 1
Endpoint: 4 IN (SYNC)
Rates: 8000 - 48000 (continuous)
[Nook Color Android Development] core24:
I have googled around but have not found the actual patch itself so that I could build this myself (only the binary, as listed in the OP). Anyone have a reference to the patch? I'm interested in seeing what it might take to get this cleaned up so it could be committed to the official build.

-J
[Nook Color Android Development] verygreen:
What do you mean below distort?

I found that my MS Lifecam cinema also has mic that supports 8k samples.

But the thing is, the android sound API only supports one frequency per device.

As a result, the also.omap3.so I supply hardcoded the frequency at 44k1.

Now I did try 8kHz with my camera mic and that did not work at all.

It might be that the overclocked kernel helps more in this department, as when the sound is crackling there are tons of "buffer overrung" diagnostics in the android lgs.

No matter how I tried to play with the buffer size, I was not able to make it go away.

If there is somebody who known android sound api internals and can provide some suggestions, that would be great.

Otherwise this is the closest I was able to get to the working mic input.

In my tests the voice in skype while not perfect is quite usable.

the input (what the other side transmits) is perfect.
[Nook Color Android Development] verygreen:
http://review.cyanogenmod.com/5928 and http://review.cyanogenmod.com/5929

Camera resolution is hardcoded at 640x480, ideally we'll have several defined and be able to choose too.

Plus the main complaint is there must be some useful input from this if there is no v4l device present. (like the old libfakecamera.so that repeated the same picture or something)
[Nook Color Android Development] lschroeder:
Distortion is what I meant? I was talking to load and the analog dial was red lining. When I lowered my voice so that the dial was in the middle the recording was perfect? When I use voice as keyboard input it has no problem translating my voice to text. It worked great for me in Opera Mobile and for texting with Google Voice. I was able to speak what I wanted rather then having to type it.
[Nook Color Android Development] chisleu:
got all excited and updated to the new versions to try my HDD on USB and low and behold, it didn't recognize it as a drive and if it had, it is NTFS and I just read that won't fly. :(

BOOOOO. Still happy to see all the progress! Thanks! :)
[Nook Color Android Development] lekofraggle:
Chisleu,

Did you use external power? You need it for an optical drive. Also, even fat won't automount without programming or terminal commands. Look back in the thread or ask some questions. We can help.

~Leko
[Nook Color Android Development] skwalas:
What's this? Even FAT won't auto mount? With the new mount point in the newest nightlies? Huh, I thought fat was supposed to be supported here (most flash drives would be FAT after all, and theymount fine, power requirements notwithstanding).

Been trying to mount the drive on my wife's dslr without success. The dmesg shows it recognizes the storage device, but does not give a reason for not mounting. This is in contrast to one of my flash drives which states that the power draw is too high. Any of you other photogs have any suggestions? It is a canon EOS D40 and uses CF cards in FAT32.

Edit: anyone know of battery powered hubs? Can't seem to find them anywhere. I don't see the point of a bus-powered hub for a portable device...
[Nook Color Android Development] liqn7:
So I've got my micro usb to USB adaptor and have Nook tweaks as well as the latest CM nightly and 5/30 kernel-

How do I manually mount and dismount my usb drives? I understand I need to type something into the terminal?

cheers
[Nook Color Android Development] J-ROCK:
Once u enable USB Host it should automatically mount. And to un mount, just click on the nook tweaks icon on the notification bar and unmount.
[Nook Color Android Development] chisleu:
It is ntfs. Can we mount ntfs? Yes it has external power. It is an external hdd with 1 of 2tb full of media, not optical.

If you want my logs/dmesg or whatever I would be happy to post it when I get home.
[Nook Color Android Development] DigitalMD:
My understanding is that NTFS is not supported. I have a NTFS drive and it will not mount. My Fat32 drives mount fine
[Nook Color Android Development] lekofraggle:
Hey all, Perhaps I misspoke. I am using cm7 nightly 93 and it does not automount. I actually like it that way.

You can check, by browsing using root explorer.

Go to /mnt/ and look for a folder.

If there is one, go to /dev/block/ and try to find sda1 (or sd*).

If you see it in mnt, you can click on the folder to browse. If not, but you do see an sd* than you need to create a mount point by either editing fstab, or by manually mounting using terminal.

As for ntfs, it is not supported by linux natively. There are apps that let you read and write to it, but I doubt they have been ported to android. If you need ntfs, you should try a full linux distro (I think are both red hat and ubuntu in progress here, ubuntu is easier to use if you are not familiar with linux) then use try to install an ntfs read/ write app. This may be a place to start http://www.tuxera.com/

As for Canon. No Canon SLRs mount on any computer. Canon does not support mounting. Even on my mac and pc, I need to use lightroom or a card reader to view the files.

I use a card reader to view my fresh files on the Nook. I need power for one of mine http://www.staples.com/Sony-21-In-1-External-Multi-Card-Reader-Writer/product_903798. I do not need power for the other one (http://www.staples.com/Vivitar-RW-SD-Secure-Digital-Card-Reader-Writer/product_791688 this is similar, but mine is the multi reader version).

Be careful with your media. I had issues with automount unmounting at random. This can ruin your data. It would be a shame to loose all your backed up data or best pictures. That is why I use the terminal commands which are simple.

I also am using an older version of this app because when they started adding power options, it made the card reader less stable.

I hope this helps.

~Leko

P.S. My dslr is a Canon 50d so I know it will work with the 40d if you have a reader.
[Nook Color Android Development] skwalas:
Awesome (if discouraging) response. I shall now hunt down a suitably appropriate card reader (for CF and SD from our waterproof point and shoot).

What I am missing now is a freakin' battery powered hub. The only one I've found is no longer in production. And I have zero interest in sitting in front of a computer just to mount a flash drive or card reader on a portable tablet! Grrr...
[Nook Color Android Development] empiricalis:
Has anyone tried a 3G dongle yet? I can get a T-Mobile Jet cheaply through work to try experimenting.
[Nook Color Android Development] skwalas:
Wait a minute. Your comment about canon not allowing direct mounting doesn't make sense. We've been mounting both of our canons to our W7 computer for as long as we've had them. Perhaps its more a matter of driver availability rather than a corporate policy?
[Nook Color Android Development] lekofraggle:
Their point and shoots do support USB mass storage. The slrs however do not. In Win 7 what happens is the computer uses windows media player to view the files. It looks like you are browsing the folders, bit you are really using a plugin. That plugin does not exist for android.

As for the card reader hub issue. Cf cards draw more power than SD. So, most but not all card readers need more power. The small vivitar multi card reader does work without power but there is an order of opperations to get it working. Automount breaks this for me. Good luck.

~Leko
[Nook Color Android Development] botossi:
It would be really nice to see 3G dongle working...
[Nook Color Android Development] chisleu:
Yeah. I think 3g 5gb is $15 here per month.
[Nook Color Android Development] Arbelzapf:
So the only way to use a webcam right now is to use the cm7.1.0 linked in OP?

I just bought a MS LifeCam HD-6000 and would love to try it on my Nook. What would be needed to get it to work with nightlies?
[Nook Color Android Development] lschroeder:
Coming in the next nightly.

http://cm-nightlies.appspot.com/?device=encore

@ Verygreen Is this your audio input (alsa.omap3.so)?
[Nook Color Android Development] verygreen:
Yes, updated kernel and alsa.omap3.so are coming in
[Nook Color Android Development] lschroeder:
Will want to update from nightly 126 to this one for sure. Thanks you and Dal for your work. I see where Dal's thread talk about GPU improvements as well as OC work.
[Nook Color Android Development] dalingrin:
Has anyone gotten game controllers to work via usb?
[Nook Color Android Development] ADude:
I saw your previous post regarding MS Lifecam sound.

Is that choppy audio still the current situation with the alsa.omap3.so in the commit ?
[Nook Color Android Development] verygreen:
I think so, but it's usable for voicechat purposes at least.

Give it a try and see for yourself? (and report here if your experience differs noticeably).
[Nook Color Android Development] lschroeder:
It seems that my experience that I reported earlier in post 418 was noticeably better. I just edited the message to make it easier to follow. Anybody else have a good experience with Sound Recorder and voice input for apps like Opera Mobile and text message input using Google Voice?

http://xdaforums.com/showpost.php?p=15508338&postcount=418
[Nook Color Android Development] TheAmazingDave:
Not really. It kinda works, but there's some issues for me. My sound recorder playback is very slow and distorted, and Google voice commands never properly decode what I say. When I make a test call in Skype, my recorded voice playback is extremely broken up.
[Nook Color Android Development] DigitalMD:
USB drive multiple partitions or multiple disk

When you connect an USB storage device to the Nook it will be able to mount only one drive and only one external partition. This is either:

1. Multiple USB drives - when you have multiple drives on the USB hub – the one you plug in first will be mounted. The one after will not. When you unplug the first drive, the second may be mounted next.

2. Multiple partitions: one drive formatted with two or more FAT32 partitions. Only the first partition will be mounted.

3. NTFS is not supported

4. Logical partitions seem not to be good with this and cause the disk not to mount at all.

I do not think these are unique to the Nook implementation. My understanding is that this is an Android limitation. Someone please correct me if that is not the case.
[Nook Color Android Development] lekofraggle:
Digital MD,

If you mount via terminal, you can mount multiple drives and partitions.

NTFS seems quite definitely a no go for now.

~Leko
[Nook Color Android Development] DigitalMD:
Yes, you are correct, you can see and mount individual partitions via terminal. I have done that and it works fine.
[Nook Color Android Development] skwalas:
Leko, I picked up a 50-in-1 vuvitar reader today from radio shack and was able to auto mount both the SD and CF cards directly. I did not need to do anything particular to get them to work, although I did see the occasional unmounting that you had warned about.

I also picked up an unpowered hub (iogear 4 port) that successfully masked the power mismatch of my newer USB flash drive, so I seem to be all set and actually a very happy camper!
[Nook Color Android Development] MrPib:
Hi. I think I'm missing something here.

I'm running Nightly #132 (which includes dalingrin's OC kernel), and the latest Nook Tweaks (1.4). I've read this whole thread, and my understanding is that all I need to do is to enable USB Host Mode in Nook Tweaks, and I should be good to go (unless I need to use a powered hub).

I've tried a few old Dell USB keyboards, connected via the NC data cable and a F-F USB adapter, but nothing happens when I connect them (ie. I launch Terminal and hide the on-screen keyboard, but keystokes from the keyboards don't show.) Is there something special that I need to do to use the keyboards, or should they autodetect?
[Nook Color Android Development] allerretour38:
That's exactly how mine is. Or I should say was. I was running off of a SD card, and one day all the applications started crashing just after boot. I eventually had to give up on it. I'm going to try again when I get a sandisk class 4, like VG advised in the beginning of his thread, because I'd still love to have Skype working on the Nook.
[Nook Color Android Development] newellj79:
For my keyboard or USB drive I have to use my powered hub, but not using the power. My mouse works without it though.
[Nook Color Android Development] MrPib:
Thanks, I'll try a hub. So with the hub, your NC recognizes the keyboard all by itself?

BTW, I tried a Dell optical mouse w/o a hub, and it immediately locked up my NC!
[Nook Color Android Development] newellj79:
Yes it does. Plug in and go.
[Nook Color Android Development] gompka:
I have read through the thread, but gotten a bit lost. I have most of my usb devices working expect for my creative sound card. The light turns on, but the sound still comes out of the nook. Are sound cards working yet?
[Nook Color Android Development] DigitalMD:
Yes , several people including myself have reported that generic stereo or 5.1 audio dongles work. If I recall, even on Windows the creative sound blaster devices require special drivers. I suspect they will not be supported on Android.
[Nook Color Android Development] chisleu:
when the next nightly comes out I am going to try to make NTFS work

Never mind.... It seems possible though. going to ask for code.
[Nook Color Android Development] newellj79:
Can somebody please suggest or post a link to a Mic and or cam with mic that works. I know there is still a quality issue with mic. Cheaper the better, tight budget. I can hear others just fine using gtalk, it would be great to talk back. Thanks!
[Nook Color Android Development] DigitalMD:
I have this one i paid aobut $5 for, others have been mentioned in previous post.

USB2.0 7.1CH Sound Adapter Add Stereo Output Mono Input Led

http://www.amazon.com/gp/product/B001KT80IO
[Nook Color Android Development] newellj79:
Just ordered a mic. Am I correct in understanding that the neccassary audio drivers have been merged so I should be able to just plug it in and go?
[Nook Color Android Development] lschroeder:
Starting with Nightly 132 (I thought) they are merged. I use nightly 131 and 126 and have to overwrite alsa.omap3.so with verygreen's. Very easy with Root Explorer.

Edit: Verygreen in OP said 135, maybe because 132, 133, 134, have flawed GPU support and would be best to wait to 135 when the flawed GPU support is removed.

I have the Logitech USB Headset H360. I bought it at Target on clearance, $34.99 for $8.74. A real steal! Two or more weeks ago, sorry! From what I have read, it is the only one that works great with mic input for Opera, Google Voice, etc. After I wake it up, it translate what I say flawlessly. The recordings from sound recorder also sound good. The only place it is shaky is in Skype. Anybody else have luck with mic input in other apps? Anybody else got this headset?