Jump to content

Getting drivers added to firmware


Recommended Posts

I'm trying to use a device that needs the cdc_acm driver, but it doesn't appear to be included in the latest Mk V image. How do we go about requesting that it be added? Do we need to make a bug report as a feature request?

Here is the device working on different linux machine (kernel 2.6.32). It is a 2x16 character LCD display that emulates a USB Serial converter:

T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.01 Cls=02(comm.) Sub=00 Prot=00 MxPS=32 #Cfgs= 1
P: Vendor=239a ProdID=0001 Rev= 1.00
S: Product=Adafruit Industries
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=64ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E: Ad=03(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms

# lsmod | grep cdc_acm

cdc_acm 21862 0

Other WRT images may have it under a slightly different name (according to http://dd-wrt.com/wiki/index.php/USB):

kmod-usb-acm -- Kernel modules for USB ACM (Abstract Control Model) support

acm.o (Modem (CDC ACM) support)

I am also hoping to use the HID driver:

hid.o (Human Interface Device (full HID) support w/ /dev/hiddev raw HID device support)

So I can plug in game controllers and control the Pineapple without lugging a keyboard and monitor around.

Edited by wifi-stuff
Link to comment
Share on other sites

Ok, so nevermind I guess. Can someone tell me if I screwed myself by doing what I did?

I was looking through the installed packages with opkg, noticed there may be a package for the kernel module I needed. So I checked the url that opkg uses, which ends up at


So I pull down the kmod-usb-acm driver, and it wants an updated kernel. I pull down kernel 3.3.8-1, and install them both. Re-plug my device, and I get a ttyACM0 device, and it works!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...