[Bug 3609] raw1394 does not allow for udev

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Tue Mar 29 06:22:44 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=3609
Ubuntu | linux


jbailey at ubuntu.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |PENDINGUPLOAD




------- Additional Comments From jbailey at ubuntu.com  2005-03-29 07:22 UTC -------
(In reply to comment #8)

> +      M) mknod --mode=600 /dev/$name $arg1
> +         grep $name: /etc/udev/permissions.d/* | \
> +         sed "s/^.*:\(.*\):\(.*\):\([0-9]*\)/chown \1:\2 \/dev\/$(echo $name |
> sed 's/\//\\\//g'); chmod \3 \/dev\/$(echo $name | sed 's/\//\\\//g')/g" | sh
> +         ;;

grep "^${name}:" /etc/udev/permissions.d/udev.permissions | while IFS=: read a b
c d; do chown ${b}:${c} /dev/${a}; chmod ${d} /dev/${a}; done

does the same thing, while being quite a bit more readable.  Both have the
problem that the permissions file specifies a wildcard, which won't be picked up
by the grep.

Since we're manually configuring this for now, I'm going to just hardcode it to
a 0 with a note to change it.

I'm not doing /dev/dv1394, since it can refer to two different device major,
minors.  Unless I can find a heuristic to determine PAL from NTSC automatically,
this has to be done in the driver.

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kernel-bugs mailing list