Pfiff
January 3, 2018, 2:59pm
21
oh sorry,
no output with the commands at all. Then I tried verbose
[code]sudo modprobe -rv btusb
rmmod btusb
rmmod btintel
rmmod btbcm
rmmod btrtl
sudo modprobe -v btusb
insmod /lib/modules/4.12.0-1-amd64/kernel/drivers/bluetooth/btintel.ko
insmod /lib/modules/4.12.0-1-amd64/kernel/drivers/bluetooth/btbcm.ko
insmod /lib/modules/4.12.0-1-amd64/kernel/drivers/bluetooth/btrtl.ko
insmod /lib/modules/4.12.0-1-amd64/kernel/drivers/bluetooth/btusb.ko
[/code]
hth!
Ciao!
Dieter
Bluetooth: Core ver 2.22
[ 13.120419] NET: Registered protocol family 31
[ 13.120420] Bluetooth: HCI device and connection manager initialized
[ 13.120423] Bluetooth: HCI socket layer initialized
[ 13.120425] Bluetooth: L2CAP socket layer initialized
[ 13.120431] Bluetooth: SCO socket layer initialized
[ 13.504392] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
[ 13.515590] iTCO_vendor_support: vendor-support=0
[ 13.683453] usbcore: registered new interface driver btusb
[ 13.763403] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[ 13.763449] iTCO_wdt: Found a Panther Point TCO device (Version=2, TCOBASE=0x0460)
[ 13.763533] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 13.794205] Bluetooth: hci0: BCM: chip id 63
[ 13.810144] Bluetooth: hci0: debian-notebook
[ 13.811212] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
[ 13.841468] bluetooth hci0: firmware: direct-loading firmware brcm/BCM20702A1-0a5c-21e6.hcd
[ 14.858250] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757
[ 14.875179] Bluetooth: hci0: Broadcom Bluetooth Device
[ 14.989881] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
[ 15.013110] Adding 4231164k swap on /dev/sda8. Priority:-1 extents:1 across:4231164k FS
[ 18.509180] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 18.509181] Bluetooth: BNEP filters: protocol multicast
[ 18.509185] Bluetooth: BNEP socket layer initialized
Your posted output is not complete.
Post your output using this command:
sudo dmesg | grep -i bluetooth
Example:
sudo dmesg | grep -i bluetooth
[160074.456137] usb 1-1.6: Product: Broadcom Bluetooth 2.1 Device
[160074.571522] Bluetooth: Core ver 2.22
[160074.571541] Bluetooth: HCI device and connection manager initialized
[160074.571544] Bluetooth: HCI socket layer initialized
[160074.571547] Bluetooth: L2CAP socket layer initialized
[160074.571552] Bluetooth: SCO socket layer initialized
[160074.921553] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[160074.921555] Bluetooth: BNEP filters: protocol multicast
[160074.921558] Bluetooth: BNEP socket layer initialized
[160075.111522] Bluetooth: RFCOMM TTY layer initialized
[160075.111529] Bluetooth: RFCOMM socket layer initialized
[160075.111536] Bluetooth: RFCOMM ver 1.11
Pfiff:
[code]systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-01-03 10:46:07 CET; 1h 3min ago
Docs: man:bluetoothd(8)
Main PID: 566 (bluetoothd)
Status: “Running”
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─566 /usr/lib/bluetooth/bluetoothd
Jan 03 10:46:06 debian-notebook systemd[1]: Starting Bluetooth service…
Jan 03 10:46:07 debian-notebook bluetoothd[566]: Bluetooth daemon 5.45
Jan 03 10:46:07 debian-notebook systemd[1]: Started Bluetooth service.
Jan 03 10:46:07 debian-notebook bluetoothd[566]: Starting SDP server
Jan 03 10:46:09 debian-notebook bluetoothd[566]: Bluetooth management interface 1.14 initialized
[/code]
Everythings seems to be fine. Nevertheless, there is no adapter in the blueman-applet or in the bluetooth-applet coming with kde …
Ciao!
Dieter
The output is incomplete. Keep pressing the [Enter] key until (END) is seen.
Example:
[code]systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-01-03 08:31:49 -05; 3h 6min ago
Docs: man:bluetoothd(8)
Main PID: 25770 (bluetoothd)
Status: “Running”
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─25770 /usr/lib/bluetooth/bluetoothd
Jan 03 08:31:49 G570 systemd[1]: Starting Bluetooth service…
Jan 03 08:31:49 G570 bluetoothd[25770]: Bluetooth daemon 5.47
Jan 03 08:31:49 G570 systemd[1]: Started Bluetooth service.
Jan 03 08:31:49 G570 bluetoothd[25770]: Starting SDP server
Jan 03 08:31:49 G570 bluetoothd[25770]: Bluetooth management interface 1.14 initialized
Jan 03 08:31:49 G570 bluetoothd[25770]: Sap driver initialization failed.
Jan 03 08:31:49 G570 bluetoothd[25770]: sap-server: Operation not permitted (1)
Jan 03 08:31:50 G570 bluetoothd[25770]: Endpoint registered: sender=:1.43 path=/MediaEndpoint/A2DPSource
Jan 03 08:31:50 G570 bluetoothd[25770]: Endpoint registered: sender=:1.43 path=/MediaEndpoint/A2DPSink
lines 5-19/19 (END)[/code]
Pfiff
January 3, 2018, 4:54pm
24
Thanks for this hints,
sudo dmesg | grep -i bluetooth
[sudo] Passwort für pfiff:
[ 10.698398] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[ 13.409198] Bluetooth: Core ver 2.22
[ 13.409213] Bluetooth: HCI device and connection manager initialized
[ 13.409216] Bluetooth: HCI socket layer initialized
[ 13.409218] Bluetooth: L2CAP socket layer initialized
[ 13.409222] Bluetooth: SCO socket layer initialized
[ 13.726572] Bluetooth: hci0: BCM: chip id 63
[ 13.742536] Bluetooth: hci0: Broadcom Bluetooth Device
[ 13.743585] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757
[ 13.763372] bluetooth hci0: firmware: direct-loading firmware brcm/BCM20702A1-0a5c-21e6.hcd
[ 14.793670] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757
[ 14.810450] Bluetooth: hci0: Broadcom Bluetooth Device
[ 18.497930] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 18.497932] Bluetooth: BNEP filters: protocol multicast
[ 18.497936] Bluetooth: BNEP socket layer initialized
[ 2058.763933] Bluetooth: hci0: BCM: chip id 63
[ 2058.781039] Bluetooth: hci0: Broadcom Bluetooth Device
[ 2058.781900] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757
[ 2058.782024] bluetooth hci0: firmware: direct-loading firmware brcm/BCM20702A1-0a5c-21e6.hcd
[ 2059.822910] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757
[ 2059.838931] Bluetooth: hci0: Broadcom Bluetooth Device
[ 2176.012783] Bluetooth: hci0: BCM: chip id 63
[ 2176.029790] Bluetooth: hci0: Broadcom Bluetooth Device
[ 2176.030685] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757
[ 2176.030810] bluetooth hci0: firmware: direct-loading firmware brcm/BCM20702A1-0a5c-21e6.hcd
[ 2177.071629] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757
[ 2177.087703] Bluetooth: hci0: Broadcom Bluetooth Device
and
[code]systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-01-03 15:24:08 CET; 2h 27min ago
Docs: man:bluetoothd(8)
Main PID: 601 (bluetoothd)
Status: “Running”
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─601 /usr/lib/bluetooth/bluetoothd
Jan 03 15:24:06 debian-notebook systemd[1]: Starting Bluetooth service…
Jan 03 15:24:08 debian-notebook bluetoothd[601]: Bluetooth daemon 5.45
Jan 03 15:24:08 debian-notebook systemd[1]: Started Bluetooth service.
Jan 03 15:24:08 debian-notebook bluetoothd[601]: Starting SDP server
Jan 03 15:24:08 debian-notebook bluetoothd[601]: Bluetooth management interface 1.14 initialized
[/code]
sorry, but in the second one there is no [END] coming. It stops with the word “initialized” …
Any help?
Ciao!
Dieter
Pressing [Enter] should advance the lines, if any.
[attachment=1104]
Have you tried removing the device from the Bluetooth paired list, reboot & pair again?
Info here might be helpful; https://wiki.debian.org/BluetoothUser
Example Settings & Info.
[attachment=1105][attachment=1106][attachment=1107]
[code]sudo bluetoothctl
[NEW] Controller 38:59:F9:F5:67:D7 G570 [default]
[NEW] Device 30:21:DC:B1:9C:5B HBS 800
[NEW] Device F8:95:C7:94:BE:68 LG-D331
Agent registered
[bluetooth]# list
Controller 38:59:F9:F5:67:D7 G570 [default]
[bluetooth]# show
Controller 38:59:F9:F5:67:D7
Name: G570
Alias: G570
Class: 0x001c010c
Powered: yes
Discoverable: yes
Pairable: yes
UUID: Headset AG (00001112-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: OBEX File Transfer (00001106-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: IrMC Sync (00001104-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (00005005-0000-1000-8000-0002ee000001)
UUID: Message Notification Se… (00001133-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server (00001132-0000-1000-8000-00805f9b34fb)
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d052F
Discovering: no[/code]
info on my bt-headphones- HBS 800
[bluetooth]# info 30:21:DC:B1:9C:5B
Device 30:21:DC:B1:9C:5B
Name: HBS 800
Alias: HBS 800
Class: 0x00240408
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
Output after I turn on the HBS 800 bt-headphones
[CHG] Device 30:21:DC:B1:9C:5B Connected: yes
[HBS 800]# info 30:21:DC:B1:9C:5B
Device 30:21:DC:B1:9C:5B
Name: HBS 800
Alias: HBS 800
Class: 0x00240408
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
Typing help will give you a list of commands to use while in bluetoothctl
[bluetooth]# help
Available commands:
list List available controllers
show [ctrl] Controller information
select <ctrl> Select default controller
devices List available devices
Pfiff
January 5, 2018, 12:35pm
27
Thanks for your help.
In the systemsettings - bluetooth I can always only see the message “no adapter available”. I can choose the “reset”, nothing else. And when I use the button “reset” nothing happens.
sudo bluetoothctl
[sudo] Passwort für pfiff:
Agent registered
[bluetooth]# list
[bluetooth]#
no device, no agent (adapter), nothing …
I’m loosing my confidence in debian.
Any help?
Ciao!
Dieter
I too, see nothing when the wifi switch is turned off.
sudo bluetoothctl
Agent registered
[bluetooth]# list
[bluetooth]# show
No default controller available
When I turn the wifi power on this updates automatically.
[NEW] Controller 38:59:F9:F5:67:D7 G570 [default]
[NEW] Device F8:95:C7:94:BE:68 LG-D331
[NEW] Device 30:21:DC:B1:9C:5B HBS 800
[CHG] Controller 38:59:F9:F5:67:D7 Powered: yes
[CHG] Controller 38:59:F9:F5:67:D7 Alias: G570
[CHG] Controller 38:59:F9:F5:67:D7 Class: 0x0000010c
[CHG] Controller 38:59:F9:F5:67:D7 UUIDs: 00001112-0000-1000-8000-00805f9b34fb
What is the model of your computer?
Pfiff
January 5, 2018, 1:17pm
29
my wifi is turned on, the switch is on, I’m connected to the Internet with wifi!!!
My machine is a lenovo thinkpad t530 and as I mentioned before, with manjaro-live the bluetooth is working out of the box.
Ciao!
Dieter
leszek
January 5, 2018, 2:31pm
30
yeah the wifi has nothing to do with this as the bluetooth is a separate chip not included on the wifi.
which kernel do you use?
I think you need a newer kernel for it to work properly.
So Kernel 4.14 should be working and is available via stretch-backports.
Pfiff
January 5, 2018, 2:44pm
31
I’m using 4.12.0-1-amd64.
How can I savely install the kernel 4.14 via stretch-backports?
Ciao!
Dieter
leszek
January 5, 2018, 3:02pm
32
Pfiff
January 5, 2018, 4:05pm
33
leszek:
If you don’t want to activate the stretch-backports sources in sources.list you can download these packages and install them.
That should work however virtualbox-guest-dkms and virtualbox-dkms will fail to build against that kernel I suppose.
Debian -- Error
Debian -- Error
Debian -- Error
Debian -- Error
you are a genius! Perfect! Thank you …
Can I now deactivate the stretch-backport sources in sources.list? Or doesn’t it matter?
Ciao!
Dieter
leszek
January 5, 2018, 4:10pm
34
You should deactivate the stretch-backports in sources.list if it was deactivated before.
I am not so sure about this.
Is it working with bt now ?
Pfiff
January 5, 2018, 4:20pm
35
yes, sure. That’s the reason why i’m calling you a genius …
Ciao!
Dieter
So, the kernel has been updated to fix this issue;
opened 05:27PM - 09 Sep 17 UTC
closed 09:07PM - 11 Oct 17 UTC
bug
It looks like there is some firmware missing to support bluetooth on the current… kernel.
Q: What is the best recommended way to trigger the required btattach
command during boot to have Bluetooth enabled automatically?
P.S. The idea would be to contribute such a modification to Linux distributions starting to package the btattach command (like Debian), since right now many recent devices simply don’t have Bluetooth working out-of-the-box…