Public bug reported: I am using a Belkin USB serial adapter, which is picked up by the mct_u232 driver. The first use attempt succeeds, but after closing and re-opening it, open() fails with -EINVAL. The kernel emits the following message:
mct_u232 ttyUSB0: usb_submit_urb(read bulk) failed pipe 0x40410880 err -22 I believe this to have been fixed upstream by the following commit from Linus' tree: -------------------------------------------------------- commit 92ca0dc5ee022e4c0e488177e1d8865a0778c6c2 Author: Johan Hovold <jhov...@gmail.com> Date: Thu Oct 21 10:49:10 2010 +0200 USB: mct_u232: fix broken close Fix regression introduced by commit f26788da3b342099d2b02d99ba1cb7f154d6ef7b (USB: serial: refactor generic close) which broke driver close(). This driver uses non-standard semantics for the read urb which makes the generic close function fail to kill it (the read urb is actually an interrupt urb and therefore bulk_in size is zero). Reported-by: Eric Shattow "Eprecocious" <luc...@gmail.com> Tested-by: Eric Shattow "Eprecocious" <luc...@gmail.com> Cc: stable <sta...@kernel.org> Signed-off-by: Johan Hovold <jhov...@gmail.com> Signed-off-by: Greg Kroah-Hartman <gre...@suse.de> -------------------------------------------------------- It has pushed into both linux-2.6.35 longterm and stable trees. I will attempt to apply this patch and report if it fixes the issue. ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: linux-image-2.6.35-24-generic 2.6.35-24.42 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8 Uname: Linux 2.6.35-24-generic i686 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. AplayDevices: **** List of PLAYBACK Hardware Devices **** card 0: I82801BAICH2 [Intel 82801BA-ICH2], device 0: Intel ICH [Intel 82801BA-ICH2] Subdevices: 1/1 Subdevice #0: subdevice #0 Architecture: i386 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: david 1452 F.... pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'I82801BAICH2'/'Intel 82801BA-ICH2 with ALC200,200P at irq 17' Mixer name : 'Realtek ALC200,200P rev 0' Components : 'AC97a:414c4710' Controls : 19 Simple ctrls : 19 Date: Thu Jan 20 15:52:47 2011 HibernationDevice: RESUME=UUID=3c509b00-0252-4a49-a581-2dfde642f2d0 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007) IwConfig: lo no wireless extensions. eth0 no wireless extensions. MachineType: Parallels Software International Inc. Parallels Virtual Platform ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-24-generic root=UUID=c9d2928a-7451-4113-b1cc-825d8fbb060c ro quiet splash ProcEnviron: PATH=(custom, user) LANG=en_US.utf8 SHELL=/bin/bash RelatedPackageVersions: linux-firmware 1.38 RfKill: SourcePackage: linux dmi.bios.date: 10/26/2007 dmi.bios.vendor: Parallels Software International Inc. dmi.bios.version: 6.0.11992.625164 dmi.board.name: Parallels Virtual Platform dmi.board.vendor: Parallels Software International Inc. dmi.board.version: None dmi.chassis.type: 2 dmi.chassis.vendor: Parallels Software International Inc. dmi.modalias: dmi:bvnParallelsSoftwareInternationalInc.:bvr6.0.11992.625164:bd10/26/2007:svnParallelsSoftwareInternationalInc.:pnParallelsVirtualPlatform:pvrNone:rvnParallelsSoftwareInternationalInc.:rnParallelsVirtualPlatform:rvrNone:cvnParallelsSoftwareInternationalInc.:ct2:cvr: dmi.product.name: Parallels Virtual Platform dmi.product.version: None dmi.sys.vendor: Parallels Software International Inc. ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 kernel-uncat maverick needs-upstream-testing regression-release -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/705681 Title: USB serial driver mct_u232 fails on second open -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs