LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-23-2008, 01:16 PM   #1
vertigo88x
Member
 
Registered: Dec 2006
Location: Perth Amboy, NJ, USA
Distribution: Fedora 9
Posts: 87

Rep: Reputation: 15
logitech quickcam works only as root


Code:
]# lsmod | grep vid
usbvideo               26372  2 quickcam_messenger
compat_ioctl32          5120  1 usbvideo
videodev               29056  2 usbvideo
v4l2_common            18432  1 videodev
v4l1_compat            16004  1 videodev

# ls -l /dev/video
lrwxrwxrwx 1 root root 6 2008-02-23 12:39 /dev/video -> video0

$ dmesg | grep vid
Boot video device is 0000:00:02.0
totem-video-thu[2792]: segfault at b3cfd000 eip 07163bd0 esp b5688a60 error 4
Linux video capture interface: v2.00
drivers/media/video/usbvideo/quickcam_messenger.c: Logitech Quickcam Messenger USB v0.01
videodev: "QCM USB Camera" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/

Last edited by vertigo88x; 02-23-2008 at 01:22 PM. Reason: added details
 
Old 02-23-2008, 04:45 PM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
what are the permissions on /dev/video0 that /dev/video links to?

example:
Code:
$ ll *video*
lrwxrwxrwx 1 root root 6 2008-02-23 16:43 video -> video0
-rw------- 1 root root 0 2008-02-23 16:42 video0
(i dont have a /dev/video but used that just for demonstration)

The problem likely lies there...
 
Old 02-23-2008, 05:58 PM   #3
vertigo88x
Member
 
Registered: Dec 2006
Location: Perth Amboy, NJ, USA
Distribution: Fedora 9
Posts: 87

Original Poster
Rep: Reputation: 15
Code:
$ ls -l /dev/video0
crw-rw---- 1 root root 81, 0 2008-02-23 12:39 /dev/video0
 
Old 02-23-2008, 06:37 PM   #4
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
A couple of things you may try to see if you can get it to work for your user are:

change it (non-persistent) to your user
Code:
chown <your username> /dev/video0
allow anyone rw permissions (if this is your system or a family system then security to this device may not be a concern)
Code:
chmod 666 /dev/video0
If either of these work or are acceptable given your concerns and system's use you could probably get away with just adding a udev rule to perform the necessary modification at device creation time so you (or multiple users) may use it without the need for logging in as root.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logitech Quickcam Messenger dudeman41465 Linux - Hardware 0 09-23-2006 07:31 AM
Logitech Quickcam IM Aussiejoe Linux - Hardware 3 07-12-2006 12:09 PM
Logitech QuickCam Messenger cootetom SUSE / openSUSE 39 05-20-2006 05:04 AM
Logitech quickcam cphase Linux - Hardware 2 04-19-2005 04:03 AM
Logitech Quickcam Zoom jackson Linux - Software 1 04-06-2003 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration