[yocto] rfkill cannot open control device

Zoran Stojsavljevic zoran.stojsavljevic at gmail.com
Wed Dec 20 01:25:18 PST 2017


Inside poky distro (.../poky/meta/recipes-connectivity):

[user at localhost recipes-connectivity]$ pwd
/home/user/YOCTO/oe_core_embedded/poky/meta/recipes-connectivity
[user at localhost recipes-connectivity]$ ls -al
total 96
drwxrwxr-x. 24 user user 4096 Oct 18 12:49 .
drwxrwxr-x. 19 user user 4096 Nov 18 15:13 ..
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 avahi
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 bind
*drwxrwxr-x.  3 user user 4096 Oct 18 12:49 bluez5*
drwxrwxr-x.  5 user user 4096 Oct 18 12:49 connman
drwxrwxr-x.  4 user user 4096 Oct 18 12:49 dhcp
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 iproute2
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 irda-utils
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 iw
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 libnss-mdns
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 libpcap
drwxrwxr-x.  2 user user 4096 Oct 18 12:49 mobile-broadband-provider-info
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 neard
drwxrwxr-x.  5 user user 4096 Oct 18 12:49 nfs-utils
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 ofono
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 openssh
drwxrwxr-x.  4 user user 4096 Oct 18 12:49 openssl
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 ppp
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 ppp-dialin
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 resolvconf
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 socat
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 wireless-tools
drwxrwxr-x.  3 user user 4096 Oct 18 12:49 wpa-supplicant
[user at localhost recipes-connectivity]$

Or:

https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-connectivity/bluez5/

You should add it in .../conf/local.conf as:

IMAGE_INSTALL_append += "rfkill" (my best guess, easiest way).

Zoran
_______

On Tue, Dec 19, 2017 at 7:03 PM, Sherif Omran <sherifomran2000 at gmail.com>
wrote:

> how can i add rfkill recipe?
>
> On Tue, Dec 19, 2017 at 4:23 PM, Sherif Omran <sherifomran2000 at gmail.com>
> wrote:
>
>> i used core-image-minimal for a raspberry pi 0w. But i get rfkill can not
>> open control device. when i give rfkill , i get the syntanx output, this
>> means it exists.
>> the wifi driver is installed.
>>
>> What is the rfkill device? is it /dev/rfkill ?
>>
>>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171220/c592c5f2/attachment.html>


More information about the yocto mailing list