[Q] USB host mode in CyanogenMod 10.1.2 - Nook Color Q&A, Help & Troubleshooting
I am running CyanogenMod version 10.1.2 on a Nook Color via micro SD card. I can not get any USB devices (eg. thumb drives) to work. Nothing happens when I plug a USB device in, so it appears that the Nook Color does not recognize the device. To troubleshoot the problem, I ran a program called "USB Host Diagnostics," and received the following message:
USB Host Controller: version number 0.44
S3C USB Host Driver NOT found!
Root hub present, USB Host Mode is active.
What is the "S3C USB Host Driver? Where can I download it? How do I install the driver on the Nook Color? What steps do I need to take to get USB hosting to work? Thanks for any help you can give me to help me solve the problem!
CM 10.1.2 with USB Host / OTG
nuprps said:
I am running CyanogenMod version 10.1.2 on a Nook Color via micro SD card. I can not get any USB devices (eg. thumb drives) to work. Nothing happens when I plug a USB device in, so it appears that the Nook Color does not recognize the device. To troubleshoot the problem, I ran a program called "USB Host Diagnostics," and received the following message:
USB Host Controller: version number 0.44
S3C USB Host Driver NOT found!
Root hub present, USB Host Mode is active.
What is the "S3C USB Host Driver? Where can I download it? How do I install the driver on the Nook Color? What steps do I need to take to get USB hosting to work? Thanks for any help you can give me to help me solve the problem!
Click to expand...
Click to collapse
Good question.
This is the best I could dig up:
http://forum.xda-developers.com/showthread.php?p=40043731
Please let us know what you figure out!
nuprps said:
I am running CyanogenMod version 10.1.2 on a Nook Color via micro SD card. I can not get any USB devices (eg. thumb drives) to work. Nothing happens when I plug a USB device in, so it appears that the Nook Color does not recognize the device. To troubleshoot the problem, I ran a program called "USB Host Diagnostics," and received the following message:
USB Host Controller: version number 0.44
S3C USB Host Driver NOT found!
Root hub present, USB Host Mode is active.
What is the "S3C USB Host Driver? Where can I download it? How do I install the driver on the Nook Color? What steps do I need to take to get USB hosting to work? Thanks for any help you can give me to help me solve the problem!
Click to expand...
Click to collapse
Cyanogenmod 10.1.2 can't use USB host mode, if you need to use USB host mode use Cyanogenmod 7 and the nook color tools app to enable it
Sent from my NookColor using xda app-developers app
dombeef said:
Cyanogenmod 10.1.2 can't use USB host mode, if you need to use USB host mode use Cyanogenmod 7 and the nook color tools app to enable it
Click to expand...
Click to collapse
To expand on this: CM7 was based on top of an older Linux kernel version (2.6.32), on top of which a lot of hard work was done to enable USB host mode. In porting to CM9/10/10.1, we moved to a newer kernel version (3.0), and some of that work wasn't brought over. There aren't any technical barriers to enabling USB host mode on newer kernels -- someone "just" needs to spend the time to go through the patches for host mode in 2.6.32 and figure out what bits need to be forward ported to 3.0. (In case you haven't figured out yet, time is the scarcest asset in a volunteer project like this one ...)
nuprps said:
What is the "S3C USB Host Driver? Where can I download it? How do I install the driver on the Nook Color?
Click to expand...
Click to collapse
"S3C USB Host" refers to the USB OTG hardware included in Samsung S5PC110 ("Exynos3") devices, including the Nexus S and most Galaxy S series phones. It's not applicable to OMAP devices like the Nook Color, which use different, much more mature USB OTG hardware and drivers from Mentor Graphics and TI (musb_hdrc).
USB Host Mode with CM10
steven676 said:
To expand on this: CM7 was based on top of an older Linux kernel version (2.6.32), on top of which a lot of hard work was done to enable USB host mode. In porting to CM9/10/10.1, we moved to a newer kernel version (3.0), and some of that work wasn't brought over. There aren't any technical barriers to enabling USB host mode on newer kernels -- someone "just" needs to spend the time to go through the patches for host mode in 2.6.32 and figure out what bits need to be forward ported to 3.0. (In case you haven't figured out yet, time is the scarcest asset in a volunteer project like this one ...)
"S3C USB Host" refers to the USB OTG hardware included in Samsung S5PC110 ("Exynos3") devices, including the Nexus S and most Galaxy S series phones. It's not applicable to OMAP devices like the Nook Color, which use different, much more mature USB OTG hardware and drivers from Mentor Graphics and TI (musb_hdrc).
Click to expand...
Click to collapse
THANKS to EVERYONE for responding and clarifying the situation with USB Hosting mode on CM 10. The information saves me a lot of frustration in trying to get my Nook Color to recognize my USB devices. At least I can get USB Hosting working if I use CM7; that's an option, so thanks a lot for pointing it out. I'm a newbie and struggling to learn Android related stuff. If I had the technical know-how, I'd love to help solve the USB Host issue with CM10. For me at least, USB hosting would be a valuable feature in CM10 and beyond. I really like how well CM10 runs on my device with a SanDisk 8Gb micro SDHC card.
To get some of my devices (eg. keyboard) working on CM10, I may try the bluetooth capability in CM 10. However, I read somewhere that the range of bluetooth was limited on the Nook Color. I think that was awhile ago when developers initially unlocked bluetooth on the Nook Color. Is bluetooth range still a significant issue?
THANKS AGAIN!!!
nuprps said:
THANKS to EVERYONE for responding and clarifying the situation with USB Hosting mode on CM 10. The information saves me a lot of frustration in trying to get my Nook Color to recognize my USB devices. At least I can get USB Hosting working if I use CM7; that's an option, so thanks a lot for pointing it out. I'm a newbie and struggling to learn Android related stuff. If I had the technical know-how, I'd love to help solve the USB Host issue with CM10. For me at least, USB hosting would be a valuable feature in CM10 and beyond. I really like how well CM10 runs on my device with a SanDisk 8Gb micro SDHC card.
To get some of my devices (eg. keyboard) working on CM10, I may try the bluetooth capability in CM 10. However, I read somewhere that the range of bluetooth was limited on the Nook Color. I think that was awhile ago when developers initially unlocked bluetooth on the Nook Color. Is bluetooth range still a significant issue?
THANKS AGAIN!!!
Click to expand...
Click to collapse
There is a limited range for bluetooth, it was actually hidden in the official rom and not enabled until some developers found it out.
IF you really want USB host on a newish android version, you might want to use CM9, it still has usb host and I was able to use it a few months ago for a project. But there is limited opengl support and it might have a few minor bugs in it.
USB Host Mode with CM10
dombeef said:
There is a limited range for bluetooth, it was actually hidden in the official rom and not enabled until some developers found it out.
IF you really want USB host on a newish android version, you might want to use, it still has usb host and I was able to use it a few months ago for a project. But there is limited opengl support and it might have a few minor bugs in it.
Click to expand...
Click to collapse
Thanks for the tip about USB hosting mode and CM9. I'll download CM9 and see how it works with my Nook Color and USB peripherals.
USB Hosting with CM9?
dombeef said:
There is a limited range for bluetooth, it was actually hidden in the official rom and not enabled until some developers found it out.
IF you really want USB host on a newish android version, you might want to use, it still has usb host and I was able to use it a few months ago for a project. But there is limited opengl support and it might have a few minor bugs in it.
Click to expand...
Click to collapse
Please provide more detail about how you enabled USB hosting mode in CM9. I downloaded and installed CM9, but I can't figure out how to enable USB mode. I tried an app called "Nook Color Tweaks," but the app clearly states that it does not work with CM9. What steps did you take to get USB hosting on your device running CM9? Please clarify. Thank you!
nuprps said:
Please provide more detail about how you enabled USB hosting mode in CM9. I downloaded and installed CM9, but I can't figure out how to enable USB mode. I tried an app called "Nook Color Tweaks," but the app clearly states that it does not work with CM9. What steps did you take to get USB hosting on your device running CM9? Please clarify. Thank you!
Click to expand...
Click to collapse
I'm sorry,the app I was referring to was Nook Color Tweaks. Whoops :laugh:
A few of the options will not work on CM9 but the USB host will/should work.
I haven't used CM9 in a while now but if usb host doesn't work on the rom I linked to then you may want to use a ROM from eyeballer's unofficial CM9 nightly builds and try the latest opengl build. I had used eyeballer's rom in the past and it did work with USB host.
USB Host mode in CM11
steven676 said:
To expand on this: CM7 was based on top of an older Linux kernel version (2.6.32), on top of which a lot of hard work was done to enable USB host mode. In porting to CM9/10/10.1, we moved to a newer kernel version (3.0), and some of that work wasn't brought over. There aren't any technical barriers to enabling USB host mode on newer kernels -- someone "just" needs to spend the time to go through the patches for host mode in 2.6.32 and figure out what bits need to be forward ported to 3.0. (In case you haven't figured out yet, time is the scarcest asset in a volunteer project like this one ...)
Click to expand...
Click to collapse
I think the changes need to be made in encore_defconfig (or encore _cm11_defconfig). I can try to make the changes but these files are automatically generated in the make process. Could you point me to the configuration files where this happens? I think it must be in device/bn/encore.
Related
PXE Boot supportet?
Hi Has anyone heard something about PXE booting from Shift PC, or how to com in the Bios. We want build the Shift PC automatic with OS Deployment Tool. Thanks for all the info. Röndi
PXE boot is not possible - remember, the Ethernet port is not embedded, but just an USB attached device. Of course, you could create an bootable USB stick that provides a kind of USB support, assuming the necessary drivers for the ethernet port in the USB Hub are available (but in fact, i really doubt so).
OK Thanks i will try it
[Q] USB Drivers from 3.1 to 2.2
Hello, I was wandering if it would be possible to port the USB drivers from Android 3.1 to use on Android 2.2 for use on the A7. I love this tablet, but hate the lack of USB device support. If it is at all possible how hard would it be to do so? Thanks for any help at all. Sorry if this has been asked before.
why don't you try loading dexter A7comb 3.0.1 rom, you can run it as HC or GB..
Does it have USB mouse support? And doesn't it have a fair share of bugs?
i think i included the USB_OTG app in HC3.0 release, which can enable your usb port, if you get a MALE-A to MALE-A cable (OTG cable i think its called) then you get full usb connection support, and mapping to windows works too. Its disabled for use in regular mod i think. technically, the trick is in a terminal program, to do this one line, DEVICE MODE echo 0 >/proc/test_program/usb HOST MODE echo 1 >/proc/test_program/usb
[Q] how can we use a usb host?
Hello, I have do a usb cable with external power alimentation, can we use it on android? It works on Windows and on ubuntu! I have put the kernel with a driver for the usb host. If we search the program used in samsung s2?
Bumping, as I am looking too for a way to run this. There is no clear info about USB host support on this forum. And USB Host IS POSSIBLE in HD2 as hardware supports it, probably with OTG mode. We need a working kernel, or just some info how to run it.
USB Host with Phiremod
I have a nook color running phiremod 7.2 with nook tweaks installed, but usb host mode doesn't seem to be working. I have both USB Host and External VBUS checked, but when I plug in a mouse or joystick, nothing happens. I am not using a powered adapter, but all the mice (and one joystick) I tried are rated at 100mA, so the nook color should be able to handle it. I may be wrong, but shouldn't a usb icon pop up in the status bar if USB Host is working? Because I am not seeing any icon. Please Help!
I use the Mirage kang, so there may be differences... That said, when I use nook tweaks to enable USB, I usually have to toggle it a couple of times with the device plugged in (enable, move mouse, wait, disable, wait, repeat) when the device is recognized, a mouse will pop up (mouse) / you'll be able to use escape to back out of menus (keyboard). I've never noticed an icon in the tray.
ScienceGuy3 said: I have a nook color running phiremod 7.2 with nook tweaks installed, but usb host mode doesn't seem to be working. I have both USB Host and External VBUS checked, but when I plug in a mouse or joystick, nothing happens. I am not using a powered adapter, but all the mice (and one joystick) I tried are rated at 100mA, so the nook color should be able to handle it. I may be wrong, but shouldn't a usb icon pop up in the status bar if USB Host is working? Because I am not seeing any icon. Please Help! Click to expand... Click to collapse usb host in 7.2 doesn't work. You can down to 7.1 or up to cm9. Both of them work perfect
Thanks golizza, I may just move on to Mirage kang, as it looks less buggy/faster. Do you guys know if there is a guide somewhere to flashing a new rom without losing all my apps/settings/homescreen layout? It took forever to get my homescreen to how I like it, I don't want to have to go through that again. Thanks in advance!
If you move to mirage, you'll also have to flash the monolithic kernel if you wantto plug in anything more. CM7.2 stock does have USB host support from what I've seen. Sent from my NookColor using XDA
Is there any downside to flashing the monolithic kernel? Edit: It looks like USB Host support is already included in the default kernel? Is that true? Edit 2: Would it be possible to use the Mirage kernel on phiremod 7.2?
Stock CM7.2 RC3 includes USB Host mode and it works by just activating with Nook Tweaks. Sent from my NookColor using Tapatalk
Do you think using the mirage kernel would fix it?
ScienceGuy3 said: Do you think using the mirage kernel would fix it? Click to expand... Click to collapse Fix what? Your Phiremod? Try using a hub. Does not have to be powered. Sent from my Nook Color running ICS and Tapatalk
Okay, I may be wrong, but I don't see how putting on a non-powered hub will fix the problem, as it looks like a kernel issue as phiremod 7.2 is based on CM7.2 RC1. I thought that flashing a new kernel might fix the problem, as I don't feel like going through the hassle of changing roms.
ScienceGuy3 said: Okay, I may be wrong, but I don't see how putting on a non-powered hub will fix the problem, as it looks like a kernel issue as phiremod 7.2 is based on CM7.2 RC1. I thought that flashing a new kernel might fix the problem, as I don't feel like going through the hassle of changing roms. Click to expand... Click to collapse Usb hosting worked on 7.2 RC1 Too. It has worked on cm7 for a long time. It's just that some devices only work on hubs. Look at dalingrins support forum for nook tweaks. There is a long list of what works and what does not. Btw, what makes you think you have a kernel issue? Sent from my Nook Color running ICS and Tapatalk
Eeek! I went ahead and installed the full Mirage Kang Rom, enabled usb vbus then usb host in nook tweaks, and the mouse lit up, but apparently it wasn't recognized by the nook. I tried to do it again, but now the mouse won't even light up. I used usb diagnostics, and the kernel claims support, but no device was detected. Please help! P.S. leapinlar, The reason I thought it was a kernel issue was because USB Host support is supplied by the kernel, and according to golizza, usb host support doesn't work in phiremod 7.2. That's why I switched to Mirage Kang, which has given me a little bit of hope but still no luck so far.
ScienceGuy3 said: Eeek! I went ahead and installed the full Mirage Kang Rom, enabled usb vbus then usb host in nook tweaks, and the mouse lit up, but apparently it wasn't recognized by the nook. I tried to do it again, but now the mouse won't even light up. I used usb diagnostics, and the kernel claims support, but no device was detected. Please help! P.S. leapinlar, The reason I thought it was a kernel issue was because USB Host support is supplied by the kernel, and according to golizza, usb host support doesn't work in phiremod 7.2. That's why I switched to Mirage Kang, which has given me a little bit of hope but still no luck so far. Click to expand... Click to collapse Did you look at dalingrin's nook tweaks support thread? A lot of good info there. (And golizza is wrong, it works in 7.2).
I've looked at the thread, but it hasn't help much, all I am trying to do is connect a mouse. It connected once for a second, but it hasn't worked since.
ScienceGuy3 said: I've looked at the thread, but it hasn't help much, all I am trying to do is connect a mouse. It connected once for a second, but it hasn't worked since. Click to expand... Click to collapse Ok, I personally have not used a mouse, so I am not much help, other than suggesting to try a non powered hub, and I guess you already tried that. Maybe someone else? Or maybe try posting in dalingrin's support thread.
Flash the monolithic kernel. It might work. The standard mirage kernel detects a thumb drive but doesn't mount it. After flashing the monolithic kernel it works. Or you could try flashing the standard CM7.2 rc3. Make sure you use a hub, powered or not. Sent from my NookColor using XDA
[Q] RT2800 USB vs Monitor Mode
Hi, I have just picked up a Note 3 on Three UK. Am I right in assuming that the wireless chipset BCM4339 which is the same as on the Nexus 5 is still not able to use bcmon mode to allow us to enable monitor mode? Would a specific ROM be necessary to allow a TP-Link WN722n (RT2800usb) to work on OTG cable? I have tried both bcmon on my note 3 and also my TP-Link via USB OTG cable and neither have had any results. Thanks Toby
I've installed USB Host Check to confirm that USB host support is enabled on my note 3. (android.hardware.usb.host.xml OK) (handheld_core_hardware.xml OK) I then installed USB Host Controller. Both devices recognised but obviously not working. (Atheros USB 2.0 WLAN for TP-WN772n) and (ASIX Elec Corp AX88x72A) for USB ethernet. When I run USB Host Controller I get the following error message: "s3c usb host driver not found". Another member on XDA posted a link to the Halaszk Kernel on the N9000 apparantly having OTG USB host support for S3C (Original post http://forum.xda-developers.com/showthread.php?t=2599045) Halaszk Kernel for the N9000 http://forum.xda-developers.com/showthread.php?t=2590320 Toby
I'm still hitting a brick wall on this one search wise. Would stil love to be able to use my WN722N on my Note 3. Has anyone any experience in modifying the Kernel Module to allow the ath9k to work on Note 3?
Getting a wireless adapter to work on Ubuntu or any form of Linux can be difficult if the manufacturer doesn't provide direct driver support or at the very least a "Tar" which would allow an end user (with sufficient skill) to compile the drivers them self. My understanding of this is limited but from what I can remember Android is JavaScript VM running on a Linux kernel. So you need the Linux source code for the driver which usually comes in a "Tar". Feel free to correct me if I am wrong.