** Description changed:
- since several weeks i loose acces to /dev/video0.
- I have one webcam and one TV tuner.
+ The File:
+ -rw------- 1 root root 4096 2009-10-04 20:30 usb-0000:00:02.0-4:PC Camera
+ is created by root with owner-only permissions and as this file has to be
accessed from a user account the camera is not accessible.
+
+ This is fixed in the new upstream version in lucid.
+
+ The attached patch prefixes the shm segment name with the effective uid.
+ It falls back to malloc if shm segment creation fails.
+
+
boz...@bozhan:~$ lsusb
Bus 002 Device 006: ID 0ac8:305b Z-Star Microelectronics Corp. ZC0305 Webcam
boz...@bozhan:~$ lspci
01:08.0 Multimedia controller: Philips Semiconductors SAA7131/SAA7133/SAA7135
Video Broadcast Decoder (rev d0)
boz...@bozhan:~$ ls -la /dev/video*
crw-rw----+ 1 root video 81, 0 2009-09-17 12:07 /dev/video0
crw-rw----+ 1 root video 81, 1 2009-09-17 12:07 /dev/video1
here is output of dmesg about webcam:
- [ 13.509222] gspca: main v2.6.0 registered
- [ 13.515638] gspca: probing 0ac8:305b
- [ 13.515645] zc3xx: Sensor Tas5130 (VF0250)
- [ 13.526078] gspca: probe ok
- [ 13.526096] usbcore: registered new interface driver zc3xx
+ [ 13.509222] gspca: main v2.6.0 registered
+ [ 13.515638] gspca: probing 0ac8:305b
+ [ 13.515645] zc3xx: Sensor Tas5130 (VF0250)
+ [ 13.526078] gspca: probe ok
+ [ 13.526096] usbcore: registered new interface driver zc3xx
[ 13.526100] zc3xx: registered
but i don't have access to /dev/video0
- boz...@bozhan:~$ cat /dev/video0
+ boz...@bozhan:~$ cat /dev/video0
cat: /dev/video0: Permission denied
but i have access to /dev/video1
my user belong to group video.
boz...@bozhan:~$ lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10
** Summary changed:
- /dev/video
+ unable to access camera
--
unable to access camera
https://bugs.launchpad.net/bugs/431303
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs