Johan Hovold
d136a2574a
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:39:46 +02:00
..
2020-07-09 09:20:17 +02:00
2020-04-22 09:26:47 +02:00
2022-03-02 11:42:54 +01:00
2020-07-02 10:38:45 +02:00
2022-02-16 12:54:29 +01:00
2020-11-04 11:07:48 +01:00
2020-07-28 17:33:10 +02:00
2020-06-23 09:56:17 +02:00
2020-12-30 11:54:12 +01:00
2020-07-09 09:19:54 +02:00
2020-07-09 09:19:54 +02:00
2022-02-16 12:54:29 +01:00
2022-02-16 12:54:29 +01:00
2020-07-01 14:04:04 +02:00
2020-07-02 10:38:30 +02:00
2020-07-09 09:20:17 +02:00
2020-04-22 09:26:47 +02:00
2021-03-17 17:06:30 +01:00
2020-04-22 09:26:47 +02:00
2020-04-22 09:26:47 +02:00
2020-04-22 09:26:47 +02:00
2020-04-22 09:26:47 +02:00
2020-02-10 10:06:51 +01:00
2021-01-12 20:18:20 +01:00
2020-04-22 09:26:47 +02:00
2022-04-08 14:39:46 +02:00
2021-01-12 20:18:22 +01:00
2021-11-18 14:03:51 +01:00
2020-12-04 12:02:57 +01:00
2020-07-08 14:55:35 +02:00
2020-04-22 09:26:47 +02:00
2021-09-12 08:58:26 +02:00
2021-09-30 10:11:00 +02:00
2020-07-09 09:19:54 +02:00
2021-06-16 12:01:42 +02:00
2020-01-27 10:21:22 +01:00
2022-03-02 11:42:55 +01:00
2020-04-22 09:26:47 +02:00
2022-04-08 14:39:46 +02:00
2022-04-08 14:39:46 +02:00
2021-10-20 11:45:00 +02:00
2021-06-16 12:01:42 +02:00
2020-07-14 11:50:57 +02:00
2020-07-09 09:20:17 +02:00
2021-06-03 09:00:34 +02:00
2020-07-08 14:55:35 +02:00
2021-05-14 09:49:55 +02:00
2022-04-08 14:39:46 +02:00
2020-03-11 09:39:01 +01:00
2020-04-22 09:26:47 +02:00
2020-04-22 09:26:47 +02:00