Mostrando las entradas con la etiqueta rfkill. Mostrar todas las entradas
Mostrando las entradas con la etiqueta rfkill. Mostrar todas las entradas

sábado, septiembre 09, 2017

How to enable on Linux Bluetooth


1. We must know the hardware we have

$:hwinfo --short
bluetooth:
                       Qualcomm Atheros Bluetooth Device

2. We must know the driver has been loaded.

osx:/home/xfib # lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 1: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 6: Dev 2, If 0, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 7: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M
    |__ Port 8: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 8: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 9: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 9: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M

3. We now list wireless status

osx:/home/xfib # /usr/sbin/rfkill list all
0: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: ideapad_bluetooth: Bluetooth
        Soft blocked: yes
        Hard blocked: no
2: hci0: Bluetooth
        Soft blocked: yes
        Hard blocked: no
3: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

4. In this case only have soft blocket, then now we try unblock soft device.

 osx:/home/xfib # /usr/sbin/rfkill unblock all

5. We list again to confirm the block is off

osx:/home/xfib # /usr/sbin/rfkill list all
0: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: ideapad_bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
3: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no