← Back to team overview

kernel-packages team mailing list archive

[Bug 1353021] Re: USB HIDRAW Feature Report Implementation for HID devices not working correctly in Ubuntu 14.04

 

** Changed in: linux (Ubuntu Trusty)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1353021

Title:
  USB HIDRAW Feature Report Implementation for HID devices not working
  correctly in Ubuntu 14.04

Status in “linux” package in Ubuntu:
  Fix Released
Status in “linux” source package in Trusty:
  Fix Committed
Status in “linux” source package in Utopic:
  Fix Released

Bug description:
  With the release of Ubuntu 14.04 I've been investigating an issue with
  a software library I maintain to talk to USB based HID signature pads.
  I believe I've narrowed the issue down to the HIDRAW implementation
  released with Ubuntu 14.04. Essentially what  seems to be failing is
  the ioctl to get feature reports (HIDIOCGFEATURE). Any attempt to get
  a feature report results in a failure with a ENODEV error code.

  The devices I'm testing with are USB signature pads
  (http://www.scriptel.com). These signature pads use HID feature
  reports to communicate capabilities and to set up the device. I can
  provide further information along with USB/HID descriptors if it would
  be helpful.

  I have been testing with Ubuntu 14.04 Desktop (x64) with kernel version:
  Linux <hostname> 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

  This kernel exhibits the problematic behavior, but when testing with Ubuntu 13.10 Desktop (x64):
  Linux <hostname> 3.11.0-23-generic #40-Ubuntu SMP Wed Jun 4 21:05:23 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

  The 13.10 kernel's version of HIDRAW seems to work correctly. I've also tested with the vanilla kernel:
  Linux <hostname> 3.13.1-hidtest #1 SMP Tue Aug 5 09:14:28 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

  The vanilla kernel appears to work correctly as well. Kernel source used was downloaded from:
  https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.1.tar.xz
  The configuration file used was from config-3.13.0-32-generic provided in linux-image-3.13.0-32-generic

  I believe the breaking change was made as part of commit
  aa6c390c4d59c9ff4fffd887e15783b2b793951b as part of ubuntu/ubuntu-
  trusty.git.

  I have attached a simple C program to demonstrate the problem. You'll
  need a USB HID device with known feature reports.

  Please let me know if I can provide any additional information or be
  of any assistance.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-32-generic 3.13.0-32.57
  ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
  Uname: Linux 3.13.0-32-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  mpowers    2863 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Tue Aug  5 13:51:39 2014
  HibernationDevice: RESUME=UUID=3a5a866c-6086-47d6-8080-70715896a719
  InstallationDate: Installed on 2014-04-17 (109 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  ProcFB:
   0 inteldrmfb
   1 nouveaufb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-32-generic root=UUID=9b49575f-fb86-45d7-af5e-b3fde82f91ac ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-32-generic N/A
   linux-backports-modules-3.13.0-32-generic  N/A
   linux-firmware                             1.127.5
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/07/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: E1762II1.50U
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: CZ-17
  dmi.board.version: REV:1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To be filled by O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrE1762II1.50U:bd12/07/2012:svn:pnCZ-17:pvrREV1.0:rvn:rnCZ-17:rvrREV1.0:cvnToBeFilledByO.E.M.:ct10:cvrTobefilledbyO.E.M.:
  dmi.product.name: CZ-17
  dmi.product.version: REV:1.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1353021/+subscriptions


References