Johan Hovold
3d7df3f83f
USB: serial: simple: add Nokia phone driver
commit c4b9c570965f75d0d55e639747f1e5ccdad2fae0 upstream.
Add a new "simple" driver for certain Nokia phones, including Nokia 130
(RM-1035) which exposes two serial ports in "charging only" mode:
Bus 001 Device 009: ID 0421:069a Nokia Mobile Phones 130 [RM-1035] (Charging only)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0421 Nokia Mobile Phones
idProduct 0x069a 130 [RM-1035] (Charging only)
bcdDevice 1.00
iManufacturer 1 Nokia
iProduct 2 Nokia 130 (RM-1035)
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0037
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
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 0
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 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 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)
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220228084919.10656-1-johan@kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-08 14:22:46 +02:00
..
2021-04-08 09:46:02 +02:00
2021-06-15 14:03:27 +02:00
2021-07-21 11:53:42 +02:00
2022-03-02 11:48:04 +01:00
2022-02-16 12:56:37 +01:00
2021-05-19 10:56:40 +02:00
2021-08-26 09:38:27 +02:00
2021-05-21 15:46:25 +02:00
2021-04-13 18:19:28 +02:00
2021-04-08 09:46:02 +02:00
2022-02-16 12:56:36 +01:00
2022-02-16 12:56:36 +01:00
2021-08-26 09:38:27 +02:00
2021-05-19 10:56:41 +02:00
2021-07-30 17:15:39 +02:00
2021-04-08 09:50:04 +02:00
2021-08-26 09:38:27 +02:00
2021-04-13 18:23:34 +02:00
2021-08-26 09:38:27 +02:00
2021-05-19 10:56:40 +02:00
2021-08-26 09:38:27 +02:00
2022-04-08 14:22:46 +02:00
2021-11-18 19:16:07 +01:00
2021-05-19 10:56:40 +02:00
2021-05-21 15:46:25 +02:00
2021-05-21 15:46:15 +02:00
2021-09-20 11:19:55 +02:00
2021-05-25 08:59:17 +02:00
2021-05-19 10:56:41 +02:00
2022-03-02 11:48:05 +01:00
2021-05-19 10:56:41 +02:00
2022-04-08 14:22:46 +02:00
2022-04-08 14:22:45 +02:00
2021-10-07 15:39:06 +02:00
2021-06-24 12:54:28 +02:00
2021-08-26 09:38:27 +02:00
2021-04-08 09:46:02 +02:00
2021-06-24 12:54:28 +02:00
2021-04-09 17:55:21 +02:00
2021-05-19 10:56:41 +02:00
2022-04-08 14:22:46 +02:00
2021-07-27 12:17:21 +02:00
2021-05-19 10:56:41 +02:00
2021-06-15 14:03:27 +02:00
2021-04-13 18:36:39 +02:00