On 20.11.2014 18:57, Greg KH wrote: > On Thu, Nov 20, 2014 at 12:05:23PM +0300, Andrei Borzenkov wrote: >> On Thu, Nov 20, 2014 at 11:53 AM, Mantas Mikulėnas <graw...@gmail.com> wrote: >>> On Thu, Nov 20, 2014 at 5:40 AM, Andrei Borzenkov <arvidj...@gmail.com> >>> wrote: >>>> >>>> The problem is, there no easy way to build device name from rfkillN for >>>> BindsTo. May be additional format specifier that would query udev >>>> database. Alternatively systemd-rfkill can be changed to accept sysfs >>>> path directly. >>> >>> You sure about that? /sys/class/rfkill/%i should work fine... >> >> I'm not before my notebook, but I'm pretty sure this device is not >> present in the "systemctl -t device" list. Actually I do not think any >> /sys/class alias is present at all. > > Then something is wrong with your kernel :( > > You should have something like /sys/class/rfkill/rfkill0 and such in > there.
For the record: $ ls /sys/class/rfkill/ rfkill41 rfkill42 $ systemctl -t device | grep rfkill sys-devices-pci0000:00-0000:00:1a.0-usb3-3\x2d1-3\x2d1:1.0-bluetooth-hci0-rfkill42.device sys-devices-pci0000:00-0000:00:1a.7-usb1-1\x2d3-1\x2d3:1.0-ieee80211-phy15-rfkill41.device -- Było mi bardzo miło. Twoje oczy lubią mnie >Łukasz< i to mnie zgubi (c)SNL REKLAMA: http://ars-fabrica.eu/ sklep z rękodziełem
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel