Bug 462376 - /dev/video0 should be accessible in the XO
Summary: /dev/video0 should be accessible in the XO
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: udev
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FedoraOnXO
TreeView+ depends on / blocked
 
Reported: 2008-09-15 18:44 UTC by Sayamindu Dasgupta
Modified: 2008-10-02 15:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-10-02 15:48:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sayamindu Dasgupta 2008-09-15 18:44:48 UTC
Description of problem:
Cheese does not work due to lack of permissions on /dev/video0


How reproducible:
Always

Steps to Reproduce:
1. Start Cheese

  
Actual results:
No picture is seen

Expected results:
A picture from the XO camera should be seen

Additional info:
If you start Cheese from the terminal, you can see that it is failing to access /dev/video0 due to permission issues. Cheese works fine when run as root.

Comment 1 Jeremy Katz 2008-09-15 19:00:02 UTC
A couple of things to check:
* getfacl /dev/video0   (and whatever the symlink points to)
* ck-list-sessions -- make sure ConsoleKit thinks you're on the console

Comment 2 Sayamindu Dasgupta 2008-10-01 17:54:26 UTC
[fedora@localhost ~]$ getfacl /dev/video
getfacl: Removing leading '/' from absolute path names
# file: dev/video
# owner: root
# group: root
user::rw-
group::rw-
other::---

[fedora@localhost ~]$ getfacl /dev/video0
getfacl: Removing leading '/' from absolute path names
# file: dev/video0
# owner: root
# group: root
user::rw-
group::rw-
other::---

=[fedora@localhost ~]$ ck-list-sessions 
Session2:
	unix-user = '500'
	realname = 'Fedora Live'
	seat = 'Seat1'
	session-type = ''
	active = TRUE
	x11-display = ':0'
	x11-display-device = '/dev/tty7'
	display-device = ''
	remote-host-name = ''
	is-local = TRUE
	on-since = '2008-10-01T21:42:55.704044Z'
	login-session-id = ''
[fedora@localhost ~]$

Comment 3 Jeremy Katz 2008-10-02 15:48:25 UTC
Checking with the newer build I posted last night, this seems to work okay now


Note You need to log in before you can comment on or make changes to this bug.