Johan Hovold
4fcfd659dd
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-20 09:06:27 +02:00
..
2022-03-02 11:32:04 +01:00
2022-02-16 12:43:55 +01:00
2020-11-10 10:24:04 +01:00
2020-07-22 09:10:52 +02:00
2020-07-22 09:10:52 +02:00
2021-01-09 13:35:49 +01:00
2022-02-16 12:43:54 +01:00
2022-02-16 12:43:54 +01:00
2020-05-20 08:15:27 +02:00
2021-03-17 16:10:15 +01:00
2020-02-05 13:05:36 +00:00
2021-01-12 19:49:04 +01:00
2022-04-20 09:06:27 +02:00
2021-01-12 19:49:05 +01:00
2021-11-26 11:48:26 +01:00
2020-12-11 13:37:59 +01:00
2021-09-22 11:42:56 +02:00
2021-10-06 10:23:39 +02:00
2021-06-16 11:36:35 +02:00
2020-01-23 08:19:39 +01:00
2022-03-02 11:32:05 +01:00
2022-04-20 09:06:27 +02:00
2022-04-20 09:06:27 +02:00
2021-10-27 09:33:57 +02:00
2021-06-16 11:36:35 +02:00
2021-06-03 08:23:29 +02:00
2020-06-11 09:22:22 +02:00
2022-04-20 09:06:27 +02:00
2020-01-23 08:19:39 +01:00
2020-01-14 20:04:29 +01:00
2019-11-06 12:18:20 +01:00
2019-11-06 12:18:20 +01:00