[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
Yuri Glushkov, thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because as per https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/comments/35 the bug has been fixed in the latest development version of Ubuntu - Trusty Tahr. This is a significant bug in Ubuntu. If you need a fix for the bug in previous versions of Ubuntu, please perform as much as possible of the SRU Procedure [1] to bring the need to a developer's attention. [1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure ** Changed in: linux (Ubuntu) Status: Incomplete => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
It would be nice to have a backport at least for the latest LTS version. Anyway, why the status should be Invalid? The bug was eventually fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
Yuri Glushkov, would you need a backport to a release prior to Trusty, or may this be closed as Status Invalid? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
Tested (on Trusty live image) and working for me. led_invert=1 for gspca_pac207 inverts the LED logic, so it performs correctly with my webcam. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
Yuri Glushkov, a potential fix is available in Saucy and Trusty as per: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-saucy.git;a=commit;h=143dd34597a2e051cb0938b28387b94742d4e4e4 http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-trusty.git;a=commit;h=143dd34597a2e051cb0938b28387b94742d4e4e4 Could you please test Trusty via http://cdimage.ubuntu.com/daily- live/current/ and advise if this works for you? ** Changed in: linux (Ubuntu) Status: Triaged => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
Yuri Glushkov, thank you for contacting the upstream mailing list. Regarding this post https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/comments/32 : >"[4.] Kernel version (from /proc/version): Linux version 3.2.0-32-generic-pae" Despite how this issue has been identified by downstream to be an upstream issue, please be mindful then when you provide information to upstream kernel.org developers and triagers, you should be booted into the newest upstream mainline kernel available that demonstrates this problem. 3.2.0-32-generic-pae is a Ubuntu kernel, not an upstream mainline kernel. Booting into the mainline avoids some potentially dismissing your problem as a downstream/distro problem only. For more on this, please see https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Boot_Into_Mainline_Kernel . Thank you for your understanding. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
Yuri Glushkov, as per both Linus Master: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/media/usb/gspca/pac207.c;h=d236d1791f78da1ff0bdf965b8dde6389d169155;hb=0e4a43ed08e2f44aa7b96aa95d0a540d675483e1 and Quantal HEAD: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-quantal.git;a=blob_plain;f=drivers/media/video/gspca/pac207.c;hb=HEAD the code you propose to change is still unchanged. Hence, the issue you are reporting is an upstream one. Could you please report this problem through the appropriate channel by following the instructions _verbatim_ at https://wiki.ubuntu.com/Bugs/Upstream/kernel#KernelTeam.2BAC8-KernelTeamBugPolicies.Overview_on_Reporting_Bugs_Upstream ? Thank you for your understanding. Marking Triaged due to code in Quantal HEAD and Linus Master both the same, unchanged code from proposed patch. Hence, mainline kernel test equivalent has been performed. ** Changed in: linux (Ubuntu) Status: Confirmed => Triaged ** Tags added: kernel-bug-exists-upstream kernel-bug-exists- upstream-v3.7-rc4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
** Description changed: Hi all, Problem: The LED on this webcam is always turned on when connected to USB, unless some application uses it - the behavior that is opposite to what is expected. It was tested on Ubuntu 9.10 32 bit, kernel 2.6.31-19-generic. lsusb shows the webcam information as follows: ID 093a:2460 Pixart Imaging, Inc. Q-TEC WEBCAM 100 Suggested solution: The driver for this camera is gspca_pac207 (located at /lib/modules/2.6.31-19-generic/kernel/drivers/media/video/gspca). In the driver source file pac207.c it can be seen that the bit 1 of the register at 0x41 controls the LED. Looks like it was assumed that '0' at this bit turns the light off, when actually '1' does that. After I've changed the value of this register to the opposite, the re-compiled driver works correctly and the LED is on only when the camera is in use. I've attached the modified pac207.c. The diff of the changed file vs. original is below: - 272c272 - < pac207_write_reg(gspca_dev, 0x41, 0x02); - --- - > pac207_write_reg(gspca_dev, 0x41, 0x00); - 308c308 - < mode = 0x00; /* Image Format (Bit 0), LED (1), Compr. test mode (2) */ - --- - > mode = 0x02; /* Image Format (Bit 0), LED (1), Compr. test mode (2) */ - 331c331 - < pac207_write_reg(gspca_dev, 0x41, 0x02); /* Turn off LED */ - --- - > pac207_write_reg(gspca_dev, 0x41, 0x00); /* Turn of LED */ - --- + 272c272 change: + pac207_write_reg(gspca_dev, 0x41, 0x00); + + to: + pac207_write_reg(gspca_dev, 0x41, 0x02); + + 308c308 change: + mode = 0x02; /* Image Format (Bit 0), LED (1), Compr. test mode (2) */ + + to: + mode = 0x00; /* Image Format (Bit 0), LED (1), Compr. test mode (2) */ + + + 331c331 change: + pac207_write_reg(gspca_dev, 0x41, 0x00); /* Turn of LED */ + + to: + pac207_write_reg(gspca_dev, 0x41, 0x02); /* Turn off LED */ + + AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. ApportVersion: 1.23-0ubuntu4 Architecture: i386 ArecordDevices: - List of CAPTURE Hardware Devices - card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog] -Subdevices: 1/1 -Subdevice #0: subdevice #0 + List of CAPTURE Hardware Devices + card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog] + Subdevices: 1/1 + Subdevice #0: subdevice #0 AudioDevicesInUse: - USERPID ACCESS COMMAND - /dev/snd/controlC1: yuri 1733 F pulseaudio - /dev/snd/controlC0: yuri 1733 F pulseaudio + USERPID ACCESS COMMAND + /dev/snd/controlC1: yuri 1733 F pulseaudio + /dev/snd/controlC0: yuri 1733 F pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: - Card hw:0 'PCH'/'HDA Intel PCH at 0xfaa0 irq 52' -Mixer name : 'Intel CougarPoint HDMI' -Components : 'HDA:10ec0892,1043841b,00100302 HDA:80862805,80862805,0010' -Controls : 39 -Simple ctrls : 21 + Card hw:0 'PCH'/'HDA Intel PCH at 0xfaa0 irq 52' + Mixer name : 'Intel CougarPoint HDMI' + Components : 'HDA:10ec0892,1043841b,00100302 HDA:80862805,80862805,0010' + Controls : 39 + Simple ctrls : 21 Card1.Amixer.info: - Card hw:1 'NVidia'/'HDA NVidia at 0xfa08 irq 17' -Mixer name : 'Nvidia GPU 15 HDMI/DP' -Components : 'HDA:10de0015,10de0101,00100100' -Controls : 16 -Simple ctrls : 4 + Card hw:1 'NVidia'/'HDA NVidia at 0xfa08 irq 17' + Mixer name : 'Nvidia GPU 15 HDMI/DP' + Components : 'HDA:10de0015,10de0101,00100100' + Controls : 16 + Simple ctrls : 4 DistroRelease: Ubuntu 11.10 HibernationDevice: RESUME=UUID=de1eeb67-9373-4213-9118-ae26c42861ed InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) IwConfig: - lono wireless extensions. - - eth2 no wireless extensions. + lono wireless extensions. + + eth2 no wireless extensions. MachineType: System manufacturer System Product Name NonfreeKernelModules: nvidia Package: linux (not installed) ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-26-generic-pae root=UUID=8e0e5216-29f9-432a-9298-ec75abcd3f07 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 3.0.0-26.43-generic-pae 3.0.43 RelatedPackageVersions: - linux-restricted-modules-3.0.0-26-generic-pae N/A - linux-backports-modules-3.0.0-26-generic-pae N/A - linux-firmware1.60.1 + linux-restricted-modules-3.0.0-26-generic-pae N/A + linux-backports-modules-3.0.0-26-generic-pae N/A + linux-firmware1.60.1 RfKill: - + StagingDrivers: mei Tags: oneiric running-unity staging Uname: Linux 3.0.0-26-generic-pae i686 UpgradeStatus: Upgraded to oneiric on 2011-10-30 (353 days ago) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 04/01/2011 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 1002 dmi.boar
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed ** Tags removed: needs-kernel-logs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
>As well, reviewing the Ubuntu Quantal git kernel pac207.c from >http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-quantal.git;a=blob_plain;f=drivers/media/video/gspca/pac207.c;hb=HEAD > >shows the code mentioned in the Bug Description is still in the original >state that you proposed to diff. Corrrect, as I've only offered one way to this bug fix, while the final one may be different. There was no patch applied, as far as I can recall. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
>Could you please execute the following at a terminal: >apport-collect 525959 Done. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
apport information ** Tags added: apport-collected oneiric running-unity staging ** Description changed: Hi all, Problem: The LED on this webcam is always turned on when connected to USB, unless some application uses it - the behavior that is opposite to what is expected. It was tested on Ubuntu 9.10 32 bit, kernel 2.6.31-19-generic. lsusb shows the webcam information as follows: ID 093a:2460 Pixart Imaging, Inc. Q-TEC WEBCAM 100 Suggested solution: The driver for this camera is gspca_pac207 (located at /lib/modules/2.6.31-19-generic/kernel/drivers/media/video/gspca). In the driver source file pac207.c it can be seen that the bit 1 of the register at 0x41 controls the LED. Looks like it was assumed that '0' at this bit turns the light off, when actually '1' does that. After I've changed the value of this register to the opposite, the re-compiled driver works correctly and the LED is on only when the camera is in use. I've attached the modified pac207.c. The diff of the changed file vs. original is below: 272c272 < pac207_write_reg(gspca_dev, 0x41, 0x02); --- > pac207_write_reg(gspca_dev, 0x41, 0x00); 308c308 < mode = 0x00; /* Image Format (Bit 0), LED (1), Compr. test mode (2) */ --- > mode = 0x02; /* Image Format (Bit 0), LED (1), Compr. test mode (2) */ 331c331 < pac207_write_reg(gspca_dev, 0x41, 0x02); /* Turn off LED */ --- > pac207_write_reg(gspca_dev, 0x41, 0x00); /* Turn of LED */ + --- + AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. + ApportVersion: 1.23-0ubuntu4 + Architecture: i386 + ArecordDevices: + List of CAPTURE Hardware Devices + card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog] +Subdevices: 1/1 +Subdevice #0: subdevice #0 + AudioDevicesInUse: + USERPID ACCESS COMMAND + /dev/snd/controlC1: yuri 1733 F pulseaudio + /dev/snd/controlC0: yuri 1733 F pulseaudio + CRDA: Error: [Errno 2] No such file or directory + Card0.Amixer.info: + Card hw:0 'PCH'/'HDA Intel PCH at 0xfaa0 irq 52' +Mixer name : 'Intel CougarPoint HDMI' +Components : 'HDA:10ec0892,1043841b,00100302 HDA:80862805,80862805,0010' +Controls : 39 +Simple ctrls : 21 + Card1.Amixer.info: + Card hw:1 'NVidia'/'HDA NVidia at 0xfa08 irq 17' +Mixer name : 'Nvidia GPU 15 HDMI/DP' +Components : 'HDA:10de0015,10de0101,00100100' +Controls : 16 +Simple ctrls : 4 + DistroRelease: Ubuntu 11.10 + HibernationDevice: RESUME=UUID=de1eeb67-9373-4213-9118-ae26c42861ed + InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) + IwConfig: + lono wireless extensions. + + eth2 no wireless extensions. + MachineType: System manufacturer System Product Name + NonfreeKernelModules: nvidia + Package: linux (not installed) + ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-26-generic-pae root=UUID=8e0e5216-29f9-432a-9298-ec75abcd3f07 ro quiet splash vt.handoff=7 + ProcVersionSignature: Ubuntu 3.0.0-26.43-generic-pae 3.0.43 + RelatedPackageVersions: + linux-restricted-modules-3.0.0-26-generic-pae N/A + linux-backports-modules-3.0.0-26-generic-pae N/A + linux-firmware1.60.1 + RfKill: + + StagingDrivers: mei + Tags: oneiric running-unity staging + Uname: Linux 3.0.0-26-generic-pae i686 + UpgradeStatus: Upgraded to oneiric on 2011-10-30 (353 days ago) + UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare + dmi.bios.date: 04/01/2011 + dmi.bios.vendor: American Megatrends Inc. + dmi.bios.version: 1002 + dmi.board.asset.tag: To be filled by O.E.M. + dmi.board.name: P8H67-M PRO + dmi.board.vendor: ASUSTeK Computer INC. + dmi.board.version: Rev 1.xx + dmi.chassis.asset.tag: Asset-1234567890 + dmi.chassis.type: 3 + dmi.chassis.vendor: Chassis Manufacture + dmi.chassis.version: Chassis Version + dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1002:bd04/01/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP8H67-MPRO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion: + dmi.product.name: System Product Name + dmi.product.version: System Version + dmi.sys.vendor: System manufacturer ** Attachment added: "AcpiTables.txt" https://bugs.launchpad.net/bugs/525959/+attachment/3402820/+files/AcpiTables.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
Yuri Glushkov, thank you for reporting this and helping make Ubuntu better. Could you please execute the following at a terminal: apport-collect 525959 As well, reviewing the Ubuntu Quantal git kernel pac207.c from http://kernel.ubuntu.com/git?p=ubuntu/ubuntu- quantal.git;a=blob_plain;f=drivers/media/video/gspca/pac207.c;hb=HEAD shows the code mentioned in the Bug Description is still in the original state that you proposed to diff. ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Tags added: karmic needs-kernel-logs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 525959] Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
** Summary changed: - Webcam 093a:2460 (Pixart PAC207BCA) - inverted LED logic + 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/525959 Title: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs