include/linux/usb.h missing

Bug #892675 reported by whitis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Andy Whitcroft

Bug Description

This has already prevented two programs from compiling.

fsusb: http://www.internetking.org/fsusb/fsusb-0.1.11-2.tar.gz
mphidflash: http://code.google.com/p/mphidflash/

This file is part of Linux 3.0.0 and is found in the source tree but doesn't make it into the /usr/include hierarchy.

ii linux-headers-3.0.0-12 3.0.0-12.20 Header files related to Linux kernel version 3.0.0
ii linux-headers-3.0.0-12-generic 3.0.0-12.20 Linux kernel headers for version 3.0.0 on x86/x86_64
ii linux-headers-generic 3.0.0.12.14 Generic Linux kernel headers
ii linux-libc-dev 3.0.0-12.20 Linux Kernel Headers for development

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: linux-headers-3.0.0-12 3.0.0-12.20
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: whitis 2436 F.... pulseaudio
 /dev/snd/controlC0: whitis 2436 F.... pulseaudio
 /dev/snd/pcmC0D0p: whitis 2436 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfe3f8000 irq 16'
   Mixer name : 'VIA VT2020'
   Components : 'HDA:11060441,104383e4,00100100'
   Controls : 35
   Simple ctrls : 20
Card1.Amixer.info:
 Card hw:1 'Generic'/'HD-Audio Generic at 0xfe9bc000 irq 87'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Card2.Amixer.info:
 Card hw:2 'U0x46d0x821'/'USB Device 0x46d:0x821 at usb-0000:00:13.2-3, high speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:0821'
   Controls : 2
   Simple ctrls : 1
Card2.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 52
   Mono: Capture 52 [100%] [-19.00dB] [off]
CheckboxSubmission: 1e1a99f31ec2933306456e1f141c45d8
CheckboxSystem: edda5d4f616ca792bf437989cb597002
Date: Sat Nov 19 22:26:23 2011
HibernationDevice: RESUME=UUID=bc75e110-40bf-4cd9-ab80-ac3ad31bc281
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: System manufacturer System Product Name
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=02f53b93-8fd3-44ee-911b-a2d656e2d4d2 ro
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-12-generic N/A
 linux-backports-modules-3.0.0-12-generic N/A
 linux-firmware 1.60
RfKill:

SourcePackage: linux
UpgradeStatus: Upgraded to oneiric on 2011-11-09 (10 days ago)
dmi.bios.date: 02/17/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1902
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: Crosshair IV Formula
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1902:bd02/17/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnCrosshairIVFormula:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
whitis (whitis) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Looks to be included here:

$ dpkg -c linux-headers-3.0.0-12-generic_3.0.0-12.20_amd64.deb | grep "include/linux/usb.h"
lrwxrwxrwx root/root 0 2011-10-07 13:16 ./usr/src/linux-headers-3.0.0-12-generic/include/linux/usb.h -> ../../../linux-headers-3.0.0-12/include/linux/usb.h

$ ls /usr/src/linux-headers-3.0.0-12/include/linux/usb.h
/usr/src/linux-headers-3.0.0-12/include/linux/usb.h

Closing this for now.

Changed in linux (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Andy Whitcroft (apw) wrote :

It is possible this is in the headers but not in the linux-libc-dev headers package. Will check.

Changed in linux (Ubuntu):
status: Invalid → In Progress
assignee: nobody → Andy Whitcroft (apw)
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Temporarily re-opening while we investigate linux-libc-dev...

Changed in linux (Ubuntu):
assignee: Andy Whitcroft (apw) → nobody
status: In Progress → Confirmed
assignee: nobody → Andy Whitcroft (apw)
status: Confirmed → In Progress
Revision history for this message
Andy Whitcroft (apw) wrote :

Ok confirmed that although the header is in the kernel header package it is not packaged into linux-libc-dev. From what I can see this is an upstream issue as the kernel build misses this header out when installing. Will try and acertain why it would be elided.

Revision history for this message
Andy Whitcroft (apw) wrote :

This header was restored at least as far back as precise. So am closing this out fixed.

Changed in linux (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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