Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Beagle board: Kernel 2.6 : omap_udc problem ??

Status
Not open for further replies.

kamejoko80

Member level 3
Joined
Apr 7, 2004
Messages
55
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Location
VietNam
Activity points
418
omap_udc

Hi everybody!

I got the Beagle boad's linux kernel 2.6 at this site:
https://code.google.com/p/beagleboard/wiki/BeagleSourceCode

I've already built this kernel and boot the board successfully:

1> Firstly, I've built 2 modules "musb_hdrc.ko & g_ether.ko" and no problem to insert these modules into the linux system.

2> Secondly, I've built 2 modules "omap_udc.ko & g_ether.ko" but I cannot insert
the "g_ether.ko" into the linux system.

Code:
$ insmod omap_udc.ko 
$ insmod g_ether.ko 
$ insmod: cannot insert 'g_hid.ko': No such device

Go to omap_udc.c and I found the register function (usb_gadget_register_driver()) break down at the following line :

Code:
/* basic sanity tests */
 if (!udc) 
     return -ENODEV;

I've used printk() to find out this bug and found that the omap_udc_probe() can not be called here! ( just only init function is called).

I heard that omap_udc.c is implemented for gadget driver, and I want to use it for developing my own HID keyboard and mouse gadget devices !

Is "musb_hdrc" can used and support for only USB standard request, for class USB request such as HID gadget keyboard and mouse is it impossible ???
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top