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.

Serial Console over USB on PandaBoard

Hi,

I am trying to  enumerate USB as a Gadget Serial device on Panda Board but i could not achieve this  ....

I enabled Gadget Serial Driver functionality in my kernel using the following menuconfig options .

Device Drivers

  • Device Drivers
    • USB Support
      • Enable
        • <*> Inventra Highspeed Dual Role Controller (TI, ...)
  • USB Support
    • USB Gadget Support
    • Enable:
      • USB Peripheral Controller (Inventra HDRC USB Peripheral (TI, ...))
      • <*> USB Gadget Drivers

After Succesful bootup , i see the following messages in my dmesg and I can see  that a new device node is created ---->  /dev/ttyGS0

[   28.590423] gserial_setup: registered 1 ttyGS* device
[   28.596008] g_serial gadget: adding config #2 'CDC ACM config'/bf006388
[   28.603088] g_serial gadget: adding 'acm0'/edb78e40 to config 'CDC ACM config'/bf006388
[   28.611663] g_serial gadget: acm ttyGS0: dual speed IN/ep1in OUT/ep1out NOTIFY/ep2in
[   28.619873] g_serial gadget: cfg 2/bf006388 speeds: high full
[   28.626068] g_serial gadget:   interface 0 = acm0/edb78e40
[   28.631896] g_serial gadget:   interface 1 = acm0/edb78e40
[   28.637817] g_serial gadget: Gadget Serial v2.4
[   28.642669] g_serial gadget: g_serial ready

But  the main problem is at the host Side ...  Ideally the Host shud have created an entry /dev/ttyACM0 .. but in my case, it is not  ...  These are the message from dmesg of my host ..

[32252.969551] usb 1-8: USB disconnect, address 63
[32253.764043] usb 1-8: new high speed USB device using ehci_hcd and address 64
[32253.896994] usb 1-8: configuration #1 chosen from 1 choice

I need your suggestions to figure out what is missing in my kernel which is stopping the enumeration to happen ..

Kernel, uboot and xloader Sources :   http://omappedia.org/wiki/4AI.1.4_OMAP4_Icecream_Sandwich_Panda_Notes

Target  : PandaBoard (make ARCH=arm panda_defconfig)

Board  : OMAP4430

Host : Ubuntu 10.04 LTS

I have an interesting observation here ..  If i take the kernel sources from git clone https://android.googlesource.com/kernel/omap.git, the USB enumeration as a Serial device works fine .. I can see a /dev/ttyACM0 getting created at the host side ...