USB serial driver mct_u232 fails on second open
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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 92ca0dc5ee022e4
Author: Johan Hovold <email address hidden>
Date: Thu Oct 21 10:49:10 2010 +0200
USB: mct_u232: fix broken close
Fix regression introduced by commit
f26788da3b3
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" <email address hidden>
Tested-by: Eric Shattow "Eprecocious" <email address hidden>
Cc: stable <email address hidden>
Signed-off-by: Johan Hovold <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
-------
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-
Regression: Yes
Reproducible: Yes
ProcVersionSign
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/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'I82801BAICH2'
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=
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=
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
RelatedPackageV
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:bvnParallel
dmi.product.name: Parallels Virtual Platform
dmi.product.
dmi.sys.vendor: Parallels Software International Inc.
Changed in linux (Ubuntu): | |
status: | New → Fix Released |
Ah, I see that bug #686158 pulled the patch into Ubuntu mainline and subsequently maverick-proposed as linux-image- 2.6.35- 25-*. I've installed linux-image- 2.6.35- 25-generic and confirmed that this fixes this bug.