[PATCH 0/2] cdc_acm: Add support for pbLua console port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oliver, Greg, etc.

pbLua is an alternative firmware for the Lego Mindstorms NXT programmable brick thing stuff thingo. It is essentially a ported Lua interpreter for the ARM chip on the NXT.

More information can be found at http://pblua.com/

How it works is that it creates a Bluetooth or USB "serial" console port through which Lua code is issued. This code is then interpreted and actioned by the programmable brick.

For Bluetooth, the brick uses a very standard and cut down single-module RFCOMM implementation, however for USB, it produces a seemingly standard CDC ACM interface.

This was supported, out of the box, by Linux, probably as a side effect of overly ambitious device ids, and recently, (I'm not sure which commit) this support was unknowingly dropped.

This patch set adds support for this device, then adds a quirk to the cdc_acm driver to not warn us that this device is not a modem.

Only the first patch is necessary for supporting this device, and the second is optional, but nice.

Please note that the second patch has only been tested (with the expected results) with the Lego device as I have no other CDC ACM devices, and, as such, may not work as expected.

Thanks,

Julian Calaby

P.S. Please note that I am not subscribed to the linux-usb list, and I would ask that you keep me in the CC list.

Julian Calaby (2):
  cdc_acm: Add support for pbLua console port
  cdc-acm: Silence "It is not a modem." error.

 drivers/usb/class/cdc-acm.c |    7 ++++++-
 drivers/usb/class/cdc-acm.h |    1 +
 2 files changed, 7 insertions(+), 1 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux