[Q] Android Keyboard - Input Corruption - Nook Color Q&A, Help & Troubleshooting

NC Original with CM7.1.0 with encore-32-zOMG kernel.
The keyboard works as expected without USB or with USB connected to the charger.
If the USB (B&N cable) is connected to my windows laptop each keypress on the android keyboard generates several spurious characters in the input buffer.
Also the Unlock slider does not 'slide' when the cable is connected to the laptop.
Reverting to the original CM 7.1.0 uImage behaves the same.
Does anyone else see this, or have any idea what is wrong?

Same with mine. Apparently a common problem.

In an attempt to understand what is going on I installed Sketch n Draw.
Seems to me that USB is depriving the touchpad of CPU cycles. Drawn segments arrive long after they were sketched or not at all with lots of input being lost.
I know that lots of work has been done to get USB host to work.
Does anyone know when this problem was first seen?
Presumably there is no point in testing BN stock as IMSMC input is off when USB is active.

FWIW, I had the problem when the last year when the NC was released -- the local B&N store swapped the unit without making any difference. It has persisted through rooting, all updates through 1.3, CM7.1 and MiRaGe Kang 7.2 (current system). My wife's has the same issue. From that, I would conclude that it's deeper than an OS issue.
I just don't use it for anything while it's plugged in!

Related

NC not recognized at all on Win7 64-bit Pro

I have searched the Q&A and General forums and found no one with my question.
Some time ago I noticed that my NC is no longer recognized when I plug it in to my PC via the stock USB cable. I am now on n147 and the problem persists.
By "not recognized" I mean that the PC doesn't see it in any capacity. No ADB Composite Interface, no generic Composite USB interface... Nothing. I can plug it in, pull it out, all with no recognition whatsoever.
I have ADB and the USB drivers installed. As I said, this used to work flawlessly.
Can anyone offer any solutions or suggestions for how I can figure out where the problem is?
When you plugged the NC in, did you see any "removable drive" on PC?
No.
No removable drives, with or without drive letters and no new devices listed in the Device Manager.
I don't know if the nb148 causing this problem or not but have you installed Nook Color Tweak lately?
nb148? Not sure what that is.
I installed NC Tweaks as soon as it came out and have had it installed since then.
I suppose I could try uninstalling it and seeing if that fixes things, but I don't think it will since the changes are already in the kernel and Tweaks is there simply to make modifications of variables.
night-build 148 that is
Anyway, if you have Nook Tweak installed, then make sure to CHECK OFF the Host USB option.
votinh said:
I don't know if the nb148 causing this problem or not but have you installed Nook Color Tweak lately?
Click to expand...
Click to collapse
Since Nightly 147 is the latest at this point in time... 148 cannot be causing the problem.
Thanks Dizzy.
I don't have USB Host on.
How's about now?
Given that this has been a problem since the sub-n130 releases, I doubt n148 will make a difference.
n148 makes no difference and I've now lost deep sleep.
I guess there's nothing to be done. It's too bad too, since I like using the internal storage.
I have no problem at all running with Win7 x64 OS
I didn't use to either... Until I did.
@mr_fosi: Did you go in and disable usb debugging mode?
If you have done that and still have the problem... you may need to go through device manager, on view menu check show hidden device, delete all B&N devices in any group they show in (most likely only in Disk drives) and all devices in Universal Serial Bus controllers that have device ID's beginning with VID_2080.
Hi again Dizzy.
Yes, I tried disabling USB Debugging but it didn't do anything.
I also tried your other suggestion and I see no applicable devices once I show hidden devices. No USB devices with that VID and no disk drives.
I found that the stock Nook Color cable will NOT work.
BUT I can use just about any other cable and it connects fine.
I run Win 7 64 bit.
Try a different cable and see if that helps.
Thanks for the suggestion, framitz.
I'll give it a go and see what happens.
mr_fosi said:
Thanks for the suggestion, framitz.
I'll give it a go and see what happens.
Click to expand...
Click to collapse
If you don't get it going... pm me... I'll write a program to scour the registry looking for known NC devices and remove them... should make reinstalling drivers easier.
You may want to hook the NC up and look for any "unknown" devices in device manager and add info to the winusb.inf file for installing drivers... I've added a couple that some older rom's reported the device as.

[Q] Audio via USB?

Since the Nook Simple Touch does not have an audio jack, it's a deal breaker for me.
However, might there be some way to route audio via usb -> 1/8th TRS? If so, I would definitely jump on the device and buy it as soon as I get some money to spend on new toys.
Bluetooth maybe?
Well since the Nook Color hardware is so close to the N2E, since they have working bluetooth, I bet it won't be too long until we see the N2E with it as well.
http://forum.xda-developers.com/showthread.php?t=897934&highlight=bluetooth
http://forum.xda-developers.com/showthread.php?t=1032834&highlight=bluetooth
Bluetooth is great, but it has quality issues. Is there any way to get audio straight out of USB?
would this soulve the ****ty audio hardware issues? my car offers USB bt and aux would USB do the trick?
Sent from my GT-I9003 using XDA App
cephasara said:
Well since the Nook Color hardware is so close to the N2E, since they have working bluetooth, I bet it won't be too long until we see the N2E with it as well.
http://forum.xda-developers.com/showthread.php?t=897934&highlight=bluetooth
http://forum.xda-developers.com/showthread.php?t=1032834&highlight=bluetooth
Click to expand...
Click to collapse
I suppose giving our nook bluetooth would be without sense - why ebook reader would have it?
Sent from my GT-I5700 using Tapatalk
domi.nos said:
I suppose giving our nook bluetooth would be without sense - why ebook reader would have it?
Sent from my GT-I5700 using Tapatalk
Click to expand...
Click to collapse
Well I believe the SoC includes Bluetooth hardware. Since it's there why not have that ability on the Nook as well. Enabling Bluetooth could solve general lack of audio issues for some people.
I thought I saw it somewhere that it's concluded Nook STR does NOT have function BT?
This week at Walmart I saw a USB / Bluetooth adapter. I believe you would need a micro-USB adapter to connect it to the Nook. But as I was looking at it, I was thinking of this thread and wondering if you could make the physical connections work, would the nook end up with Bluetooth capability.
Any thoughts on if this would work or not ?
not bleutooth ...
the thread seems to be going into bleutooth mode...
Was wondering if connectiing a headphone with a microusb adapter would help get the audio?
like say this micro usb to headphones adapter
www[dot]amazon[dot]com/Samsung-Headset-Adapter-Strive-Flight/dp/B003W057FS/ref=pd_cp_cps_1
same as catzilla this would really help me decide on the nook touch
People seem to get it working with the nook colour, so it may be for the touch as well.
First step is to get USB host mode
check this thread,
http://forum.xda-developers.com/showthread.php?t=1105497
Saombra,
But this only works on CM7. Still waiting for something that may run on regular nook android. And it is quite scary that you may fry your usb on th enook in case you forget to switch it back to client mode before connecting to your computer.
apeine said:
Saombra,
But this only works on CM7. Still waiting for something that may run on regular nook android. And it is quite scary that you may fry your usb on th enook in case you forget to switch it back to client mode before connecting to your computer.
Click to expand...
Click to collapse
Someone with a little patience could probably take the required code from the latest CM 2.6.29 kernel sources and apply it to the Nook kernel sources.
Also I seem to recall that the "usb power issue" was solved some time ago?
USB host mode is nice and all that, but are there actually any libs in Android that can push audio trough USB?
I remember dreaming of being able to connect my X10 to an external DAC, but that was before I invested in a couple of squeezeboxes
Well, I hope we can find someone with time and knowledge to do so.
And regarding the usb host, that is the information I found from saombra's post.
I don't know regarding library, but I know that in this post those guys learned how to get audio from a dock using a samsung smartphone usb port. So there is a way. Maybe the only way.

[Q] Partly broken USB input - charging but "unknown device"

Hi guys!
I've had a problem over the day with my beloved HD2, and I've started to fear that it might actually be the hardware starting to decay. About a day or two ago, when inserting my phone to the MicroUSB cable, it recognized the HD2 just fine, had access too USB mount, ADB and all of that. Transfered some music to the SD-card (Trancent 16gigs Class 4, btw - still very well recognized by the phone to the time at writing this), but now, some time later I get nothing out of connecting the phone to either my laptop or rig.
I know it's not the drivers or the cable, since I've tried with others cables and a few other computers. The message is the same old "The device could not be recognized". But the funny thing is, somehow the device must know that its connected to a computer anyway, 'cause it instantly enables debugging and the option to enable mount. I, as of now, has had no luck getting into the SD card, sadly. Not even been able to pull logcats or anything, setting up wireless ADB hasn't been sucessful either - so where I stand now, I'm kinda in need for a helping hand.
Has anyone else ever had this problem too, or am I left out in the cold?
By the way, even managed to put on an older nightly CM9 build, as it was stored on my SD. No luck there either. MAGLDR mount / recovery mount doesn't function either. Same error.
The ROM I first had the problem on was PARANOIDANDROID v0.6. Then a nightly CM9 from sometime last week. Both immensely close to stock and ICS based. LEO512, by the way.
Please, give me a hand!
TL;DR: USB broken, still charging, help.
Your usb is getting loose (usb data connection becomes irratic and then stops working, continued use results in USB port ripped from mainboard), try to not use it while plugged in and see if the repair shop can fix it for you without breaking usb data. You can use the SwiFTP app in playstore to transfer files in the mean time.
You may also want to use a cradle charger to minimize USB port being used.

Usb Host Mode Problem

Let me start this thread by stating that I DID have my Nook Color, booted off an sd card with cm9, working with my usb powered hub connected to a mouse, controller, flash drive, and keyboard. But through a possible hardware error on my part, I cannot get it to work anymore. I'm fairly adept at modifying my Android Devices. I used USB Host Controller and looked through my dmesg logs and the only thing I found of note was it recognized my 7 port hub, but had it suspended. I attempted to enabled/disable USB Host in my Terminal Emulator with commands found in the USB Development Thread but it simply did nothing. Reading logs, etc. is not necessarily a strong suit of mine. So finding what MAY by the problem, has been a bit of a pain the past 2 days. However I will detail my problem below:
Items used:
- 7 - Port USB Powered Hub from Micro Center
- OTG Cables bought from Amazon.
- Nook Color (With various roms. Notably Cm7.2, CM9 (Unsure of nightly version), AOKP Build 40):
- Belkin USB Keyboard and Mouse
- PS3 Controller
- Sandisk 16gb Micro Flash Drive
Apps Used:
- Nook Color Tweaks
- USB Host Viewer
- USB Host Diagnostics
- USB Host Controller
About 3 days ago I decided to set up a station for my tablet as a mini-computer. I had successfully connected a mouse and keyboard (independently of each other) previously but I wanted to go ahead and use my powered usb hub and get a real mini-computer experience on my android tablet. These are the results (All tests include the use of an OTG Cable to connected to either the USB Device or Powered Hub):
Test 1:
Rom: CM 7.2 Kang
1 USB Device Connected: Mouse (Yes), Keyboard (Yes), Flash Drive(No), Game Controller(No) - All enabled via Nook Color Tweaks
Devices Connected to Hub: No
Test 2:
Rom: CM 9
1 USB Device Connected: Mouse (Yes), Keyboard (Yes), Flash Drive(No, I believe it required more than 100mah to power), Game Controller (Yes) - All worked by just Plug N Play.
Devices Connected to Hub: Yes (The Mouse, Keyboard, Flash Drive, and Controller worked simultaneously)
[To Note: Inbetween this test I pulled the OTG-Cable connected to the hub without un-mounting the flash drive first. CM 9 wasn't happy and told me to properly un-mount my sdcard first before pulling the cable. (I bowed to my Android lord and said "okay".)]
Test 3:
Rom: AOKP Build 40
1 USB Device Connected: Mouse (Yes), Keyboard (Yes), Flash Drive(No, I believe it required more than 100mah to power), Game Controller(I have not verified) - All worked by using Nook Color Tweaks. Did not Plug N Play.
Devices Connected to a Hub: No (However it will charged).
Problem:
Looking back at my 'To Note'. Somehow I believe this has caused the problem. Since then USB Host Mode has only worked with a single device NOT connected to the USB Hub. Although my Nook will charge connected to the powered hub with or/without the hub turned on it still will not allow a single device to worked. I've used Nook Color Tweaks with my USB Hub plugged in with both USB Host Mode and VBus External Powered checked (In all 3 roms; AOKP, CM 7, and CM 9) and the only successful attempt made where the HUB and all 4 devices worked were in CM 9 for about a day and a half. Then I pulled the OTG Cable without un-mounting the flash drive, and alas, no-go with the Powered USB Hub.
USB Host Controller tells me I have USB Host Mode enabled (In all 3 roms) yet going to connected devices shows nothing. USB Host Viewer (In all 3 roms) shows nothing connected. And USB Host Diagnostics tells me various things that I'm willing to list here if needed (Host API, Kernel, etc), yet each time the USB Devices connected during the diagnosis, they are not recognized.
Troubleshooting:
- I've plugged my usb powered hub to my computer. It works just fine with each device connected, at once, or together.
- Each device works independently connected to my computer (Keyboard, Mouse, Flash Drive, Game Controller).
- I can still connect a keyboard and mouse independently to my nook with Nook Color Tweaks, but Plug N Play does not work.
- I've attempted both USB Host Mode off of SD Card (CM 9) and EMMC (AOKP Build 40) where Plug N Play only worked with SD Card (CM 9).
- The Kernel for all 3 roms has been 2.6.32.xx or greater (Cm 7.2 used Dalingrin's OC kernel, AOKP Build 40 uses 2.6.32.59, and I'm unsure of CM 9's).
At this point I'm at a loss and I am looking for help. I've done a fair bit of searching (Admittingly too much during work) on these forums. As stated in the beginning of my post, I had it working with all 4 devices in CM 9 booted off my sd-card, since then I've switched my EMMC from CM 7.2 Kangs to AOKP Build 40 (hawt) and successfully used both with a mouse and keyboard. But I cannot get the powered USB HUB to do anything BUT power my Nook Color.
Thank you for your responses and if you need logs, links to the items, apps, or roms used,(forum wouldn't let me post all of them) screenshots from apps, anything, I will respond as quickly and as efficiently as possible.
Have you considered on just reinstalling the whole build over from scratch? I think the USB host is part of the drivers in the kernel layer and that kernel layer might have become corrupted. If you got wifi and audio working on that nook color then the likelihood of having a hardware problem by that definition becomes less of an option, the USB hub is driven by the CPU. So if you got cyanogenmod up and booted, this points to a possible kernel opps. You stated you had it up before. I don't work on kang and AOKP builds so how is the stability of the usb host mode for those builds? Sounds more of a software issue and not some hardware issue. Unless you just like trying to decompile software for a learning experience for yourself. Did you do a hardware hack for your nook as stated in this thread here? http://hackaday.com/2010/02/10/usb-host-mode-for-droid/
Also make sure you disable all of your apps on your device, that is another possible cause, we don't know what type of apps or mods you have made.
Unless you got support to your USB the only way to find the problem is to decompile your whole build through ADB. Logs will not find the problem if its in the kernels. Or are you using ADB through wireless? Check this thread here if you haven't seen this thread yet. There is an app that gives you USB host support already. http://forum.xda-developers.com/showthread.php?t=1468531
UPDATE Aug 31st. 2012. Check thread here on USB host support. http://forum.xda-developers.com/showthread.php?t=1459892
If you want more experience on how android operates, you can start off by building your own cyanogenmod on your computer, the cyanogenMod wiki here shows you how. http://wiki.cyanogenmod.com/wiki/Barnes_&_Noble_Nook_Color:_Compile_CyanogenMod_(Linux)

TPT works with EyeTV Micro

For those who are interested, this will work (with a couple minor issues) on the TPT, although it is not listed as compatable on the manufacturers website. http://www.elgato.com/en/eyetv/eyetv-micro
If you are running Lenovo's stock ICS (mine is a ROW version), the app on Google Play will say that your device is incompatible and won't let you install, but I got a copy of the apk and loaded it myself and it works! However, if you are running Koshu's CM10 (see here http://forum.xda-developers.com/showthread.php?t=1846044), Google Play recognises the device and you can download the app directly.
The second issue is that I have not been able to make it work on the micro USB port. However it does work with the full size USB port (you have to love the TPT !).
The device comes with a short micro-to-full USB conversion cable, so it works out of the box, but I use one of these http://www.ebay.com/itm/Usb-A-M-male-to-micro-usb-b-female-connector-adapter/390606296042?_trksid=p2047675.m1850&_trkparms=aid%3D222002%26algo%3DSIC.FIT%26ao%3D1%26asc%3D11%26meid%3D8150487256272384573%26pid%3D100011%26prg%3D1005%26rk%3D3%26sd%3D350803955836%26
If you put the TPT in a Lenovo dock, the device won't work in the USB port on the tablet, but it will work if you plug it into the usb port on the dock itself. Obvioulsy it isn't much fun watching TV in portrait orientation, but I do get to listen to some digital radio stations that are broadcast by a couple of TV networks.
I have to repeat that the TPT is NOT listed as compatable and I am only relating my experience. I can't guarantee that yours will be the same. Oh, one more thing. Do not expect miracles. The device comes with a couple of different (small) antennas that only work in areas with good reception. There are a lot of areas inside my house where it gets little or no reception although it does come with a connector for a coaxial cable, if you have access to an external anntena. Kinda defeats the purpose though.
Have fun.....

Categories

Resources