Description of problem: No support/not working USB camera Genius iLook 317 till kernel 3.12.20.1.mga4. Does not work in other Linux distribution as well, because in gspca the camera is not included. Version-Release number of selected component (if applicable): up to kernel-desktop-3.12.20-1.mga4 How reproducible: still Steps to Reproduce: 1. Plug the USB camera to the computer, open program Cheese, Kopete, Skype. No device to open. 2. $ ls /dev/video0 $ 3. $ lsusb Bus 008 Device 003: ID 093a:2623 Pixart Imaging, Inc. 4. modinfo: # modinfo gspca_pac7302 filename: /lib/modules/3.12.20-desktop-1.mga4/kernel/drivers/media/usb/gspca/gspca_pac7302.ko.xz license: GPL description: Pixart PAC7302 author: Jean-Francois Moine <http://moinejf.free.fr>, Thomas Kaiser thomas@kaiser-linux.li srcversion: 07FD969522A3B62F31F40D7 alias: usb:v1AE7p2001d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v145Fp013Cd*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap262Cd*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap262Ad*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2629d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2628d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2627d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2626d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2625d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2624d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2622d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2621d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2620d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v06F8p301Bd*dc*dsc*dp*ic*isc*ip*in* alias: usb:v06F8p3009d*dc*dsc*dp*ic*isc*ip*in* depends: videodev,gspca_main,usbcore intree: Y vermagic: 3.12.20-desktop-1.mga4 SMP mod_unload modversions How to solve it, camera works fine: 1) install: # urpmi kernel-source-3.12.20-1.mga4-1-1.mga4 gcc make kernel-devel 2) under root edit /usr/src/kernel-3.12.20-1.mga4/drivers/media/usb/gspca/pac7302.c in the position needs to be added the line: /* -- module initialisation -- */ static const struct usb_device_id device_table[] = { {USB_DEVICE(0x06f8, 0x3009)}, {USB_DEVICE(0x06f8, 0x301b)}, {USB_DEVICE(0x093a, 0x2620)}, {USB_DEVICE(0x093a, 0x2621)}, {USB_DEVICE(0x093a, 0x2622), .driver_info = FL_VFLIP}, {USB_DEVICE(0x093a, 0x2623), .driver_info = FL_VFLIP}, /* Genius iLook 317 */ {USB_DEVICE(0x093a, 0x2624), .driver_info = FL_VFLIP}, {USB_DEVICE(0x093a, 0x2625)}, {USB_DEVICE(0x093a, 0x2626)}, {USB_DEVICE(0x093a, 0x2627), .driver_info = FL_VFLIP}, {USB_DEVICE(0x093a, 0x2628)}, {USB_DEVICE(0x093a, 0x2629), .driver_info = FL_VFLIP}, {USB_DEVICE(0x093a, 0x262a)}, {USB_DEVICE(0x093a, 0x262c)}, {USB_DEVICE(0x145f, 0x013c)}, {USB_DEVICE(0x1ae7, 0x2001)}, /* SpeedLink Snappy Mic SL-6825-SBK */ {} }; and save. 3) Copy .config from previous MGA kernel or actual running kernel: # copy cp /boot/config-`uname -r` ./.config 4) compile the kernel: # make or make -j4 (or 2, 3; depends how many Core CPU have)... 5) then # make modules && make modules_install && make install 6) restart PC/notebook and boot to the new generated kernel 7) check modinfo and ls /dev/video* # modinfo gspca_pac7302 filename: /lib/modules/3.12.20-1.mga4custom/kernel/drivers/media/usb/gspca/gspca_pac7302.ko license: GPL description: Pixart PAC7302 author: Jean-Francois Moine <http://moinejf.free.fr>, Thomas Kaiser thomas@kaiser-linux.li srcversion: C48C0A10CAD072050A56A11 alias: usb:v1AE7p2001d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v145Fp013Cd*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap262Cd*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap262Ad*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2629d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2628d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2627d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2626d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2625d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2624d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2623d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2622d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2621d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v093Ap2620d*dc*dsc*dp*ic*isc*ip*in* alias: usb:v06F8p301Bd*dc*dsc*dp*ic*isc*ip*in* alias: usb:v06F8p3009d*dc*dsc*dp*ic*isc*ip*in* depends: videodev,gspca_main,usbcore intree: Y vermagic: 3.12.20-1.mga4custom SMP mod_unload modversions # ls /dev/video* /dev/video0 8) Skype: have to be used LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype or LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so skype And camera works well... NOTE: this camera can be added to gspca.txt as supported. Can be add this modification in the next kernel update for MGA4 and Caulron? Thank you... Reproducible: Steps to Reproduce:
CC: (none) => thierry.vignaudAssignee: bugsquad => tmbSource RPM: (none) => kernel
FYI, I have got a mail from linuxfoundation.org: > Patch "media: gspca_pac7302: Add new usb-id for Genius i-Look 317" has been added to the 3.10-stable tree > Patch "media: gspca_pac7302: Add new usb-id for Genius i-Look 317" has been added to the 3.14-stable tree > Patch "media: gspca_pac7302: Add new usb-id for Genius i-Look 317" has been added to the 3.15-stable tree > can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > media-gspca_pac7302-add-new-usb-id-for-genius-i-look-317.patch and it can be found in the queue-3.1x subdirectory. > If you, or anyone else, feels it should not be added to the stable tree, please let <stable@vger.kernel.org> know about it.
fix is in 3.12.25-2 currently in updates_testing
Depends on: (none) => 13801
kernel pushed
Status: NEW => RESOLVEDResolution: (none) => FIXED