Quote:
|
Originally Posted by wu_qso
I have a new Sony SZ laptop and have installed the modified r5u870 driver at http://ubuntuforums.org/showthread.php?t=514292&page=3. Then after rebooted and, as root, I ran 'caminfo' and got
Detected 1 Video4Linux devices.
Device node : /dev/video0
Name of device : "Sony VGP-VCC7 #1"
Minimum size : 48x32
Current size : 0x0
Maximum size : 640x480
Video inputs : 1
Input 0
Name : "Camera"
Type : Camera
Audio : no
Tuners : 0
Audio inputs : 0
# ls /dev/video* gives
/dev/video /dev/video0
But camstream and Ekiga both claims no device found. Anybody can give any idea? Thanks!
|
The driver works, but for root only! So I checked the right of the users to use the device as
# ls -l /dev/video*
lrwxrwxrwx 1 root root 6 01-11 08:44 /dev/video -> video0
crw------- 1 root root 81, 0 01-11 08:44 /dev/video0
then
# chmod 777 /dev/video0
# ls -l /dev/video*
lrwxrwxrwx 1 root root 6 01-11 08:44 /dev/video -> video0
crwxrwxrwx 1 root root 81, 0 01-11 08:44 /dev/video0
Non-root users can use the camera now!
Problems:
1. is there any security issue after changing the right of '/dev/video0'?
2. each time the system is rebooted the right of '/dev/video0' changes back to 'crw-------'.