This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Unable to detect USB device on DM37x with an ICS AOS installed ?!



Hi , 

I  have a board programmed as a USB HID device . I want the ICS to detect this board as a comm port and communicate with it serially . I can see the board detected as an HID device in the kernel messages , but  throws a "claimed by neither input, hiddev nor hidraw" error . I  have tried looking at usb-serial apps  present , but to no success.

I was wondering if anybody has any suggestions/pointers  so as how to go about ? 
I have the pre-built ICS image installed .  Do I need to make any modifications in the kernel ? 

Any help is appreciated !
Thank you  

 

  • Hi Omkar,

    Try to see if your device is register as input device

    $ getevent -p

  • Thanks for the reply Satish.

    I CANNOT see my board  registered when I do the getevent -p  . When I connect a USB Keyboard , I can see it registered along with other random entries as well.

    Does an HID device show up in the ttys ??   How can I communicate with it ?

    Do I need to program my board as a Virtual Comm Port or something   so that I can communicate serially to it?

    Is there any reference / links that you would advice me to  go through, so that I can better understand these conceptual questions I have ?

    Thanks again !

     

  • Hi Omkar,

    1. If you can see the entry for your device then reboot the target ( while HID is connected). Then after reboot you can see the entry using getevent <your device e.g. /dev/input1/ etc..>

    2. Below link give you in depth detail, how event is processed in android.

    http://cjix.info/blog/misc/internal-input-event-handling-in-the-linux-kernel-and-the-android-userspace/

    BR,

    satish

  • Thanks for the info Satish .

    Actually I cannot see a path appended to my board , as I can see for the usb keyboard (/dev/input/event3)
    my kernel message snippet for the board when plugged in,

    2866.104125] usb 1-2.2: new full speed USB device using ehci-omap and address 7
    [ 2866.231750] usb 1-2.2: New USB device found, idVendor=1fc9, idProduct=0003
    [ 2866.238922] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 2866.246551] usb 1-2.2: Product: LPC11Uxx USB HID
    [ 2866.251373] usb 1-2.2: Manufacturer: NXP SEMICOND
    [ 2866.256347] usb 1-2.2: SerialNumber: DEMO00000000
    [ 2866.273315] generic-usb 0003:1FC9:0003.0004: claimed by neither input, hiddev nor hidraw

    I will surely go through the link you provided . Does the  "claimed by neither input, hiddev nor hidraw" say/mean anything ?

    Thanks a lot for the guidance !