Hi, In order to use adb for android, I compiled the android linux kernel with "S3C USB OTG Host support". after boot with this kernel, we can get following msg from dmesg: <5>usbmon: debugfs is not available <6>s3c_otghcd s3c_otghcd: S3C OTGHCD <5>UBI: background thread "ubi_bgt0d" started, PID 394 <6>s3c_otghcd s3c_otghcd: new USB bus registered, assigned bus number 1 <6>s3c_otghcd s3c_otghcd: irq 90, io mem 0x7c000000 <6>usb usb1: configuration #1 chosen from 1 choice <6>hub 1-0:1.0: USB hub found <6>hub 1-0:1.0: 1 port detected But when I try to lsusb from Host PC linux, there is no USB device is attached. How could I make it work? further more, I also tested with another USB port by plugging & unplugging a Bluetooth dongle ( with HCI USB driver built into kernel), there is no message available from dmesg. So How could I enable that USB port? Thanks in advance.
How to enable USB for android on mini6410?
Hi Pulq, Were you able to get the mini usb functional uunder Android? I am trying to do the same but with not much success for now. Thanks.
I have the same problem. i can't use adb from Android. When i connect the board to PC, it is not detected as usb device. Can somebody help please !! Lionel
same problem! i found that this problem appears every time i modify the kernel. for example default kernel has no USB detection problem, but if i change the default config using make menuconfig, then USB auto detection disabled. i am sure that config file modification is the root of this malfunction. i tried to conclude every config that a USB interface need but the problem not be solved. tomorrow i will take another try with other configs and let you know.
Have you done a diff on your default kernel config file and the modified one to be sure that you have only changed one thing? meld seems to be a useful tool for this.
Have a look at http://stackoverflow.com/questions/11183792/android-usb-host-and-hidden-... , at first glace it may answer your problem. Phil
when i used gcc 4.5.1 the problem disappears. it seems that every kernel should be compiled with appropriate gcc version.