Bluetooth issues after sleep (loose my adapter)

Okay, I just tried that and still the same thing after a reboot then sleep.

Yeah, I tried with the reboot earlier :crossed_fingers:

Fine, brute force is the option :rofl:

Shall you enter sudo nano /lib/systemd/system-sleep/bt , then paste the following:

#!/bin/sh

case $1 in
  post)
    modprobe -r btusb
    sleep 1
    service bluetooth restart
    sleep 1
    modprobe btusb
    ;;
esac

After that, press ctrl + s to save, then ctrl + x to exit.

Then execute sudo chmod +x /lib/systemd/system-sleep/bt to make it executable…

lets hope it works!!

1 Like

Okay I created the bt file saved the script, made it executable will restart and sleep just now and see what happens :crossed_fingers: :crossed_fingers:

1 Like

Same thing sadly :frowning:

Okay, let’s try with a different script…
sudo nano /lib/systemd/system-sleep/bt

Then replace the previous script with this one

#!/bin/sh

case $1 in
  post)
    sleep 5
    rfkill block `rfkill list | grep hci | cut -d: -f1`
    sleep 1
    rfkill unblock `rfkill list | grep hci | cut -d: -f1`
    ;;
esac
1 Like

Adapter still MIA afer this :frowning:

Let’s see what happens if you downgrade the kernel to 5.8, shall we?

May install kernel 5.8 then remove 5.9, please! :stuck_out_tongue:

I’ll give it a shot!

1 Like

Still the same issue on 5.18.16-2

A guess - Maybe want to make sure those things are executable?

Hm, I could go with chmod 777, but this may become a flaw… :thinking:

I will try to simulate his hardware, see what can be done…

Oh, let’s summon my friend, see if she has any suggestion :sweat_smile:

@Pinkisjustnumbers

2 Likes

I think we have to re-chmod the bt file.

Proceed once again with sudo chmod +x /lib/systemd/system-sleep/bt

1 Like

The issue still persists, I tried with the second script. :upside_down_face:

Hellaw :grinning_face_with_smiling_eyes::wave:!

Could you try these, pleasie?:upside_down_face:

  • sudo pacman -Sy bluez bluez-utils

  • sudo pacman -Sy blueman

  • sudo systemctl start bluetooth

Wish it works! :smiley:

2 Likes

Heloha :hugs:

Still no adapters :frowning:

When I open blueman it asks to enable bluetooth but when I do nothing happens :frowning:

1 Like

Oh oh… :confused:

May I ask what gives you inxi -J, pleasie?:grinning:

Of course! :slight_smile:

[connor@StarReach ~]$ inxi -J
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 1 rev: 2.0 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 
           Device-1: 3-4:2 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID rev: 2.0 
           Device-2: 3-5:3 info: Elan Micro ELAN:Fingerprint type: <vendor specific> rev: 2.0 
           Device-3: 3-6:4 info: Lite-On Integrated Camera type: Video rev: 2.0 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.1 

P.S I’m using my adapter for this but usually it would be in another PC

These are potential partial-upgrades … please omit the y or add a u
(actually 2 ys may be necessary if pamac-mirrorlist.timer is running)
[ex - -S , -Syu , -Syyu … never -Sy]

[sorry to keep butting in :slight_smile:]

1 Like

Tried with the suggested -Syu still no luck :frowning:

Ouu, fancy!:relieved:

But the cozy little Bluetooth adapter is not showing! :scream_cat:

Must not be loaded properly after a little nap… :upside_down_face:

Oh!:smiley: May try the dkms modules!

We will type these little commands in the terminal😌:

  • sudo pacman -S dkms linux-headers

  • Would love the result of sudo lsusb | grep Bluetooth, please!:smiley:

Wish and hope :grinning_face_with_smiling_eyes:!