LibUSB usb_control_msg fails for kernel 3

Bug #1076295 reported by Ian McClenahan
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Since Ubuntu moved to kernel 3 we are no longer able to communicate with our USB device which uses libusb 0.1. The device works with Ubuntu 10.04 and earlier but fails with Ubuntu 11.10 and 12.10. I tried Fedora 17 which also uses kernel 3 and it functions as expected. The first point where I can see problems is a call to usb_control_msg
usb_control_msg(mDevice, USB_RECIP_DEVICE | USB_TYPE_VENDOR, 0xA0, 0xE600, 0, (char*)pBuffer, 1, 1000)
which now returns -1.
---
ApportVersion: 2.6.1-0ubuntu3
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 3739 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
CasperVersion: 1.328
DistroRelease: Ubuntu 12.10
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
LiveMediaBuild: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
MachineType: Dell Inc. Precision WorkStation T5500
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/username/install/boot/vmlinuz debian-installer/custom-installation=/username/install/custom-installation noprompt quiet splash boot=casper ro debian-installer/locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb keyboard-configuration/variantcode= -- rootflags=sync
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-17-generic N/A
 linux-backports-modules-3.5.0-17-generic N/A
 linux-firmware 1.95
RfKill:

Tags: quantal running-unity
Uname: Linux 3.5.0-17-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 07/06/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A14
dmi.board.name: 0CRH6C
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA14:bd07/06/2012:svnDellInc.:pnPrecisionWorkStationT5500:pvr:rvnDellInc.:rn0CRH6C:rvrA01:cvnDellInc.:ct7:cvr:
dmi.product.name: Precision WorkStation T5500
dmi.sys.vendor: Dell Inc.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1076295/+editstatus and add the package name in the text box next to the word Package.

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

tags: added: bot-comment
Logan Rosen (logan)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1076295

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Ian McClenahan (i-mcclenahan) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected quantal running-unity
description: updated
Revision history for this message
Ian McClenahan (i-mcclenahan) wrote : BootDmesg.txt

apport information

Revision history for this message
Ian McClenahan (i-mcclenahan) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Ian McClenahan (i-mcclenahan) wrote : Lspci.txt

apport information

Revision history for this message
Ian McClenahan (i-mcclenahan) wrote : Lsusb.txt

apport information

Revision history for this message
Ian McClenahan (i-mcclenahan) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Ian McClenahan (i-mcclenahan) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Ian McClenahan (i-mcclenahan) wrote : ProcModules.txt

apport information

Revision history for this message
Ian McClenahan (i-mcclenahan) wrote : PulseList.txt

apport information

Revision history for this message
Ian McClenahan (i-mcclenahan) wrote : UdevDb.txt

apport information

Revision history for this message
Ian McClenahan (i-mcclenahan) wrote : UdevLog.txt

apport information

Revision history for this message
Ian McClenahan (i-mcclenahan) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.7 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7-rc4-raring/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: kernel-bug-exists-upstream
Logan Rosen (logan)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Ian McClenahan, as per http://www.dell.com/support/troubleshooting/us/en/19/Product/precision-t5500 an update is available for your BIOS (A16). If you update to this, does it change anything?

If not, could you please both specify what happened, and provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

Thank you for your understanding.

tags: added: bios-outdated-a16 needs-upstream-testing oneiric regression-release
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-bug-exists-upstream-v3.7-rc4
removed: kernel-bug-exists-upstream
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

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

Related questions

Remote bug watches

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