Results 1 to 7 of 7

Thread: Bluetooth wont stay disabled

  1. #1
    Join Date
    Apr 2014
    Location
    "Great North Wet"
    Posts
    196

    Default Bluetooth wont stay disabled

    KDE 5.71.0 Plasma 5.18.6
    Qt: 5.12.7
    openSUSE Leap 15.2
    I disable Bluetooth in system settings and also via the system tray icon and then later on I notice its enabled again, this has happened so many times I decided to ask here and also in the KDE forum before writing a bug in case its something i have missed.
    Turkey Creek Jack Johnson: Nobody move!
    Doc Holliday: Nonsense. By all means, move.

  2. #2

    Default Re: Bluetooth wont stay disabled

    In case of laptop: possibly BIOS setting or hardware button.
    Better description of a case is needed.

  3. #3
    Join Date
    Apr 2014
    Location
    "Great North Wet"
    Posts
    196

    Default Re: Bluetooth wont stay disabled

    I guess I wasn't clear - sorry. I can disable Bluetooth from either system settings or via the tray icon and it DOES disable. But then later when i return to my laptop its enabled again.
    Turkey Creek Jack Johnson: Nobody move!
    Doc Holliday: Nonsense. By all means, move.

  4. #4

    Default Re: Bluetooth wont stay disabled

    Hi,

    Maybe check the bluetooth status via

    Code:
    systemctl status bluetooth.service
    "Unfortunately time is always against us" -- [Morpheus]

    .:https://github.com/Jetchisel:.

  5. #5
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    6,630

    Default AW: Bluetooth wont stay disabled

    Install rfkill:
    Code:
    zypper in rfkill
    list your devices:
    Code:
    rfkill list all
    Block it:
    Code:
    rfkill block DEVICE
    You can unblock:
    Code:
    rfkill unblock DEVICE
    Mostly, as written, there is a key combi to disable Bluetooth or Wlan on Laptops.
    Last edited by Sauerland; 17-Oct-2021 at 00:17.

  6. #6
    Join Date
    Apr 2014
    Location
    "Great North Wet"
    Posts
    196

    Default Re: Bluetooth wont stay disabled

    I just disabled the Bluetooth service and that takes care of it
    Turkey Creek Jack Johnson: Nobody move!
    Doc Holliday: Nonsense. By all means, move.

  7. #7
    Join Date
    Apr 2014
    Location
    "Great North Wet"
    Posts
    196

    Default Re: Bluetooth wont stay disabled

    So, after disabling the service, which works, i saw the post on rfkill which I knew about but hadn't thought of for Bluetooth,
    So i just want to add that if you use:
    Code:
    rfkill block DEVICE
    DEVICE is actually the device number not the name, the man page says otherwise, but for me only the id number was accepted.

    But after some thought i experimented some and found that isn't necessarily so.

    Actually, rfkill lists it like this:
    Code:
    # 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: phy0: Wireless LAN 
            Soft blocked: no 
            Hard blocked: no
    turns out it will accept bluetooth but not Bluetooth so it's case sensitive and apparently must be all lower case, also it wont accept
    ideapad_bluetooth

    You can also do this:

    Code:
    # rfkill -r  
    ID TYPE DEVICE SOFT HARD 
    0 wlan ideapad_wlan unblocked unblocked 
    1 bluetooth ideapad_bluetooth blocked unblocked 
    2 wlan phy0 unblocked unblocked
    and this too, although i'm not sure what its use case is as its just sitting and waiting

    Code:
     rfkill event all
    2021-10-26 03:44:46,113434-07:00: idx 0 type 1 op 0 soft 0 hard 0
    2021-10-26 03:44:46,113485-07:00: idx 1 type 2 op 0 soft 1 hard 0
    2021-10-26 03:44:46,113494-07:00: idx 2 type 1 op 0 soft 0 hard 0
    Turkey Creek Jack Johnson: Nobody move!
    Doc Holliday: Nonsense. By all means, move.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •