the usb serial adapter pl2303 not works when I reconnect it

Bug #324276 reported by Gavino
2
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When I insert a pl2303 adapter, my system loads three modules:
   ch341, pl2303, usbserial.
If I disconnect the adapter my system doesn't unload the modules, and if I reconnect the adapter it doesn't work properly.

To solve the problem I unload the three modules,
with the command "modprobe -r ch341 pl2303 usbserial",
before of reconnect the adapter.

Thanks.

Ubuntu 8.04.2
uname -a
Linux veriton 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009 i686 GNU/Linux

/var/log/messages:
When I connect the adapter for the first time:

Feb 2 13:55:53 veriton kernel: [ 6275.022845] usb 1-1: new full speed USB device using uhci_hcd and address 9
Feb 2 13:55:53 veriton kernel: [ 6275.189334] usb 1-1: configuration #1 chosen from 1 choice
Feb 2 13:55:53 veriton kernel: [ 6275.252139] usbcore: registered new interface driver usbserial
Feb 2 13:55:53 veriton kernel: [ 6275.252521] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Feb 2 13:55:53 veriton kernel: [ 6275.253029] usbcore: registered new interface driver usbserial_generic
Feb 2 13:55:53 veriton kernel: [ 6275.253037] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial Driver core
Feb 2 13:55:53 veriton kernel: [ 6275.255348] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for ch341-uart
Feb 2 13:55:53 veriton kernel: [ 6275.255897] ch341 1-1:1.0: ch341-uart converter detected
Feb 2 13:55:53 veriton kernel: [ 6275.268122] usb 1-1: ch341-uart converter now attached to ttyUSB0
Feb 2 13:55:53 veriton kernel: [ 6275.268337] usbcore: registered new interface driver ch341
Feb 2 13:55:53 veriton kernel: [ 6275.278822] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
Feb 2 13:55:53 veriton kernel: [ 6275.279283] usbcore: registered new interface driver pl2303
Feb 2 13:55:53 veriton kernel: [ 6275.279290] /build/buildd/linux-2.6.24/drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver

When I dosconnect the adapter:

Feb 2 13:56:16 veriton kernel: [ 6298.531751] usb 1-1: USB disconnect, address 9
Feb 2 13:56:16 veriton kernel: [ 6298.532325] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
Feb 2 13:56:16 veriton kernel: [ 6298.532360] ch341 1-1:1.0: device disconnected

When I reconnect the adapter:

Feb 2 13:56:52 veriton kernel: [ 6333.932602] usb 1-1: new full speed USB device using uhci_hcd and address 10
Feb 2 13:56:52 veriton kernel: [ 6334.098265] usb 1-1: configuration #1 chosen from 1 choice
Feb 2 13:56:52 veriton kernel: [ 6334.102632] ch341 1-1:1.0: pl2303 converter detected
Feb 2 13:56:52 veriton kernel: [ 6334.102801] usb 1-1: pl2303 converter now attached to ttyUSB0

When I unload the modules (after disconnect the adapter):

Feb 2 13:57:39 veriton kernel: [ 6380.866621] usb 1-1: USB disconnect, address 10
Feb 2 13:57:39 veriton kernel: [ 6380.867201] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
Feb 2 13:57:39 veriton kernel: [ 6380.867234] ch341 1-1:1.0: device disconnected
Feb 2 13:57:52 veriton kernel: [ 6393.630962] usbcore: deregistering interface driver pl2303
Feb 2 13:57:52 veriton kernel: [ 6393.631014] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial deregistering driver pl2303
Feb 2 13:57:52 veriton kernel: [ 6393.644123] usbcore: deregistering interface driver ch341
Feb 2 13:57:52 veriton kernel: [ 6393.644173] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial deregistering driver ch341-uart
Feb 2 13:57:52 veriton kernel: [ 6393.644793] usbcore: deregistering interface driver usbserial_generic
Feb 2 13:57:52 veriton kernel: [ 6393.645113] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
Feb 2 13:57:52 veriton kernel: [ 6393.645524] usbcore: deregistering interface driver usbserial

Gavino (gavimura)
description: updated
Gavino (gavimura)
description: updated
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Gavino,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/lucid.

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 324276

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.