PDA

View Full Version : [ubuntu] New Webcam requires some programs to be run as sudo!



Rytron
July 21st, 2009, 08:09 PM
Hi.
I just got a web cam. I notice that I need to run sudo wxcam to get wxcam to work with it. Also cheese needs to be run in sudo sometimes. How can I use the Webcam as non sudo user?

igorzwx
July 21st, 2009, 08:23 PM
This should be immediately reported to the security forum.

Dragonbite
July 21st, 2009, 08:35 PM
Look at the permissions of /dev/video0. I think that is where it is. If so, you may be able to try
chmod 777 /dev/video0 to make it not root-only accessible.

I'm guessing here.

When I run something like Kino the first time, I get the message about /dev/raw1394 not be accessible. I have to run the chmod command to /dev/raw1394 and then I can access it with no problems. I'm just guessing that your webcam is operating in a similar fashion.

Rytron
July 22nd, 2009, 10:28 AM
chmod 777 /dev/video0 seems to have done the trick.

I also used chmod 777 for audio1 which appeared in /dev when the webcam was connected. I now can get audio.

Dragonbite
July 22nd, 2009, 12:28 PM
chmod 777 /dev/video0 seems to have done the trick.

I also used chmod 777 for audio1 which appeared in /dev when the webcam was connected. I now can get audio.

Great! Glad it worked!

Rytron
July 22nd, 2009, 03:55 PM
I can now use cheese to record video with sound. ~ Perfect. :D
Although wxcam records only video with NO sound. Does anyone know how to get wxcam to record video and sound?
Thanks.

Rytron
September 21st, 2009, 05:11 PM
Has anyone got wxcam to record sound with video?

:confused:

Surely someone knows?

no2498
February 2nd, 2010, 10:10 PM
i do on 804

Rytron
February 3rd, 2010, 02:26 PM
i do on 804

Please elaborate. :o