summaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorJulian Calaby <julian.calaby@gmail.com>2010-01-05 13:57:46 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 23:53:31 +0100
commit7c5d8c394a077a686cfa646cd85dc159a2a940cc (patch)
tree5b3d3ff225bd99bd408af0230adfbcaa65e0715b /drivers/usb/class/cdc-acm.c
parentusbmon: add bus number to text API (diff)
downloadlinux-7c5d8c394a077a686cfa646cd85dc159a2a940cc.tar.xz
linux-7c5d8c394a077a686cfa646cd85dc159a2a940cc.zip
USB: cdc_acm: Add support for pbLua console port
The pbLua firmware (http://pblua.com/) for the Lego Mindstorms NXT provides a CDC ACM port for it's serial console. This used to be detected automatically, but this support has been dropped, probably for sensible reasons. Explicitly add support for this device by adding an item to the device ID table. Signed-off-by: Julian Calaby <julian.calaby@gmail.com> Cc: Oliver Neukum <oliver@neukum.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
-rw-r--r--drivers/usb/class/cdc-acm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 6ae7ccaff07f..d071da96e075 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1594,6 +1594,9 @@ static struct usb_device_id acm_ids[] = {
/* NOTE: non-Nokia COMM/ACM/0xff is likely MSFT RNDIS... NOT a modem! */
+ /* Support Lego NXT using pbLua firmware */
+ { USB_DEVICE(0x0694, 0xff00), },
+
/* control interfaces with various AT-command sets */
{ USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ACM,
USB_CDC_ACM_PROTO_AT_V25TER) },