Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 263172

Summary: sys-fs/udev-140: no rule for raw1394 device
Product: Gentoo Linux Reporter: Cyril <cyril.baletaud>
Component: [OLD] LibraryAssignee: udev maintainers <udev-bugs>
Status: RESOLVED OBSOLETE    
Severity: normal CC: stefan-r-bz
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cyril 2009-03-20 20:29:48 UTC
with udev-140 udev doesn't provide permission for raw1394 device

Reproducible: Always

Steps to Reproduce:
1.plug dv device
2.gentoocyril cyril # ls -l /dev/raw1394
crw-rw---- 1 root root 171, 0 mars 20 21:25 /dev/raw1394
3.

Actual Results:  
chown root:video /dev/raw1394

and dvgrab ready for grabbing

I propose to add in /lib/udev/rules.d/50-udev-default.rules in section firewire
# Firewire
KERNEL=="dv1394[0-9]*",         NAME="dv1394/%n", GROUP="video"
KERNEL=="video1394[0-9]*",      NAME="video1394/%n", GROUP="video"
++KERNEL=="raw1394*",             GROUP="video"

or to have a new rule in /etc/udev/rules.d/10-my_dv_rule
KERNEL=="raw1394*",             GROUP="video"
Comment 2 Stefan Richter 2009-06-30 19:50:54 UTC
Upstream did not remove it for security reasons, they removed it because Ubuntu did it.  The udev maintainers did not consult the maintainers of the IEEE 1394 kernel drivers and libraw1394 when they did this.

And the Ubuntu maintainers removed it because they have a limited understanding of IEEE 1394 security concerns.  As the consequence, IEEE 1394 is not working on Ubuntu without manipulation of system files by end users.  (Except for storage = SBP-2 and IP-over-1394, which don't require userspace access to the 1394 bus.)

Here is my comment on the upstream udev change (when I noticed it, months after it was committed), and Kay Siever's response:
http://thread.gmane.org/gmane.linux.hotplug.devel/13969
Comment 3 Stefan Richter 2011-05-28 13:27:08 UTC
Kernel 2.6.37 (January 2011) and newer does not contain raw1394 anymore.  Perhaps this bug can therefore be closed as won't-fix.  Users of ra1394 on older kernels will still be affected but can at least work around it by adding an own rule (once they figured out that they need it).
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-03-22 06:03:47 UTC
Closing as per Comment #3