Skip to content

Debian 12 - Bluetooth Ausfall nach Stromausfall

Linux
1 1 197
  • Nach einem Stromausfall heute, ist der Rechner mal komplett durchgestartet. Danach hatte ich kein Bluetooth mehr. Der Grund dafür ist mir absolut schleierhaft, weil ich natürlich davor auch ab und an den Rechner neustarte. Also, jetzt nicht wirklich etwas Besonderes.

    Das hier sollte das Problem sein.

    [   29.680207] Bluetooth: hci0: command 0xfc05 tx timeout
    [   29.680209] Bluetooth: hci0: Reading Intel version command failed (-110)
    [   35.530848] usb 1-6.4: reset high-speed USB device number 7 using xhci_hcd
    

    Gesucht und bei unix.stackexchange.com fündig geworden.

    Die Reihenfolge der Kernelmodule bringt einem Bluetooth zurück? Halleluja.... 😮

    Test

    root@debian:~# rmmod btusb
    root@debian:~# rmmod btintel
    root@debian:~# modprobe btintel
    root@debian:~# modprobe btusb
    

    Danach ging Bluetooth sofort wieder ohne Probleme !?!?!?

    [  322.313132] usbcore: deregistering interface driver btusb
    [  347.435528] usbcore: registered new interface driver btusb
    [  347.439921] Bluetooth: hci0: Bootloader revision 0.3 build 0 week 24 2017
    [  347.444926] Bluetooth: hci0: Device revision is 1
    [  347.444929] Bluetooth: hci0: Secure boot is enabled
    [  347.444930] Bluetooth: hci0: OTP lock is enabled
    [  347.444931] Bluetooth: hci0: API lock is enabled
    [  347.444931] Bluetooth: hci0: Debug lock is disabled
    [  347.444932] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
    [  347.454320] bluetooth hci0: firmware: direct-loading firmware intel/ibt-20-1-3.sfi
    [  347.454325] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
    [  347.454360] Bluetooth: hci0: Boot Address: 0x24800
    [  347.454361] Bluetooth: hci0: Firmware Version: 15-45.22
    [  351.466998] Bluetooth: hci0: Waiting for firmware download to complete
    [  351.468049] Bluetooth: hci0: Firmware loaded in 3919649 usecs
    [  351.468099] Bluetooth: hci0: Waiting for device to boot
    [  351.485060] Bluetooth: hci0: Device booted in 16583 usecs
    [  351.485164] bluetooth hci0: firmware: direct-loading firmware intel/ibt-20-1-3.ddc
    [  351.485168] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-20-1-3.ddc
    [  351.493895] Bluetooth: hci0: Applying Intel DDC parameters completed
    [  351.498888] Bluetooth: hci0: Firmware revision 0.3 build 15 week 45 2022
    [  351.763047] Bluetooth: MGMT ver 1.22
    [  351.770898] NET: Registered PF_ALG protocol family
    [  351.779544] Bluetooth: RFCOMM TTY layer initialized
    [  351.779550] Bluetooth: RFCOMM socket layer initialized
    [  351.779554] Bluetooth: RFCOMM ver 1.11
    [  378.557197] usb 1-6.1.4: USB disconnect, device number 10
    [  381.077391] input: MX Vertical Mouse as /devices/virtual/misc/uhid/0005:046D:B020.000B/input/input28
    [  381.077698] hid-generic 0005:046D:B020.000B: input,hidraw3: BLUETOOTH HID v0.09 Mouse [MX Vertical] on a4:b1:c1:97:68:4f
    

    Wie bekomme ich das jetzt erst mal dauerhaft hin, das ich mir nicht immer wieder Gedanken darüber machen muss.

    /etc/systemd/system/bluetooth-modules-load.service

    [Unit]
    Description=Load Bluetooth Modules in Specific Order
    Before=bluetooth.service
    After=local-fs.target
    
    [Service]
    Type=oneshot
    ExecStart=/bin/sh -c 'modprobe btusb && modprobe btintel'
    RemainAfterExit=yes
    
    [Install]
    WantedBy=multi-user.target
    

    Danach noch

    systemctl daemon-reload
    systemctl enable bluetooth-modules-load.service
    

    Reboot und getestet - geht. 🤓

    Der SystemD Dienst ist entstanden mit freundlicher Unterstützung von ChatGPT 😋

    root@debian:/etc/systemd/system# systemctl status bluetooth-modules-load.service 
    ● bluetooth-modules-load.service - Load Bluetooth Modules in Specific Order
         Loaded: loaded (/etc/systemd/system/bluetooth-modules-load.service; enabled; preset: enabled)
         Active: active (exited) since Tue 2023-11-07 16:49:52 CET; 9min ago
        Process: 1002 ExecStart=/bin/sh -c modprobe btusb && modprobe btintel (code=exited, status=0/SUCCESS)
       Main PID: 1002 (code=exited, status=0/SUCCESS)
            CPU: 2ms
    
    Nov 07 16:49:52 debian systemd[1]: Starting bluetooth-modules-load.service - Load Bluetooth Modules in Specific Order...
    Nov 07 16:49:52 debian systemd[1]: Finished bluetooth-modules-load.service - Load Bluetooth Modules in Specific Order.
    

    Es kann sein, das dieser Beitrag Blödsinn enthält. Wenn ihr es besser wisst, dann freue ich mich über Kommentare. Danke!

  • 0 Stimmen
    7 Beiträge
    64 Aufrufe
    frankm@nrw.socialF
    @Ubuntu2404 Ich verstehe sehr gut was Du meinst, aber das ist auf der Windows Seite auf alle Fälle genauso. Ähnlich wie die Gesellschaft heute gespalten ist.Ich habe auch gar nichts gegen M$-User, ich mag M$ nicht. Und das hat ganz viele Gründe.Les mal in M$ Foren mit, wenn es über Linux geht. Aber das ist mir egal. ich lerne jeden Tag dazu um Linux besser zu verstehen.Und das Schlimmste Linux Forum was ich kenne, ist das deutschsprachige Debian Forum. Da lese ich gar nichts mehr.
  • Vaultwarden auf Debian Bookworm 12 installieren!

    Angeheftet Linux vaultwarden bookworm linux
    6
    5
    0 Stimmen
    6 Beiträge
    5k Aufrufe
    I
    Vielen lieben Dank Nico! Jetzt läuft vaultwarden.
  • NanoPi R5S - Samba

    NanoPi R5S nanopir5s linux
    5
    1
    0 Stimmen
    5 Beiträge
    550 Aufrufe
    FrankMF
    Test zu dem NFS Mount (240GB USB SSD an USB-Port) [frank-ms7c37 nfs]# dd if=/dev/zero of=sd.img bs=1M count=2048 oflag=direct,nonblock 2048+0 Datensätze ein 2048+0 Datensätze aus 2147483648 Bytes (2,1 GB, 2,0 GiB) kopiert, 20,0851 s, 107 MB/s Test zum NAS Mount (Samba) (2TB 2,5Zoll HDD am USB-Port) [frank-ms7c37 NAS]# dd if=/dev/zero of=sd.img bs=1M count=2048 oflag=direct,nonblock 2048+0 Datensätze ein 2048+0 Datensätze aus 2147483648 Bytes (2,1 GB, 2,0 GiB) kopiert, 21,4538 s, 100 MB/s Das für den NAS Mount (Samba) sollte die maximal Schreibgrenze der Festplatte sein. Mehr dürfte da nicht gehen. Das andere könnte an den Adaptern liegen, die ich dafür benutze. Bei mir ist NFS hier aktuell nicht viel schneller, oder ich bin zu doof dafür.
  • VSCodium - Nach Umzug die Entwicklungsumgebung wieder aktivieren

    Linux linux vscodium
    1
    2
    0 Stimmen
    1 Beiträge
    210 Aufrufe
    Niemand hat geantwortet
  • NanoPI R2S - Snapshot aktualisieren

    NanoPi R2S nanopir2s openwrt linux
    3
    0 Stimmen
    3 Beiträge
    467 Aufrufe
    FrankMF
    @thrakath1980 Das kann ich Dir leider nicht beantworten. Denke aber, das es sinnvoll ist neu anzufangen. Welche Settings meinst Du? Ich würde mal /etc/config sichern. Da sollte das Meiste ja drin sein. Notifications? Hmm, ich hoffe das das funktioniert. Ich schau zur Sicherheit mal nach.
  • Proxmox - Offline

    Linux linux proxmox
    1
    0 Stimmen
    1 Beiträge
    303 Aufrufe
    Niemand hat geantwortet
  • SSHFS

    Linux linux
    1
    0 Stimmen
    1 Beiträge
    362 Aufrufe
    Niemand hat geantwortet
  • Debian 10 - Terminal wechseln

    Linux linux
    2
    0 Stimmen
    2 Beiträge
    731 Aufrufe
    FrankMF
    Das eigentliche Problem scheint zu sein, das bei der Installation folgendes fehlte. root@debian:~# apt install gnome-terminal Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden zusätzlichen Pakete werden installiert: gnome-terminal-data nautilus-extension-gnome-terminal Die folgenden NEUEN Pakete werden installiert: gnome-terminal gnome-terminal-data nautilus-extension-gnome-terminal 0 aktualisiert, 3 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 2.867 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 9.971 kB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] Nach der Deinstallation von tilix ist jetzt alles wieder so, wie ich es gewohnt bin