wifi-stuff Posted March 26, 2014 Share Posted March 26, 2014 (edited) 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= 0D: Ver= 1.01 Cls=02(comm.) Sub=00 Prot=00 MxPS=32 #Cfgs= 1P: Vendor=239a ProdID=0001 Rev= 1.00S: Product=Adafruit IndustriesC:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=100mAI:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acmE: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=64msI:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acmE: Ad=03(O) Atr=02(Bulk) MxPS= 32 Ivl=0msE: 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 March 26, 2014 by wifi-stuff Quote Link to comment Share on other sites More sharing options...
wifi-stuff Posted March 26, 2014 Author Share Posted March 26, 2014 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 http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/ 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.