[systemd-devel] [BUG] too many rfkill services

Lukasz Stelmach stlman at poczta.fm
Thu Nov 20 10:40:34 PST 2014


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 <grawity at gmail.com> wrote:
>>> On Thu, Nov 20, 2014 at 5:40 AM, Andrei Borzenkov <arvidjaar at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 538 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141120/aee26429/attachment.sig>


More information about the systemd-devel mailing list