[Bug 737131] New: pl2303 serial usb adapter malfunctions upon server reboot
https://bugzilla.novell.com/show_bug.cgi?id=737131 https://bugzilla.novell.com/show_bug.cgi?id=737131#c0 Summary: pl2303 serial usb adapter malfunctions upon server reboot Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: VMWare OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: cmyers@mail.millikin.edu QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 After adding a Prolific 2303x-based USB-Serial adapter to monitor an APC SmartUPS 700, the adapter functioned properly until the server was rebooted. Following the reboot, the following lines were repeated in /var/log/messages every few seconds, and the device wasn't usable. Running kernel-desktop-2.6.34.10-0.4.1.i586. Dec 15 11:49:15 homestead pcscd: ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612 Dec 15 11:49:15 homestead pcscd: eventhandler.c:333:EHStatusHandlerThread() Error communicating to: Towitoko Chipdrive USB 00 00 Removing and readding the adapter didn't seem to make a difference. Reproducible: Always Steps to Reproduce: 1.Attach the USB serial converter (works fine) 2.Reboot the machine (or remove and readd the device) 3.Try to use the device Actual Results: The device isn't usable, and the following messages are repeated in /var/log/messages repeatedly: Dec 15 11:49:15 homestead pcscd: ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612 Dec 15 11:49:15 homestead pcscd: eventhandler.c:333:EHStatusHandlerThread() Error communicating to: Towitoko Chipdrive USB 00 00 Removing and readding the device results in the following messages: Dec 15 11:56:05 homestead kernel: [12671.984204] usb 2-1: new full speed USB device using uhci_hcd and address 4 Dec 15 11:56:06 homestead kernel: [12672.427244] usb 2-1: New USB device found, idVendor=067b, idProduct=2303 Dec 15 11:56:06 homestead kernel: [12672.427363] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Dec 15 11:56:06 homestead kernel: [12672.427515] usb 2-1: Product: USB-Serial Controller Dec 15 11:56:06 homestead kernel: [12672.427595] usb 2-1: Manufacturer: Prolific Technology Inc. Dec 15 11:56:06 homestead kernel: [12672.453430] pl2303 2-1:1.0: pl2303 converter detected Dec 15 11:56:06 homestead kernel: [12672.503555] usb 2-1: pl2303 converter now attached to ttyUSB0 Dec 15 11:56:09 homestead pcscd: readerfactory.c:1050:RFInitializeReader() Open Port 200000 Failed (usb:067b/2303:libhal:/org/freedesktop/Hal/devices/usb_device_67b_2303_noserial_if0) Dec 15 11:56:09 homestead pcscd: readerfactory.c:233:RFAddReader() Towitoko Chipdrive USB init failed. Dec 15 11:56:10 homestead pcscd: readerfactory.c:1050:RFInitializeReader() Open Port 200000 Failed (usb:067b/2303:libusb:002:004) Dec 15 11:56:10 homestead pcscd: readerfactory.c:233:RFAddReader() Towitoko Chipdrive USB init failed. Dec 15 11:56:10 homestead pcscd: hotplug_libhal.c:468:HPAddDevice() Failed adding USB device: usb_device_67b_2303_noserial_if0 Expected Results: Being able to use the device Found a similar issue reported for Ubuntu, with a workaround that works on: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/661321 The workaround is to remove and readd the kernel module: modprobe -r pl2303 modprobe pl2303 After doing this, the device functions properly. The var-log-messages output during the modprobe -r is: Dec 15 11:57:10 homestead kernel: [12736.022993] usbcore: deregistering interface driver pl2303 Dec 15 11:57:10 homestead kernel: [12736.031793] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0 Dec 15 11:57:10 homestead kernel: [12736.033905] pl2303 2-1:1.0: device disconnected Dec 15 11:57:10 homestead kernel: [12736.036858] USB Serial deregistering driver pl2303 Dec 15 11:57:10 homestead kernel: [12736.051258] usbcore: deregistering interface driver usbserial_generic Dec 15 11:57:10 homestead kernel: [12736.053403] USB Serial deregistering driver generic Dec 15 11:57:10 homestead kernel: [12736.054958] usbcore: deregistering interface driver usbserial and the modprobe output is: Dec 15 11:57:18 homestead kernel: [12744.417877] usbcore: registered new interface driver usbserial Dec 15 11:57:18 homestead kernel: [12744.420799] USB Serial support registered for generic Dec 15 11:57:18 homestead kernel: [12744.425093] usbcore: registered new interface driver usbserial_generic Dec 15 11:57:18 homestead kernel: [12744.425768] usbserial: USB Serial Driver core Dec 15 11:57:18 homestead kernel: [12744.450848] USB Serial support registered for pl2303 Dec 15 11:57:18 homestead kernel: [12744.452769] pl2303 2-1:1.0: pl2303 converter detected Dec 15 11:57:29 homestead kernel: [12755.375566] usb 2-1: pl2303 converter now attached to ttyUSB0 Dec 15 11:57:29 homestead kernel: [12755.378751] usbcore: registered new interface driver pl2303 Dec 15 11:57:29 homestead kernel: [12755.379379] pl2303: Prolific PL2303 USB to serial adaptor driver At this point, the device is usable. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=737131 https://bugzilla.novell.com/show_bug.cgi?id=737131#c1 Greg Kroah-Hartman <gregkh@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #1 from Greg Kroah-Hartman <gregkh@suse.com> 2011-12-15 18:51:59 UTC --- For 11.3, yes, that's probably the best thing to do at this point in time. If this still is a problem in 12.1, please let us know, otherwise there's really not much we can do here for 11.3, as it's in "security bugfix mode only" at the moment. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com