HP Webcam-101 (uvcvideo) locking machine

Bug #1042809 reported by Dave Morley on 2012-08-28
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
High
Andy Whitcroft
Quantal
High
Andy Whitcroft

Bug Description

If you try and do a quantal install the system locks on the webcam page, if you do an alternate install the machine locks if you start cheese for example.

lsusb -v lists:
davmor2@stryder:~$ lsusb -v

Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 1 Single TT
  bMaxPacketSize0 64
  idVendor 0x8087 Intel Corp.
  idProduct 0x0020 Integrated Rate Matching Hub
  bcdDevice 0.00
  iManufacturer 0
  iProduct 0
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0001 1x 1 bytes
        bInterval 12

Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 1 Single TT
  bMaxPacketSize0 64
  idVendor 0x8087 Intel Corp.
  idProduct 0x0020 Integrated Rate Matching Hub
  bcdDevice 0.00
  iManufacturer 0
  iProduct 0
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0002 1x 2 bytes
        bInterval 12

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 0 Full speed (or root) hub
  bMaxPacketSize0 64
  idVendor 0x1d6b Linux Foundation
  idProduct 0x0002 2.0 root hub
  bcdDevice 3.05
  iManufacturer 3
  iProduct 2
  iSerial 1
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0004 1x 4 bytes
        bInterval 12

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 0 Full speed (or root) hub
  bMaxPacketSize0 64
  idVendor 0x1d6b Linux Foundation
  idProduct 0x0002 2.0 root hub
  bcdDevice 3.05
  iManufacturer 3
  iProduct 2
  iSerial 1
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0004 1x 4 bytes
        bInterval 12

Bus 002 Device 003: ID 090c:37b0 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)
Couldn't open device, some information will be missing
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 239 Miscellaneous Device
  bDeviceSubClass 2 ?
  bDeviceProtocol 1 Interface Association
  bMaxPacketSize0 64
  idVendor 0x090c Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)
  idProduct 0x37b0
  bcdDevice 25.02
  iManufacturer 1
  iProduct 2
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 471
    bNumInterfaces 2
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
      (Bus Powered)
    MaxPower 500mA
    Interface Association:
      bLength 8
      bDescriptorType 11
      bFirstInterface 0
      bInterfaceCount 2
      bFunctionClass 14 Video
      bFunctionSubClass 3 Video Interface Collection
      bFunctionProtocol 0
      iFunction 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 14 Video
      bInterfaceSubClass 1 Video Control
      bInterfaceProtocol 0
      iInterface 0
      VideoControl Interface Descriptor:
        bLength 13
        bDescriptorType 36
        bDescriptorSubtype 1 (HEADER)
        bcdUVC 1.00
        wTotalLength 77
        dwClockFrequency 18.000000MHz
        bInCollection 1
        baInterfaceNr( 0) 1
      VideoControl Interface Descriptor:
        bLength 18
        bDescriptorType 36
        bDescriptorSubtype 2 (INPUT_TERMINAL)
        bTerminalID 1
        wTerminalType 0x0201 Camera Sensor
        bAssocTerminal 0
        iTerminal 0
        wObjectiveFocalLengthMin 0
        wObjectiveFocalLengthMax 0
        wOcularFocalLength 0
        bControlSize 3
        bmControls 0x0000000e
          Auto-Exposure Mode
          Auto-Exposure Priority
          Exposure Time (Absolute)
      VideoControl Interface Descriptor:
        bLength 26
        bDescriptorType 36
        bDescriptorSubtype 6 (EXTENSION_UNIT)
        bUnitID 2
        guidExtensionCode {92423946-d10c-e34a-8783-3133f9eaaa3b}
        bNumControl 3
        bNrPins 1
        baSourceID( 0) 1
        bControlSize 1
        bmControls( 0) 0xff
        iExtension 0
      VideoControl Interface Descriptor:
        bLength 11
        bDescriptorType 36
        bDescriptorSubtype 5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID 3
        bSourceID 2
        wMaxMultiplier 0
        bControlSize 2
        bmControls 0x0000157f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          White Balance Temperature
          Backlight Compensation
          Power Line Frequency
          White Balance Temperature, Auto
        iProcessing 0
        bmVideoStandards 0x 9
          None
          SECAM - 625/50
      VideoControl Interface Descriptor:
        bLength 9
        bDescriptorType 36
        bDescriptorSubtype 3 (OUTPUT_TERMINAL)
        bTerminalID 4
        wTerminalType 0x0101 USB Streaming
        bAssocTerminal 0
        bSourceID 3
        iTerminal 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x83 EP 3 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 16
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 0
      bInterfaceClass 14 Video
      bInterfaceSubClass 2 Video Streaming
      bInterfaceProtocol 0
      iInterface 0
      VideoStreaming Interface Descriptor:
        bLength 14
        bDescriptorType 36
        bDescriptorSubtype 1 (INPUT_HEADER)
        bNumFormats 1
        wTotalLength 283
        bEndPointAddress 129
        bmInfo 0
        bTerminalLink 4
        bStillCaptureMethod 2
        bTriggerSupport 1
        bTriggerUsage 1
        bControlSize 1
        bmaControls( 0) 27
      VideoStreaming Interface Descriptor:
        bLength 27
        bDescriptorType 36
        bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
        bFormatIndex 1
        bNumFrameDescriptors 5
        guidFormat {59555932-0000-1000-8000-00aa00389b71}
        bBitsPerPixel 16
        bDefaultFrameIndex 1
        bAspectRatioX 0
        bAspectRatioY 0
        bmInterlaceFlags 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect 0
      VideoStreaming Interface Descriptor:
        bLength 42
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 1
        bmCapabilities 0x00
          Still image unsupported
        wWidth 640
        wHeight 480
        dwMinBitRate 912384
        dwMaxBitRate 912384
        dwMaxVideoFrameBufferSize 614400
        dwDefaultFrameInterval 416666
        bFrameIntervalType 4
        dwFrameInterval( 0) 416666
        dwFrameInterval( 1) 416667
        dwFrameInterval( 2) 416668
        dwFrameInterval( 3) 416669
      VideoStreaming Interface Descriptor:
        bLength 42
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 2
        bmCapabilities 0x00
          Still image unsupported
        wWidth 352
        wHeight 288
        dwMinBitRate 912384
        dwMaxBitRate 912384
        dwMaxVideoFrameBufferSize 202752
        dwDefaultFrameInterval 416666
        bFrameIntervalType 4
        dwFrameInterval( 0) 416666
        dwFrameInterval( 1) 416667
        dwFrameInterval( 2) 416668
        dwFrameInterval( 3) 416669
      VideoStreaming Interface Descriptor:
        bLength 42
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 3
        bmCapabilities 0x00
          Still image unsupported
        wWidth 320
        wHeight 240
        dwMinBitRate 912384
        dwMaxBitRate 912384
        dwMaxVideoFrameBufferSize 153600
        dwDefaultFrameInterval 416666
        bFrameIntervalType 4
        dwFrameInterval( 0) 416666
        dwFrameInterval( 1) 416667
        dwFrameInterval( 2) 416668
        dwFrameInterval( 3) 416669
      VideoStreaming Interface Descriptor:
        bLength 42
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 4
        bmCapabilities 0x00
          Still image unsupported
        wWidth 176
        wHeight 144
        dwMinBitRate 912384
        dwMaxBitRate 912384
        dwMaxVideoFrameBufferSize 50688
        dwDefaultFrameInterval 416666
        bFrameIntervalType 4
        dwFrameInterval( 0) 416666
        dwFrameInterval( 1) 416667
        dwFrameInterval( 2) 416668
        dwFrameInterval( 3) 416669
      VideoStreaming Interface Descriptor:
        bLength 42
        bDescriptorType 36
        bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
        bFrameIndex 5
        bmCapabilities 0x00
          Still image unsupported
        wWidth 160
        wHeight 120
        dwMinBitRate 912384
        dwMaxBitRate 912384
        dwMaxVideoFrameBufferSize 38400
        dwDefaultFrameInterval 416666
        bFrameIntervalType 4
        dwFrameInterval( 0) 416666
        dwFrameInterval( 1) 416667
        dwFrameInterval( 2) 416668
        dwFrameInterval( 3) 416669
      VideoStreaming Interface Descriptor:
        bLength 26
        bDescriptorType 36
        bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
        bEndpointAddress 0
        bNumImageSizePatterns 5
        wWidth( 0) 640
        wHeight( 0) 480
        wWidth( 1) 352
        wHeight( 1) 288
        wWidth( 2) 320
        wHeight( 2) 240
        wWidth( 3) 176
        wHeight( 3) 144
        wWidth( 4) 160
        wHeight( 4) 120
        bNumCompressionPatterns 5
      VideoStreaming Interface Descriptor:
        bLength 6
        bDescriptorType 36
        bDescriptorSubtype 13 (COLORFORMAT)
        bColorPrimaries 0 (Unspecified)
        bTransferCharacteristics 0 (Unspecified)
        bMatrixCoefficients 0 (Unspecified)
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 1
      bNumEndpoints 1
      bInterfaceClass 14 Video
      bInterfaceSubClass 2 Video Streaming
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 5
          Transfer Type Isochronous
          Synch Type Asynchronous
          Usage Type Data
        wMaxPacketSize 0x1400 3x 1024 bytes
        bInterval 1
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 2
      bNumEndpoints 1
      bInterfaceClass 14 Video
      bInterfaceSubClass 2 Video Streaming
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 5
          Transfer Type Isochronous
          Synch Type Asynchronous
          Usage Type Data
        wMaxPacketSize 0x1340 3x 832 bytes
        bInterval 1
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 3
      bNumEndpoints 1
      bInterfaceClass 14 Video
      bInterfaceSubClass 2 Video Streaming
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 5
          Transfer Type Isochronous
          Synch Type Asynchronous
          Usage Type Data
        wMaxPacketSize 0x1300 3x 768 bytes
        bInterval 1
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 4
      bNumEndpoints 1
      bInterfaceClass 14 Video
      bInterfaceSubClass 2 Video Streaming
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 5
          Transfer Type Isochronous
          Synch Type Asynchronous
          Usage Type Data
        wMaxPacketSize 0x1400 3x 1024 bytes
        bInterval 1

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: cheese 3.5.5-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-12.12-generic 3.5.2
Uname: Linux 3.5.0-12-generic x86_64
ApportVersion: 2.5.1-0ubuntu2
Architecture: amd64
Date: Tue Aug 28 16:22:56 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120826)
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: cheese
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.5.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: davmor2 1803 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 12.10
HibernationDevice: RESUME=UUID=cc58ce36-9d4a-4a2f-82aa-0291cafe06e1
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120826)
Lsusb:
 Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 003: ID 090c:37b0 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)
MachineType: Hewlett-Packard HP G62 Notebook PC
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-12-generic root=UUID=5f2bb871-1371-42f1-9c6d-857a2440f8a5 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.5.0-12.12-generic 3.5.2
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-12-generic N/A
 linux-backports-modules-3.5.0-12-generic N/A
 linux-firmware 1.90
Tags: quantal running-unity
Uname: Linux 3.5.0-12-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 11/23/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.32
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1425
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 54.56
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.32:bd11/23/2010:svnHewlett-Packard:pnHPG62NotebookPC:pvr0597130000202710010020100:rvnHewlett-Packard:rn1425:rvr54.56:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP G62 Notebook PC
dmi.product.version: 0597130000202710010020100
dmi.sys.vendor: Hewlett-Packard

Dave Morley (davmor2) wrote :
tags: added: apport-collected
description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

affects: cheese (Ubuntu) → linux (Ubuntu)

Hi Dave,

This appears to be a duplicate of bug 875297 . Did you use the latest daily image for this install?

Changed in linux (Ubuntu):
importance: Undecided → Medium
importance: Medium → High
Changed in linux (Ubuntu):
status: New → Confirmed
Tim Gardner (timg-tpi) on 2012-08-28
summary: - machine locking webcam
+ HP Webcam-101 (uvcvideo) locking machine
Luis Henriques (henrix) wrote :

This seems to be also reported here:

https://bugzilla.redhat.com/show_bug.cgi?id=816524

Can you please confirm the workaround works for you, to make sure it's the same issue?

Dave Morley (davmor2) wrote :

luis

Confirmed the work around fixes it for me.

Tim Gardner (timg-tpi) wrote :

8a3f0ede2b3f5477122060af1a816c6bbf09fcd2: [media] uvcvideo: Reset the bytesused field when recycling an erroneous buffer

Changed in linux (Ubuntu Quantal):
assignee: nobody → Andy Whitcroft (apw)
status: Confirmed → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 3.5.0-13.14

---------------
linux (3.5.0-13.14) quantal; urgency=low

  [ Leann Ogasawara ]

  * [Config] Disable CONFIG_DRM_MGAG200
    - LP: #1042903

  [ Upstream Kernel Changes ]

  * [media] uvcvideo: Reset the bytesused field when recycling an erroneous
    buffer
    - LP: #1042809
 -- Tim Gardner <email address hidden> Tue, 28 Aug 2012 08:43:55 -0400

Changed in linux (Ubuntu Quantal):
status: Fix Committed → Fix Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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