Skip to content

Commit c0afe95

Browse files
EthanNelson-Moorejhovold
authored andcommitted
USB: serial: ftdi_sio: add support for PICAXE AXE027 cable
The vendor provides instructions to write "0403 bd90" to /sys/bus/usb-serial/drivers/ftdi_sio/new_id; see: https://picaxe.com/docs/picaxe_linux_instructions.pdf Cc: stable@vger.kernel.org Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com> Signed-off-by: Johan Hovold <johan@kernel.org>
1 parent 8af4274 commit c0afe95

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/usb/serial/ftdi_sio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,7 @@ static const struct usb_device_id id_table_combined[] = {
848848
{ USB_DEVICE_INTERFACE_NUMBER(FTDI_VID, LMI_LM3S_DEVEL_BOARD_PID, 1) },
849849
{ USB_DEVICE_INTERFACE_NUMBER(FTDI_VID, LMI_LM3S_EVAL_BOARD_PID, 1) },
850850
{ USB_DEVICE_INTERFACE_NUMBER(FTDI_VID, LMI_LM3S_ICDI_BOARD_PID, 1) },
851+
{ USB_DEVICE(FTDI_VID, FTDI_AXE027_PID) },
851852
{ USB_DEVICE_INTERFACE_NUMBER(FTDI_VID, FTDI_TURTELIZER_PID, 1) },
852853
{ USB_DEVICE(RATOC_VENDOR_ID, RATOC_PRODUCT_ID_USB60F) },
853854
{ USB_DEVICE(RATOC_VENDOR_ID, RATOC_PRODUCT_ID_SCU18) },

drivers/usb/serial/ftdi_sio_ids.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@
9696
#define LMI_LM3S_EVAL_BOARD_PID 0xbcd9
9797
#define LMI_LM3S_ICDI_BOARD_PID 0xbcda
9898

99+
#define FTDI_AXE027_PID 0xBD90 /* PICAXE AXE027 USB download cable */
100+
99101
#define FTDI_TURTELIZER_PID 0xBDC8 /* JTAG/RS-232 adapter by egnite GmbH */
100102

101103
/* OpenDCC (www.opendcc.de) product id */

0 commit comments

Comments
 (0)