fix for iSight cameras not being recognized

Bug #544740 reported by Michael Milligan
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Medium
Leann Ogasawara

Bug Description

fixed in upstream commit 68f194e0

ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: milli 2066 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xdf480000 irq 21'
   Mixer name : 'Realtek ALC889A'
   Components : 'HDA:10ec0885,106b4600,00100103'
   Controls : 37
   Simple ctrls : 21
Date: Mon Mar 22 19:44:37 2010
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=8b97bcbd-efd5-4e1a-8231-d2782bc151fc
MachineType: Apple Inc. MacBookPro5,2
NonfreeKernelModules: wl nvidia
Package: linux-image-2.6.32-16-generic 2.6.32-16.25
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-16-generic root=UUID=e35971ea-b76b-436e-a95d-21e00ddce6a8 ro resume=UUID=8b97bcbd-efd5-4e1a-8231-d2782bc151fc
ProcEnviron:
 PATH=(custom, no user)
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
Regression: No
RelatedPackageVersions: linux-firmware 1.33
Reproducible: Yes
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
TestedUpstream: Yes
Uname: Linux 2.6.32-16-generic x86_64
WpaSupplicantLog:

dmi.bios.date: 05/04/09
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP52.88Z.008E.B05.0905042202
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-F2268EC8
dmi.board.vendor: Apple Inc.
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 8
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F2268EC8
dmi.modalias: dmi:bvnAppleInc.:bvrMBP52.88Z.008E.B05.0905042202:bd05/04/09:svnAppleInc.:pnMacBookPro5,2:pvr1.0:rvnAppleInc.:rnMac-F2268EC8:rvr:cvnAppleInc.:ct8:cvrMac-F2268EC8:
dmi.product.name: MacBookPro5,2
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
Michael Milligan (milli) wrote :
Revision history for this message
Michael Milligan (milli) wrote :

Specifically fixes this error message:

Mar 22 18:52:27 localhost kernel: [ 9417.193438] uvcvideo: Unknown video format 32595559-0000-0010-8000-000000359b71
Mar 22 18:52:27 localhost kernel: [ 9417.193443] uvcvideo: Found UVC 1.00 device Built-in iSight (05ac:8507)
Mar 22 18:52:27 localhost kernel: [ 9417.198737] usbcore: registered new interface driver uvcvideo

Revision history for this message
Mark Uhde (mark-comicexpressions) wrote :

I'm new to this and I apologize greatly if this is the wrong place to ask this, but this bug is one of two things driving me up a wall trying to use Ubuntu on my Macbook Pro (the other is the trackpad feel, since you can't hold the button with one finger and drag with the other)... and I see that it's fixed upstream somewhere and I'm wondering if I could get directions on how to fix this on my system? Again, I know this isn't the place to ask that kind of direction but I'm not sure where is - my email is <email address hidden> if anyone wants to contact me with that. Thank you all very much for any help, Mark

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Michael,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

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

tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
ridgerunner7 (ridgerunner7) wrote :

Seems there's 2 issues here:
1) sometimes occurring independently
May 26 08:41:05 ridgerunner kernel: [ 14.262710] uvcvideo: Unknown video format 32595559-0000-0010-8000-000000359b71
May 26 08:41:05 ridgerunner kernel: [ 14.262722] uvcvideo: Found UVC 1.00 device Built-in iSight (05ac:8507)
May 26 08:41:05 ridgerunner kernel: [ 14.262729] uvcvideo: No streaming interface found for terminal 2.
May 26 08:41:05 ridgerunner kernel: [ 14.262849] usbcore: registered new interface driver uvcvideo

May 29 08:04:16 ridgerunner kernel: [ 12.893912] uvcvideo: Found UVC 1.00 device Built-in iSight (05ac:8507)
May 29 08:04:16 ridgerunner kernel: [ 12.893919] uvcvideo: No valid video chain found.
May 29 08:04:16 ridgerunner kernel: [ 12.893939] usbcore: registered new interface driver uvcvideo

2) sometimes they coincide
May 24 08:48:33 ridgerunner kernel: [ 12.729848] uvcvideo: Unknown video format 32595559-0000-0010-8000-000000389b71
May 24 08:48:33 ridgerunner kernel: [ 12.729859] uvcvideo: Found UVC 1.00 device Built-in iSight (05ac:8507)
May 24 08:48:33 ridgerunner kernel: [ 12.729865] uvcvideo: No valid video chain found.
May 24 08:48:33 ridgerunner kernel: [ 12.729892] usbcore: registered new interface driver uvcvideo

#1 the video format issue (this bug, listed as a dup of 544469 but I think is not)
#2 no valid video chain (bug 544469)

Both problems seem to be fixed upstream: MacBookPro5,5 with 2.6.34 kernel (note Cheese seg faults so use something else)

Revision history for this message
ridgerunner7 (ridgerunner7) wrote :

Grr! Nevermind. First few reboots were just lucky. I've since seen both problems with kernel 2.6.34

Revision history for this message
Michael Milligan (milli) wrote :

Jeremy, I did test the latest upstream release. This was fixed in commit 68f194e0 in the mainline Linux kernel tree.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Michael,
    Since that is only a part of the SHA1 I need to ask, Is that for
commit 68f194e027ecfbbc8d5515bc40787e542eed59e9 ?

Thanks!

~JFo

tags: added: cherry-pick kernel-core kernel-needs-review
removed: needs-upstream-testing
Revision history for this message
Michael Milligan (milli) wrote :

Jeremy, yes. Full SHA1 is 68f194e027ecfbbc8d5515bc40787e542eed59e9

Andy Whitcroft (apw)
tags: added: kernel-candidate kernel-reviewed
removed: kernel-needs-review
tags: removed: kernel-candidate
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Indeed, this patch is already in the upstream kernel as of 2.6.34-rc1:

linux-2.6$ git describe --contains 68f194e027ecfbbc8d5515bc40787e542eed59e9
v2.6.34-rc1~280^2~347

The actively developed Ubuntu Maverick kernel was recently rebased with the latest 2.6.35-rc5 mainline kernel and thus already contains this fix. I'm therefore marking the actively developed linux kernel task as Fix Released. I'll go ahead and approve the Lucid nomination for this to be considered for a Stable Release Update for Lucid. Thanks.

Changed in linux (Ubuntu):
status: Incomplete → Fix Released
Changed in linux (Ubuntu Lucid):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Michael,

Before I submit this patch to upstream stable to then be pulled back into Lucid as an SRU, I'd appreciate if you could test the following kernel I've built:

http://people.canonical.com/~ogasawara/lp544740/amd64/

It's the latest Lucid kernel with the upstream patch applied. I just want to verify this patch indeed resolves the issue on a Lucid kernel (ie 2.6.32 based). Please let me know your results. Thanks.

Changed in linux (Ubuntu Lucid):
assignee: nobody → Leann Ogasawara (leannogasawara)
status: Triaged → In Progress
Revision history for this message
Michael Milligan (milli) wrote :
Download full text (6.3 KiB)

This does fix this particular bug (not recognizing the iSight camera), but there unfortunately are still more problems with the uvcvideo driver for this camera (No valid video chain found). Here is output from doing "rmmod uvcvideo && modprobe uvcvideo trace=15" using your kernel:

$ tail /var/log/kern.log
Jul 24 00:32:54 localhost kernel: [ 257.035949] uvcvideo: Adding mapping Brightness to control 00000000-0000-0000-0000-000000000101/2.
Jul 24 00:32:54 localhost kernel: [ 257.035955] uvcvideo: Adding mapping Contrast to control 00000000-0000-0000-0000-000000000101/3.
Jul 24 00:32:54 localhost kernel: [ 257.035959] uvcvideo: Adding mapping Hue to control 00000000-0000-0000-0000-000000000101/6.
Jul 24 00:32:54 localhost kernel: [ 257.035964] uvcvideo: Adding mapping Saturation to control 00000000-0000-0000-0000-000000000101/7.
Jul 24 00:32:54 localhost kernel: [ 257.035968] uvcvideo: Adding mapping Sharpness to control 00000000-0000-0000-0000-000000000101/8.
Jul 24 00:32:54 localhost kernel: [ 257.035973] uvcvideo: Adding mapping Gamma to control 00000000-0000-0000-0000-000000000101/9.
Jul 24 00:32:54 localhost kernel: [ 257.035978] uvcvideo: Adding mapping Backlight Compensation to control 00000000-0000-0000-0000-000000000101/1.
Jul 24 00:32:54 localhost kernel: [ 257.035983] uvcvideo: Adding mapping Gain to control 00000000-0000-0000-0000-000000000101/4.
Jul 24 00:32:54 localhost kernel: [ 257.035997] uvcvideo: Adding mapping Power Line Frequency to control 00000000-0000-0000-0000-000000000101/5.
Jul 24 00:32:54 localhost kernel: [ 257.035997] uvcvideo: Adding mapping Hue, Auto to control 00000000-0000-0000-0000-000000000101/16.
Jul 24 00:32:54 localhost kernel: [ 257.036005] uvcvideo: Adding mapping Exposure, Auto to control 00000000-0000-0000-0000-000000000001/2.
Jul 24 00:32:54 localhost kernel: [ 257.036443] uvcvideo: Adding mapping Exposure, Auto Priority to control 00000000-0000-0000-0000-000000000001/3.
Jul 24 00:32:54 localhost kernel: [ 257.036448] uvcvideo: Adding mapping Exposure (Absolute) to control 00000000-0000-0000-0000-000000000001/4.
Jul 24 00:32:54 localhost kernel: [ 257.036454] uvcvideo: Adding mapping White Balance Temperature, Auto to control 00000000-0000-0000-0000-000000000101/11.
Jul 24 00:32:54 localhost kernel: [ 257.036458] uvcvideo: Adding mapping White Balance Temperature to control 00000000-0000-0000-0000-000000000101/10.
Jul 24 00:32:54 localhost kernel: [ 257.036464] uvcvideo: Adding mapping White Balance Component, Auto to control 00000000-0000-0000-0000-000000000101/13.
Jul 24 00:32:54 localhost kernel: [ 257.036469] uvcvideo: Adding mapping White Balance Blue Component to control 00000000-0000-0000-0000-000000000101/12.
Jul 24 00:32:54 localhost kernel: [ 257.036474] uvcvideo: Adding mapping White Balance Red Component to control 00000000-0000-0000-0000-000000000101/12.
Jul 24 00:32:54 localhost kernel: [ 257.036480] uvcvideo: Adding mapping Focus (absolute) to control 00000000-0000-0000-0000-000000000001/6.
Jul 24 00:32:54 localhost kernel: [ 257.036486] uvcvideo: Adding mapping Focus, Auto to control 00000000-0000-0000-0000-000000000001/8.
Jul 24 00:32:54 localhost kernel: [ 257.0...

Read more...

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Michael. Thanks for testing and the feedback. Care to open a separate bug for this new issue you are seeing. Thanks.

tags: added: 2.6.32.y
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

For now, I've gone ahead and submitted commit 68f194e027ecfbbc8d5515bc40787e542eed59e9 to upstream stable for consideration. Assuming it's accepted for the next 2.6.32.y stable update, we'll then get this in Lucid when we pull in the next 2.6.32.y stable patch set. Thanks.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Should be fixed now in Lucid with the latest 2.6.32-25.44 kernel:

V4L/DVB (13830): uvcvideo: add another YUYV format GUID for iSight cameras
    - LP: #615548

Changed in linux (Ubuntu Lucid):
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.