pl2303 serial adapter not recognized
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Medium
|
Po-Hsu Lin | ||
Jammy |
Fix Released
|
Medium
|
Po-Hsu Lin | ||
Kinetic |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux-oem-5.14 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Impish |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned | ||
linux-oem-5.17 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
Impish |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
After switching to a more strict chip type detection for the pl2303
USB to serial adaptor driver in commit 8a7bf751 ("USB: serial: pl2303:
amend and tighten type detection")
Device with bcdUSB other than 1.10 and 2.00 will stop working. For
example the Cashino PTP-lil/BT24 Slip printer with bcdUSB 1.01.
[Fix]
* e82e7c6dde ("USB: serial: pl2303: fix type detection for odd device")
This patch can be cherry-picked to all of the affected kernels.
[Test]
Test kernels can be found here:
https:/
F-5.13 has been tested by the bug reporter and the result is good.
[Where problems could occur]
Change limited to this specific driver (and even to this specific type
of devices), if anything goes wrong the adaptor might be not working.
[Original Bug Report]
Hi
After upgrading the Linux kernel from 5.11.0-27 to 5.13.0-37 a device that uses a pl2303 usb serial chip no longer works.
This seems very similar to bug 1959110, and according to that it should be fixed, but somehow it's not.
# uname -a
Linux GAU233333LD04 5.13.0-37-generic #42~20.04.1-Ubuntu SMP Tue Mar 15 15:44:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
# journalctl -b -k -g pl2303 -o cat
usbcore: registered new interface driver pl2303
usbserial: USB Serial support registered for pl2303
pl2303 1-12:1.0: pl2303 converter detected
pl2303 1-12:1.0: unknown device type, please report to <email address hidden>
# udevadm info /sys/devices/
P: /devices/
L: 0
E: DEVPATH=
E: DEVTYPE=
E: PRODUCT=
E: TYPE=0/0/0
E: INTERFACE=255/0/0
E: MODALIAS=
E: SUBSYSTEM=usb
E: USEC_INITIALIZE
E: ID_VENDOR_
E: ID_MODEL_
E: ID_PATH=
E: ID_PATH_
E: ID_MM_TTY_
CVE References
affects: | linux-signed-hwe-5.13 (Ubuntu) → linux (Ubuntu) |
description: | updated |
Changed in linux (Ubuntu Impish): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu Jammy): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu Kinetic): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu Impish): | |
status: | New → In Progress |
Changed in linux (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in linux (Ubuntu Kinetic): | |
status: | Incomplete → In Progress |
Changed in linux-oem-5.17 (Ubuntu Impish): | |
status: | New → Invalid |
Changed in linux-oem-5.17 (Ubuntu Kinetic): | |
status: | New → Invalid |
Changed in linux-oem-5.17 (Ubuntu Jammy): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
Changed in linux-oem-5.17 (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Jammy): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Impish): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Impish): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
tags: |
added: verification-done-jammy removed: verification-needed-jammy |
Hello,
Maybe your PL2303 is using another chip,
can you please upload the dmesg output with this device attached?
Also the output of the following command with it connected:
lsusb -v
And in case you're using a PL2303GS chip, here is a test kernel: /people. canonical. com/~phlin/ kernel/ pl2303gs/
https:/
Which includes: /github. com/torvalds/ linux/commit/ 5b6ab28d06780c8 7320ceade61698b b6719c85db
https:/
Thanks