USB: serial: ftdi_sio: add id for Airbus DS P8GR
Subsystems (2)
PATCH 1/1 USB: serial: ftdi_sio: add id for Airbus DS P8GR
Add AIRBUS_DS_P8GR device IDs to ftdi_sio driver.
---
The device allows a simple AT style modem command set. Tested up to the advertised maximum of 115200 baud.
Bus 001 Device 013: ID 1e8e:6001
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x1e8e idProduct 0x6001 bcdDevice 6.00 iManufacturer 1 Airbus Defence and Space iProduct 2 P8GR iSerial 0 bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 90mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 P8GR
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
--- drivers/usb/serial/ftdi_sio.c | 2 ++ drivers/usb/serial/ftdi_sio_ids.h | 6 ++++++ 2 files changed, 8 insertions(+)
drivers/usb/serial/ftdi_sio.c +2 -0
@@ -985,6 +985,8 @@ static const struct usb_device_id id_table_combined[] = {/* Infineon Devices */ { USB_DEVICE_INTERFACE_NUMBER(INFINEON_VID, INFINEON_TRIBOARD_TC1798_PID, 1) }, { USB_DEVICE_INTERFACE_NUMBER(INFINEON_VID, INFINEON_TRIBOARD_TC2X7_PID, 1) }, +/* Airbus Defence and Space devices */ + { USB_DEVICE(AIRBUS_DS_VID, AIRBUS_DS_P8GR) },/* GE Healthcare devices */ { USB_DEVICE(GE_HEALTHCARE_VID, GE_HEALTHCARE_NEMO_TRACKER_PID) },/* Active Research (Actisense) devices */
drivers/usb/serial/ftdi_sio_ids.h +6 -0
@@ -1495,6 +1495,12 @@*/ #define FTDI_EKEY_CONV_USB_PID 0xCB08/* Converter USB */ +/* +* Airbus Defence and Space +*/ +#define AIRBUS_DS_VID 0x1e8e/* Vendor ID */ +#define AIRBUS_DS_P8GR 0x6001/* Tetra P8GR */ +/* * GE Healthcare devices */
Johan Hovold
maintainerQuoted 3 lines · Max Schulze
Add
AIRBUS_DS_P8GRdevice IDs toftdi_siodriver.Signed-off-by Max Schulze <[email protected]>
Thanks for the patch. Note that I moved the new defines to try to keep (some of) the ids sorted on VID, and dropped the comment header in the id-table before applying.
Johan
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html