Am 28.06.2013 15:53, schrieb Frank Schäfer: ... > Am 27.06.2013 22:13, schrieb Reinhard Max: >> But I am interested in improving this driver generally, not only to >> get it working on my particular device, which BTW is a data cable for >> Siemens mobile phones as it is often used by hobbyists to communicate >> with embedded hardware. > Yeah, I would really like to see more baud rates beeing supported by the > driver, too. > > Let me look at this stuff again when I'm back at home next week. > Maybe we are lucky and can find a way to distinguish between both chip > variants. > > Regards, > Frank
Got it. This is the device I've been using for my tests in 2009:
-----------------
PL-2303HX
04463A
12MHz crystal
HIN
213ECA
L04C6GCSX
(RS232-Receiver/Transmitter)
no eeprom
---------------
lsusb-output:
Bus 002 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial
Port
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x067b Prolific Technology, Inc.
idProduct 0x2303 PL2303 Serial Port
bcdDevice 3.00
iManufacturer 1 Prolific Technology Inc.
iProduct 2 USB-Serial Controller
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType
4
bInterfaceNumber
0
bAlternateSetting
0
bNumEndpoints
3
bInterfaceClass 255 Vendor Specific
Class
bInterfaceSubClass
0
bInterfaceProtocol
0
iInterface
0
Endpoint
Descriptor:
bLength
7
bDescriptorType
5
bEndpointAddress 0x81 EP 1
IN
bmAttributes
3
Transfer Type
Interrupt
Synch Type
None
Usage Type
Data
wMaxPacketSize 0x000a 1x 10
bytes
bInterval
1
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
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
---------------------
Does your USB device descriptor look the same ?
I've set up a test environment (currently limited to 115.2 kbps) and can
confirm that this works ONLY with the following (currently supported)
baud rates:
75, 150, 300, 600, 1200, 1800, 2400, 3600, 4800, 7200, 9600, 14400,
19200, 28800, 38400, 57600, 115200.
Any other baud rate value results in 9600 bps.
Further tests with baud rates > 115.2 kbps are planned (because of the
different programming method the driver uses for these values), but I
need to upgrade my test environment first. ;)
Regards,
Frank
--
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
