Bug 505948
| Summary: | Webcam "No valid video chain found." issue (0c45:62c0 Microdia Sonix) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Valent Turkovic <valent.turkovic> | ||||||||||
| Component: | kernel | Assignee: | Hans de Goede <hdegoede> | ||||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
| Severity: | high | Docs Contact: | |||||||||||
| Priority: | low | ||||||||||||
| Version: | 11 | CC: | itamar, kernel-maint | ||||||||||
| Target Milestone: | --- | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2009-09-04 12:32:05 UTC | Type: | --- | ||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||
| Documentation: | --- | CRM: | |||||||||||
| Verified Versions: | Category: | --- | |||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
| Embargoed: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Valent Turkovic
2009-06-14 21:56:37 UTC
I have grabbed info from Ubuntu system and will post logs and other info here, as with uvcvideo module under Ubuntu 8.04 webcam works just fine. Created attachment 347951 [details]
from Ubuntu; modinfo uvcvideo
Created attachment 347952 [details]
from Ubuntu; dmesg
This is a dmesg after loading uvcvideo module on Ubuntu. After loading this module webcam works under Ubuntu.
Created attachment 347953 [details]
from Ubuntu; ls -al /dev/video0
Under Ubuntu after loading uvcvideo module /dev/video0 device appears but under Fedora it does not :(
Do you need some more feedback from me? Hi Valent, This bug has been re-assigned to me, as I'm the webcam expert within Fedora. Given that this is a uvc cam, I've send a mail to the uvc driver author asking him for help. Thank you Hans, I send mail to uvcvideo devel mailing list but I don't see it there (I registered for an account previously)... If I can do anything more just say. Hi, please check out the discussion from uvcvideo-devel mailing list: https://lists.berlios.de/pipermail/linux-uvc-devel/2009-June/004880.html I compiled vanilla 2.6.30 kernel and it still fails to create /dev/video0 device. But there is a patch that fixes this: http://bbs.archlinux.org/viewtopic.php?id=70685 I haven't been able to apply this patch to vanilla 2.6.30 kernel And here is also an other upstream conversation: http://developer.berlios.de/support/?func=detailsupport&support_id=102913&group_id=5681 Will this patch be applied in Fedora kernel? Valent, The involved UVC descriptor parsing code seems to be rewritten in the rawhide kernels, can you please try your camera again with a rawhide kernel ? I haven't tested the rawhide kernel, is there a Fedora 11 kernel that I can check out? How can I testo Rawhide kernel? Is there a possibility of Fedora 11 getting wrong packages (rawhide ones) after I install Rawhide kernel? You can download the kernel here: http://koji.fedoraproject.org/koji/buildinfo?buildID=130393 Then install from a terminal using: rpm -ivh kernel-......rpm It is important to use -ivh and *not* -Uvh, so that you keep your old kernel to fall back to if things don't work. This won't replace any F-11 packages. I managed to do it before you posted this reply, I tried with: yum update kernel* --enablerepo=rawhide this also worked But webcam still doesn't work :( This is the message I get: # # dmesg -c # atkbd.c: Unknown key pressed (translated set 2, code 0xee on isa0060/serio0). # atkbd.c: Use 'setkeycodes e06e <keycode>' to make it known. # atkbd.c: Unknown key released (translated set 2, code 0xee on isa0060/serio0). # atkbd.c: Use 'setkeycodes e06e <keycode>' to make it known. # usb 2-1: new high speed USB device using ehci_hcd and address 4 # usb 2-1: New USB device found, idVendor=0c45, idProduct=62c0 # usb 2-1: New USB device strings: Mfr=2, Product=1, SerialNumber=3 # usb 2-1: Product: USB 2.0 Camera # usb 2-1: Manufacturer: Sonix Technology Co., Ltd. # usb 2-1: SerialNumber: SN0001 # usb 2-1: configuration #1 chosen from 1 choice # uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0) # uvcvideo: No valid video chain found. # [root@taichii ~]# # [root@taichii ~]# uname -a # Linux taichii.localdomain 2.6.30 #1 SMP Sat Jun 20 19:03:55 CEST 2009 i686 i686 i386 GNU/Linux # rpm -ivh kernel-2.6.31-0.199.rc8.git2.fc12.i686.rpm error: Failed dependencies: grubby >= 7.0.2-1 is needed by kernel-2.6.31-0.199.rc8.git2.fc12.i686 This fails, as there are dependencies that are in rawhide repos. with kernel 2.6.30 (updated via yum update) when I remove and load module I get this: # rmmod uvcvideo # dmesg -c # modprobe uvcvideo # dmesg uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0) uvcvideo: No valid video chain found. usbcore: registered new interface driver uvcvideo USB Video Class driver (v0.1.0) "uname -a" says it is 2.6.30 kernel but yum installed package named "kernel-headers-2.6.31-0.199.rc8.git2.fc12.i686" I forced kernel install, and will now try do test it again.
# rpm -ivh /home/valentt/Download/kernel-2.6.31-0.199.rc8.git2.fc12.i686.rpm --nodeps
Preparing... ########################################### [100%]
1:kernel ########################################### [100%]
Usage: new-kernel-pkg [-v] [--mkinitrd] [--rminitrd]
[--initrdfile=<initrd-image>] [--depmod] [--rmmoddep]
[--kernel-args=<args>] [--remove-args=<args>]
[--banner=<banner>] [--multiboot=multiboot]
[--mbargs=mbargs] [--make-default]
<--install | --remove | --update | --rpmposttrans> <kernel-version>
(ex: new-kernel-pkg --mkinitrd --depmod --install 2.4.7-2)
warning: %post(kernel-2.6.31-0.199.rc8.git2.fc12.i686) scriptlet failed, exit status 1
(In reply to comment #15) > I forced kernel install, and will now try do test it again. > > # rpm -ivh /home/valentt/Download/kernel-2.6.31-0.199.rc8.git2.fc12.i686.rpm > --nodeps > Preparing... ########################################### [100%] > 1:kernel ########################################### [100%] > Usage: new-kernel-pkg [-v] [--mkinitrd] [--rminitrd] > [--initrdfile=<initrd-image>] [--depmod] [--rmmoddep] > [--kernel-args=<args>] [--remove-args=<args>] > [--banner=<banner>] [--multiboot=multiboot] > [--mbargs=mbargs] [--make-default] > <--install | --remove | --update | --rpmposttrans> <kernel-version> > (ex: new-kernel-pkg --mkinitrd --depmod --install 2.4.7-2) > warning: %post(kernel-2.6.31-0.199.rc8.git2.fc12.i686) scriptlet failed, exit > status 1 Ah, yes. This is not a problem, you need to generate the initrd manually: mkinitrd /boot/initrd-2.6.31-0.199.rc8.git2.fc12.i686.img \ 2.6.31-0.199.rc8.git2.fc12.i686 And then edit grub.conf to add an entry for this kernel (simply copy an existing one and adjust the version) I manually addded kernel in grub and after reboot with new kernel it webcam works! Can this be fixed so it works with default fedora kernels? (In reply to comment #17) > I manually addded kernel in grub and after reboot with new kernel it webcam > works! > Good to hear! > Can this be fixed so it works with default fedora kernels? It will if / when 2.6.31 becomes available as an update for Fedora 11. |