Bluetooth device has to be started manually.  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
Drito
Posts: 14
Joined: Tue Apr 13, 2021 2:21 pm

Bluetooth device has to be started manually.

#1 Post by Drito »

With the fresh MX install bluetooth worked fine, It started automatically, and once my earphones powered on, the sound system switches to my earphones automatically as well.
With time things got degradation. Once my earphones powered on the sound system keep the output on laptop speakers.
And recently the bluetooth device don't starts automatically, I have to start blueman to get the popup that offers to start that device.
I remember It was the same on archlinux, but I gave up at the time and I installed another distro...
I have two problems, but the priority in my opinion is to solve the bluetooth device startup. I guess there is some garbage on some cache directory, but I'm a bit scared to flush random directories without knowledge.

Code: Select all

System:
  Kernel: 6.1.0-23-amd64 [6.1.99-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-23-amd64 root=UUID=<filter> ro quiet splash
  Desktop: bspwm v: 0.9.10 info: xfce4-panel vt: 7 dm: LightDM v: 1.26.0 Distro: MX-23.3_x64
    Libretto October 15 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Laptop System: LENOVO product: 20BECTO1WW v: ThinkPad T540p serial: <superuser required>
    Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20BECTO1WW v: SDK0E50512 STD serial: <superuser required>
    UEFI-[Legacy]: LENOVO v: GMET77WW (2.25 ) date: 11/23/2016
Battery:
  ID-1: BAT0 charge: 24.1 Wh (96.4%) condition: 25.0/56.2 Wh (44.6%) volts: 11.9 min: 10.8
    model: SANYO 45N1769 type: Li-ion serial: <filter> status: not charging
CPU:
  Info: model: Intel Core i5-4210M bits: 64 type: MT MCP arch: Haswell gen: core 4 level: v3
    note: check built: 2013-15 process: Intel 22nm family: 6 model-id: 0x3C (60) stepping: 3
    microcode: 0x28
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 1796 min/max: 800/3200 scaling: driver: intel_cpufreq governor: ondemand
    cores: 1: 1796 2: 1796 3: 1796 4: 1796 bogomips: 20754
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW; STIBP: conditional; RSB
    filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo driver: i915 v: kernel
    arch: Gen-7.5 process: Intel 22nm built: 2013 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1,
    HDMI-A-2, VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 compositor: Compton v: 1 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: crocus gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x15c3 built: 2013 res: 1920x1080 hz: 60 dpi: 142
    gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo 8
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 class-ID: 0403
  API: ALSA v: k6.1.0-23-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: JACK v: 1.9.21 status: off tools: jack_control,qjackctl
  Server-2: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I217-LM vendor: Lenovo driver: e1000e v: kernel port: 4080
    bus-ID: 00:19.0 chip-ID: 8086:153a class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:08b2 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 3-11:3
    chip-ID: 8087:07dc class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
    sub-v: e00 hci-v: 4.0 rev: e00
  Info: acl-mtu: 1021:5 sco-mtu: 96:6 link-policy: rswitch hold sniff
    link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
    telephony
Drives:
  Local Storage: total: 465.76 GiB used: 183.99 GiB (39.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST500LM000-SSHD-8GB size: 465.76 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: LIV9 scheme: MBR
Partition:
  ID-1: / raw-size: 65.21 GiB size: 63.63 GiB (97.58%) used: 18.61 GiB (29.2%) fs: ext4
    dev: /dev/sda1 maj-min: 8:1
  ID-2: /home raw-size: 400.55 GiB size: 393.19 GiB (98.16%) used: 165.37 GiB (42.1%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 2318
Repos:
  Packages: 2783 pm: dpkg pkgs: 2772 libs: 1566 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 11
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://ftp.lip6.fr/pub/linux/distributions/mxlinux/packages/mx/repo/ bookworm main non-free
Info:
  Processes: 225 Uptime: 9h 42m wakeups: 23 Memory: 7.43 GiB used: 2.39 GiB (32.2%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)

User avatar
FullScale4Me
Posts: 1113
Joined: Fri Jan 08, 2021 11:30 pm

Re: Bluetooth device has to be started manually.

#2 Post by FullScale4Me »

MX Tweak has a config for its startup.

Image

If it is already on click it off, apply, and then click it on to refresh the config.
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

Drito
Posts: 14
Joined: Tue Apr 13, 2021 2:21 pm

Re: Bluetooth device has to be started manually.

#3 Post by Drito »

I don't have the bluetooth field int that panel. Thank you for the suggestion.

User avatar
FullScale4Me
Posts: 1113
Joined: Fri Jan 08, 2021 11:30 pm

Re: Bluetooth device has to be started manually.

#4 Post by FullScale4Me »

Drito wrote: Sat Aug 24, 2024 5:48 am I don't have the bluetooth field int that panel. Thank you for the suggestion.
The 'Other' tab is not displayed when that app opens. It has to be left clicked to show its content.
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

Drito
Posts: 14
Joined: Tue Apr 13, 2021 2:21 pm

Re: Bluetooth device has to be started manually.

#5 Post by Drito »

I have that "other" panel but I don't have the "bluetooth" line. That sounds wierd I know.

Bluetooth worked fine after MX installation. So there surely a solution to re-init all that s...
I can blame the hardware, but I don't know how to test it.

Edit: I made a test with the MX live iso. Bluetooth works much better ! The devices restarts succesfully after PC sleeps, and blueman even shows me the battery level of my earphones !
Last edited by Drito on Wed Aug 28, 2024 2:30 pm, edited 1 time in total.

User avatar
Kermit the Frog
Posts: 626
Joined: Mon Jul 08, 2024 8:52 am

Re: Bluetooth device has to be started manually.

#6 Post by Kermit the Frog »

Code: Select all

Desktop: bspwm
Therefore you need to search for how apps are auto-started in bspwm

(On regular MX (Xfce) they're checked ootb in "Session and Startup").

Drito
Posts: 14
Joined: Tue Apr 13, 2021 2:21 pm

Re: Bluetooth device has to be started manually.

#7 Post by Drito »

I still have that menu because bspwm just replaces the default window manager. Xfce is still here.
Also I made this setup since the start, and bluetooth worked better.

Drito
Posts: 14
Joined: Tue Apr 13, 2021 2:21 pm

Re: Bluetooth device has to be started manually.  [Solved]

#8 Post by Drito »

I found a solution to the bluetooth restart failings. I reinstalled bluez after a full uninstall using 'apt purge'

Post Reply

Return to “MX Help”