Created attachment 347868 [details] lsusb -v output Description of problem: I have installed Fedora 11 on my sisters laptop with this webcam: Bus 002 Device 002: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera Laptop is MSI MS-1221 (PR200): https://wiki.ubuntu.com/LaptopTestingTeam/MSIPR200 It worked on Ubuntu 8.04 with System76 drivers package, but now on Fedora 11 it doesn't work. I checked your webpage and this usb model is under supported models. This is what I get when I unload and load the uvcvideo module: 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) but cheese and mplayer don't see the webcam and there is no /dev/video0 device ;( kernel is: 2.6.29.4-167.fc11.i586 lsusb output: Bus 002 Device 002: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera Is there some caveat that I'm missing? Can I provide you with some more feedback? How can I get this webcam working? Cheers! Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
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.