Bluetooth funktioniert nicht

Debian auf Notebooks und speziellen Geräten wie eingebetteten Systemen, Routern, Set-Top-Boxen, ...
Antworten
tr01
Beiträge: 80
Registriert: 10.01.2015 10:04:54
Wohnort: /root/

Bluetooth funktioniert nicht

Beitrag von tr01 » 07.09.2015 10:52:17

Hallo,

ich wollte heute zum ersten Mal Bluetooth unter Debian stretch nutzen, aber es funktioniert einfach nicht.

Das Bluetooth-Modul ist in der WLAN-Karte integriert.

Code: Alles auswählen

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
Ich nutze die Firmware von Larry Finger (https://github.com/lwfinger/rtlwifi_new) für WLAN.

Hier noch ein paar Ausgaben, die euch vielleicht helfen:

Code: Alles auswählen

$ hcitool scan 
Device is not available: No such device

Code: Alles auswählen

$ hcitool dev
Devices:

Code: Alles auswählen

$ dmesg | grep hci
[   10.876417] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[   10.876423] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[   10.876465] Bluetooth: hci0: Failed to load rtl_bt/rtl8723b_fw.bin
[   11.091587] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[   11.091595] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[   11.091637] Bluetooth: hci0: Failed to load rtl_bt/rtl8723b_fw.bin
In Gnome kann ich BT zwar aktivieren, aber nach Geräten suchen etc funktioniert nicht.

Woran liegt das und was kann ich dagegen tun?

Benutzeravatar
smutbert
Moderator
Beiträge: 8331
Registriert: 24.07.2011 13:27:39
Wohnort: Graz

Re: Bluetooth funktioniert nicht

Beitrag von smutbert » 07.09.2015 11:10:35

ist das ev. eine falsche Version der Firmware? (ich habe beim manuellen herunterladen von Firmwaredateien noch nie das Glück gehabt eine gemeinsam mit dem installierten Kernel funktionierende zu erwischen, egal ob es um dvb, bt oder wlan ging und die Kernelmeldungen besagen, dass die Firmware nicht geladen werden konnte.)

Hast du statt der Firmware bereits versucht einfach das Paket Debianfirmware-realtek zu installieren (und die von dir hineinkopierte zumindest vorübergehend aus dem Weg zu räumen)?

tr01
Beiträge: 80
Registriert: 10.01.2015 10:04:54
Wohnort: /root/

Re: Bluetooth funktioniert nicht

Beitrag von tr01 » 07.09.2015 13:49:16

Hallo,

ich benutze die andere Firmware, da bei der aus Debianfirmware-realtek die WLAN-Verbindung nach 10 Minuten abbricht.

viewtopic.php?f=26&t=153356#p1022709

Benutzeravatar
catdog2
Beiträge: 5352
Registriert: 24.06.2006 16:50:03
Lizenz eigener Beiträge: MIT Lizenz

Re: Bluetooth funktioniert nicht

Beitrag von catdog2 » 07.09.2015 14:04:53

Der Bluetooth Teil braucht offensichtlich eine separate Firmware, die du vmtl nicht installiert hast, auch Debianfirmware-realtek hat die rtl_bt Dinger nicht.
https://git.kernel.org/cgit/linux/kerne ... ree/rtl_bt
Unix is user-friendly; it's just picky about who its friends are.

tr01
Beiträge: 80
Registriert: 10.01.2015 10:04:54
Wohnort: /root/

Re: Bluetooth funktioniert nicht

Beitrag von tr01 » 08.09.2015 10:48:47

Danke, aber wie installiere ich die Firmware?

Benutzeravatar
catdog2
Beiträge: 5352
Registriert: 24.06.2006 16:50:03
Lizenz eigener Beiträge: MIT Lizenz

Re: Bluetooth funktioniert nicht

Beitrag von catdog2 » 08.09.2015 10:52:51

Du nimmst https://git.kernel.org/cgit/linux/kerne ... 23b_fw.bin und tust es nach /lib/firmware/rtl_bt
Unix is user-friendly; it's just picky about who its friends are.

tr01
Beiträge: 80
Registriert: 10.01.2015 10:04:54
Wohnort: /root/

Re: Bluetooth funktioniert nicht

Beitrag von tr01 » 08.09.2015 17:29:04

Hallo,


jetzt läd die Firmware:

Code: Alles auswählen

[   11.979951] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[   11.979957] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[   12.013890] Bluetooth: hci0: rom_version status=0 version=1
aber hcitool findet kein Device:

Code: Alles auswählen

$ hcitool dev
Devices:

Code: Alles auswählen

$ hcitool scan
Device is not available: No such device
Was kann ich dagegen machen?

pferdefreund
Beiträge: 3791
Registriert: 26.02.2009 14:35:56

Re: Bluetooth funktioniert nicht

Beitrag von pferdefreund » 08.09.2015 19:29:11

Blöde Frage - gibt es da eventuell nen Hardwareschalter wie auch für WLAN. Ich spüre heute noch das Brett, was ich vorm Kopf hatte, bis ich das gefunden habe.
Kann da rfkill was dazu sagen ? kenne das selbst nicht

Benutzeravatar
catdog2
Beiträge: 5352
Registriert: 24.06.2006 16:50:03
Lizenz eigener Beiträge: MIT Lizenz

Re: Bluetooth funktioniert nicht

Beitrag von catdog2 » 08.09.2015 19:30:18

Kann da rfkill was dazu sagen ? kenne das selbst nicht
Das kann idr. auf zu bluetooth was sagen.
Unix is user-friendly; it's just picky about who its friends are.

Benutzeravatar
smutbert
Moderator
Beiträge: 8331
Registriert: 24.07.2011 13:27:39
Wohnort: Graz

Re: Bluetooth funktioniert nicht

Beitrag von smutbert » 08.09.2015 21:48:13

ist es vielleicht tatsächlich abgeschaltet? Was sagt Debianrfkill denn?

Code: Alles auswählen

# rfkill list
und gegebenenfalls

Code: Alles auswählen

# rfkill unblock bluetooth

daeb
Beiträge: 1
Registriert: 10.10.2015 01:19:15

Re: Bluetooth funktioniert nicht

Beitrag von daeb » 10.10.2015 01:29:03

Hi,

es gibt Systeme, wo der Dongle auf "Anhieb" funktioniert:
Ubuntu, Mint, Manjaro, Windows, Mac. Unter Debian hatte ich es nur mit Blueman in der neuesten Github-Version geschafft.
Blueman ist mir aber zu groß, will zu viel mitinstallieren, weshalb ich darauf gerne verzichten möchte.

rfkill hat bei mir auch nichts gebracht.

Mein System: Jessie main, Digitus Bluetooth Dongle

Viel Glück. Wenn du die Lösung hast, schreib' bitte noch mal.

Benutzeravatar
habakug
Moderator
Beiträge: 4313
Registriert: 23.10.2004 13:08:41
Lizenz eigener Beiträge: MIT Lizenz

Re: Bluetooth funktioniert nicht

Beitrag von habakug » 10.10.2015 13:51:07

Hallo!

Da braucht man wohl das [1], aber:
Support kernel version 2.6.32~3.8.0
Gruss, habakug

[1] https://github.com/lwfinger/rtl8723au_b ... 423_8723BE
( # = root | $ = user | !! = mod ) (Vor der PN) (Debianforum-Wiki) (NoPaste)

tr01
Beiträge: 80
Registriert: 10.01.2015 10:04:54
Wohnort: /root/

Re: Bluetooth funktioniert nicht

Beitrag von tr01 » 10.10.2015 21:53:32

Hallo,

ich habe die Firmware kopiert und mit

Code: Alles auswählen

rfkill unblock bluetooth
aktiviert.

Code: Alles auswählen

sudo rfkill list
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: ideapad_bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
Aber das hcitool findet immer noch kein device!

LG

Benutzeravatar
pangu
Beiträge: 1400
Registriert: 15.11.2011 20:50:52
Lizenz eigener Beiträge: GNU General Public License
Wohnort: /proc/1

Re: Bluetooth funktioniert nicht

Beitrag von pangu » 19.10.2015 23:14:49

Ich häng mich hier mal mit dran, vielleicht haben wir dasselbe Problem. Bei mir handelt es sich um einen Lenovo Z710 ideapad und bluetooth ist ebenso mit auf der WiFi-Karte integriert soviel ich weiß. Ich krieg es ums Verrecken nicht eingeschalten, ich krieg mein eigenes Bluetooth device ebenfalls nicht angezeigt. Somit kann ich nicht nach anderen Bluetooth Geräten suchen. Dieses Notebook hat keinen Hardwareschalter, nur der Softwareschalter. Und der ist definitiv an ,denn WiFi funktioniert problemlos. Im BIOS gibt's keine Einstellung extra für Bluetooth, da gibt's nur WiFI-Card = ON/OFF und die ist natürlich eingeschalten und funktioniert ja auch. Hier einige Infos:

Code: Alles auswählen

# lsusb |grep -i blue
keine Ausgabe

Code: Alles auswählen

# lsmod |grep -i blue
bluetooth 374429 8 bnep,rfcomm
6lowpan_iphc 16588 1 bluetooth
rfkill 18867 9 cfg80211,ideapad_laptop,thinkpad_acpi,bluetooth
crc16 12343 2 ext4,bluetooth

Code: Alles auswählen

# rfkill list
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: ideapad_3g: Wireless WAN
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

Code: Alles auswählen

# lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev ff)
07:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
08:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)


Code: Alles auswählen

# lsusb
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 5986:0295 Acer, Inc
Bus 001 Device 003: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 002: ID 046d:c046 Logitech, Inc. RX1000 Laser Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Code: Alles auswählen

# dmesg | grep -i -e firmware -e hcd
[ 0.223004] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[ 0.837801] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 0.837839] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.840354] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 0.841716] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[ 0.841737] xhci_hcd 0000:00:14.0: irq 43 for MSI/MSI-X
[ 0.846937] usb usb1: Manufacturer: Linux 3.16.0-4-amd64 xhci_hcd
[ 0.854434] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 0.855197] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 0.858280] usb usb2: Manufacturer: Linux 3.16.0-4-amd64 xhci_hcd
[ 0.879652] usb usb3: Manufacturer: Linux 3.16.0-4-amd64 ehci_hcd
[ 0.903590] usb usb4: Manufacturer: Linux 3.16.0-4-amd64 ehci_hcd
[ 1.164637] usb 1-2: new low-speed USB device number 2 using xhci_hcd
[ 1.464982] usb 1-4: new high-speed USB device number 3 using xhci_hcd
[ 1.761377] usb 1-5: new high-speed USB device number 4 using xhci_hcd
[ 2.362284] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[ 12.334924] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x595f03)
[ 170.835444] brcmsmac bcma0:0: firmware: direct-loading firmware brcm/bcm43xx-0.fw
[ 170.835773] brcmsmac bcma0:0: firmware: direct-loading firmware brcm/bcm43xx_hdr-0.fw

Code: Alles auswählen

# dmesg | grep -i -e bluetooth -e btusb
[ 13.722504] Bluetooth: Core ver 2.19
[ 13.723779] Bluetooth: HCI device and connection manager initialized
[ 13.724418] Bluetooth: HCI socket layer initialized
[ 13.725051] Bluetooth: L2CAP socket layer initialized
[ 13.725684] Bluetooth: SCO socket layer initialized
[ 13.804929] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 13.804930] Bluetooth: BNEP filters: protocol multicast
[ 13.804938] Bluetooth: BNEP socket layer initialized

Code: Alles auswählen

# uname -a
Linux myhost 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64 GNU/Linux

Code: Alles auswählen

# bluetooth
bluetooth = on

Code: Alles auswählen

# service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Active: active (running) since Mo 2015-10-19 17:20:03 CEST; 3h 47min ago
Docs: man:bluetoothd(8)
Main PID: 1003 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─1003 /usr/lib/bluetooth/bluetoothd

Okt 19 17:20:03 myhost bluetoothd[1003]: Bluetooth daemon 5.23
Okt 19 17:20:03 myhost systemd[1]: Started Bluetooth service.
Okt 19 17:20:03 myhost bluetoothd[1003]: Starting SDP server
Okt 19 17:20:03 myhost bluetoothd[1003]: Bluetooth management interface 1.6 initialized

Code: Alles auswählen

# cat /etc/default/bluetooth

BLUETOOTH_ENABLED=1
HID2HCI_ENABLED=1
HID2HCI_UNDO=0

Code: Alles auswählen

# bluetoothctl 
[bluetooth]# list
[bluetooth]# devices
[bluetooth]#

Code: Alles auswählen

# dpkg -l |grep -i bluet
ii blueman 1.99~alpha1-1 amd64 Graphical bluetooth manager
ii bluez 5.23-2+b1 amd64 Bluetooth tools and daemons
ii bluez-tools 0.2.0~20140808-3 amd64 Set of tools to manage Bluetooth devices for linux
ii gir1.2-gnomebluetooth-1.0 3.14.0-2 amd64 Introspection data for GnomeBluetooth
ii gnome-bluetooth 3.14.0-2 amd64 GNOME Bluetooth tools
ii libbluetooth3:amd64 5.23-2+b1 amd64 Library to use the BlueZ Linux Bluetooth stack
ii libgnome-bluetooth13 3.14.0-2 amd64 GNOME Bluetooth tools - support library

Irgendeine Idee ?
Man gibt Geld aus, das man nicht hat, um damit Dinge zu kaufen, die man nicht braucht, um damit Leute zu beeindrucken, die man nicht mag.

Benutzeravatar
pangu
Beiträge: 1400
Registriert: 15.11.2011 20:50:52
Lizenz eigener Beiträge: GNU General Public License
Wohnort: /proc/1

Re: Bluetooth funktioniert nicht

Beitrag von pangu » 21.10.2015 22:29:02

so langsam hab ich den Eindruck, dass dieses kack Plastiknotebook "ideapad Z710" gar kein Bluetooth besitzt, hmpf :( da gab's wohl verschiedene Modelle und so .. manche haben's, manche nicht ... das würde auch erklären warum ich kein Bluetooth-Adapter angezeigt bekomme :evil:
Man gibt Geld aus, das man nicht hat, um damit Dinge zu kaufen, die man nicht braucht, um damit Leute zu beeindrucken, die man nicht mag.

tr01
Beiträge: 80
Registriert: 10.01.2015 10:04:54
Wohnort: /root/

Re: Bluetooth funktioniert nicht

Beitrag von tr01 » 14.11.2015 15:54:58

Hallo,

ich habe dmesg nich richtig gelesen und nur folgende Ausgabe beachtet:

Code: Alles auswählen

[   16.498076] Bluetooth: hci0: extension section signature mismatch
[   16.514787] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[   16.514794] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[   16.515001] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8723b_fw.bin
[   16.516772] Bluetooth: hci0: rom_version status=0 version=1
Aber da kommt noch eine Zeile:

Code: Alles auswählen

[   16.516777] Bluetooth: hci0: extension section signature mismatch
Was heißt das?

Antworten