Skip to content

Commit

Permalink
USB: serial: ftdi_sio: add Omron CS1W-CIF31 device id
Browse files Browse the repository at this point in the history
works perfectly with:
modprobe ftdi_sio
echo "0590 00b2" | tee
/sys/module/ftdi_sio/drivers/usb-serial\:ftdi_sio/new_id > /dev/null

but doing this every reboot is a pain in the ass.

Signed-off-by: Niek Nooijens <niek.nooijens@omron.com>
  • Loading branch information
noonie committed Aug 3, 2022
1 parent 3d7cb6b commit 03c5724
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/serial/ftdi_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,8 @@ static const struct usb_device_id id_table_combined[] = {
/* IDS GmbH devices */
{ USB_DEVICE(IDS_VID, IDS_SI31A_PID) },
{ USB_DEVICE(IDS_VID, IDS_CM31A_PID) },
/* Omron devices */
{ USB_DEVICE(OMRON_VID, OMRON_CS1W_CIF31_PID) },
/* U-Blox devices */
{ USB_DEVICE(UBLOX_VID, UBLOX_C099F9P_ZED_PID) },
{ USB_DEVICE(UBLOX_VID, UBLOX_C099F9P_ODIN_PID) },
Expand Down
6 changes: 6 additions & 0 deletions drivers/usb/serial/ftdi_sio_ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,12 @@
#define IDS_SI31A_PID 0x13A2
#define IDS_CM31A_PID 0x13A3

/*
* Omron corporation (https://www.omron.com/).
*/
#define OMRON_VID 0x0590
#define OMRON_CS1W_CIF31_PID 0x00b2

/*
* U-Blox products (http://www.u-blox.com).
*/
Expand Down

0 comments on commit 03c5724

Please sign in to comment.