Description of problem: After hibernation, neither video nor audio works. Version-Release number of selected component (if applicable): udev-161-4.fc14.x86_64 kernel-2.6.35.6-48.fc14.x86_64 How reproducible: 2 out of 2 Steps to Reproduce: 1. Install gstreamer-properties 2. Hibernate and resume 3. Run gstreamer-properties from console 4. Start webcam test Actual results: Console shows: gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Could not open device '/dev/video0' for reading and writing. [v4l2_calls.c(502): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src1: system error: Permission denied] Expected results: Webcam works Additional info: After doing "sudo chmod o+rw /dev/video0", the webcam works. Audio is likewise broken and fixed by "sudo chmod -R o+rw /dev/snd/".
chmod is not the way it works... console user access is granted with ACLs. What is: # getfacl /dev/video0 before and after hibernation
before hibernation ================== yakj:~ pbonzini$ getfacl /dev/video0 getfacl: Removing leading '/' from absolute path names # file: dev/video0 # owner: root # group: video user::rw- user:pbonzini:rw- group::rw- mask::rw- other::--- after hibernation ================= yakj:~ pbonzini$ getfacl /dev/video0 getfacl: Removing leading '/' from absolute path names # file: dev/video0 # owner: root # group: video user::rw- group::rw- mask::rw- other::--- As expected, the ACL is not restored (the chmod experiment was just to make sure that the problem involved permissions). A workaround is to switch to another console and back. I guess the bug is more likely to be in ConsoleKit, changing component.
*** This bug has been marked as a duplicate of bug 650955 ***
*** This bug has been marked as a duplicate of bug 643367 ***