Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Handling /dev/rfkill, testers wanted
Date: Fri, 07 Mar 2014 20:19:24
Message-Id: 531A28EC.9040405@gentoo.org
In Reply to: Re: [gentoo-dev] Handling /dev/rfkill, testers wanted by Samuli Suominen
1 On 07/03/14 21:57, Samuli Suominen wrote:
2 > [ ... ]
3 >
4 > So, make sure only 50-udev-default.rules has it's rfkill line and create
5 > file 70-gentoo-acl.rules with content of:
6 >
7 > SUBSYSTEM=="rfkill", TAG+="udev-acl"
8 >
9 > This would make it work with ACLs "+" if user is viewed as 'active = TRUE' in `ck-list-sessions`
10 >
11 > Can someone confirm?
12 >
13 >
14
15 I don't get why 99-systemd.rules uses SUBSYSTEM=="rfkill" but someone
16 just posted me this:
17
18 $ udevadm info -a --name /dev/rfkill
19
20 looking at device '/devices/virtual/misc/rfkill':
21 KERNEL=="rfkill"
22 SUBSYSTEM=="misc"
23 DRIVER==""
24
25 So it would have to be KERNEL=="rfkill" instead of SUBSYSTEM=="rfkill"?
26 Would be so much easier if I had a device that created /dev/rfkill, I
27 wonder if that can be simulated somehow sane.

Replies

Subject Author
Re: [gentoo-dev] Handling /dev/rfkill, testers wanted Alexander Tsoy <alexander@××××.me>