<SOLVED> Bluetooth not working on a Toshiba Bluetooth Adapter

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
rgcodes
Level 1
Level 1
Posts: 47
Joined: Fri Jun 04, 2021 4:23 pm

<SOLVED> Bluetooth not working on a Toshiba Bluetooth Adapter

Post by rgcodes »

I unistalled blueberry when I first set up linux mint due to it not even being able to detect a speaker. I then installed blueman and everything worked fine until about a week later, when it started getting unreliable. Sometimes it starts up normally upon boot-up and works perfectly fine, but the vast majority of the time it dosen't and can't be coaxed into showing an app tray icon even after restarting the applet multiple times.
A reinstall of the blueman applet still didn't yield any results, which led me to think there may be a problem with the drivers themselves (the device works perfectly fine on Windows everytime using the Microsoft generic drivers).
Bluetoothctl devices returns:

Code: Select all

No default controller available
Which confirmed my supicions that the problem is BlueZ and bluetoothctl.

lsusb; dmesg | egrep -i 'blue|firm':

Code: Select all

Bus 002 Device 005: ID 0930:0214 Toshiba Corp. 
Bus 002 Device 004: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 002 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 10f1:1a34 Importek 
Bus 001 Device 003: ID 0bda:0138 Realtek Semiconductor Corp. RTS5138 Card Reader Controller
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[    0.121737] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.265045] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.412981] pci 0000:01:00.0: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format)
[   15.142427] toshiba_bluetooth: Toshiba ACPI Bluetooth device driver
[   15.727118] usb 2-1.6: Product: Askey Bluetooth Module
[   17.527817] Bluetooth: Core ver 2.22
[   17.527870] Bluetooth: HCI device and connection manager initialized
[   17.527876] Bluetooth: HCI socket layer initialized
[   17.527879] Bluetooth: L2CAP socket layer initialized
[   17.527886] Bluetooth: SCO socket layer initialized
[   19.817477] Bluetooth: hci0: command 0x1009 tx timeout
[   32.887164] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   32.887167] Bluetooth: BNEP filters: protocol multicast
[   32.887173] Bluetooth: BNEP socket layer initialized
Sudo service bluetooth status:

Code: Select all

bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-07-17 00:29:08 IST; 25min ago
       Docs: man:bluetoothd(8)
   Main PID: 784 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 4372)
     Memory: 2.1M
     CGroup: /system.slice/bluetooth.service
             └─784 /usr/lib/bluetooth/bluetoothd

Jul 17 00:29:03 toshiba-satellite systemd[1]: Starting Bluetooth service...
Jul 17 00:29:04 toshiba-satellite bluetoothd[784]: Bluetooth daemon 5.53
Jul 17 00:29:08 toshiba-satellite systemd[1]: Started Bluetooth service.
Jul 17 00:29:08 toshiba-satellite bluetoothd[784]: Starting SDP server
Jul 17 00:29:09 toshiba-satellite bluetoothd[784]: Bluetooth management interface 1.14 initialized
bluetoothctl list returns nothing.

Blueman's troubleshooting guide did not yield any results.

Code: Select all

System:    Kernel: 5.4.0-77-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Xfce 4.16.0 
           tk: Gtk 3.24.20 wm: xfwm4 dm: LightDM Distro: Linux Mint 20.2 Uma 
           base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: TOSHIBA product: Satellite C665 v: PSC14G-01900V serial: <filter> 
           Mobo: TOSHIBA model: Portable PC serial: <filter> BIOS: INSYDE v: 2.10 date: 11/09/2011 
Battery:   ID-1: BAT0 charge: 0.5 Wh condition: 23.8/47.5 Wh (50%) volts: 10.8/10.8 model: PA381 
           serial: <filter> status: Unknown 
CPU:       Topology: Dual Core model: Intel Pentium P6200 bits: 64 type: MCP arch: Nehalem rev: 5 
           L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 ssse3 bogomips: 8533 
           Speed: 2133 MHz min/max: 933/2133 MHz Core speeds (MHz): 1: 2133 2: 2133 
Graphics:  Device-1: Intel Core Processor Integrated Graphics vendor: Toshiba driver: i915 
           v: kernel bus ID: 00:02.0 chip ID: 8086:0046 
           Display: x11 server: X.Org 1.20.9 driver: intel compositor: compton 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics (ILK) v: 2.1 Mesa 21.0.1 
           direct render: Yes 
Audio:     Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: Toshiba 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:3b56 
           Sound Server: ALSA v: k5.4.0-77-generic 
Network:   Device-1: Qualcomm Atheros AR8152 v2.0 Fast Ethernet vendor: Toshiba driver: atl1c 
           v: 1.0.1.1-NAPI port: 3000 bus ID: 01:00.0 chip ID: 1969:2062 
           IF: enp1s0 state: down mac: <filter> 
           Device-2: Broadcom and subsidiaries BCM4313 802.11bgn Wireless Network Adapter 
           vendor: Askey driver: wl v: kernel port: 3000 bus ID: 02:00.0 chip ID: 14e4:4727 
           IF: wlp2s0 state: up mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 32.63 GiB (7.0%) 
           ID-1: /dev/sda vendor: Toshiba model: MQ01ABD050 size: 465.76 GiB speed: 3.0 Gb/s 
           serial: <filter> 
Partition: ID-1: / size: 32.60 GiB used: 12.36 GiB (37.9%) fs: ext4 dev: /dev/sda6 
           ID-2: /home size: 71.16 GiB used: 20.28 GiB (28.5%) fs: ext4 dev: /dev/sda8 
           ID-3: swap-1 size: 3.81 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda7 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 3 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
           chip ID: 8087:0020 
           Device-1: 1-1.1:3 info: Realtek RTS5138 Card Reader Controller type: Mass Storage 
           driver: ums-realtek rev: 2.0 chip ID: 0bda:0138 
           Device-2: 1-1.3:4 info: Importek type: Video driver: uvcvideo rev: 2.0 
           chip ID: 10f1:1a34 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 3 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 
           chip ID: 8087:0020 
           Device-3: 2-1.1:3 info: Logitech Unifying Receiver type: Keyboard,Mouse 
           driver: logitech-djreceiver,usbhid rev: 2.0 chip ID: 046d:c534 
           Device-4: 2-1.2:4 info: SiGma Micro Keyboard TRACER Gamma Ivory type: Keyboard,HID 
           driver: hid-generic,usbhid rev: 1.1 chip ID: 1c4f:0002 
           Device-5: 2-1.6:5 info: Toshiba type: Bluetooth driver: btusb rev: 2.0 
           chip ID: 0930:0214 
Sensors:   System Temperatures: cpu: 56.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
           1: deb https: //repos.codelite.org/ubuntu/ focal universe
           No active apt repos in: /etc/apt/sources.list.d/lutris-team-lutris-focal.list 
           Active apt repos in: /etc/apt/sources.list.d/mkusb-ppa-focal.list 
           1: deb http: //ppa.launchpad.net/mkusb/ppa/ubuntu focal main
           2: deb-src http: //ppa.launchpad.net/mkusb/ppa/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb https: //mirrors.piconets.webwerks.in/linuxmint-mirror/packages uma main upstream import backport
           2: deb http: //ubuntu-archive.mirrors.estointernet.in focal main restricted universe multiverse
           3: deb http: //ubuntu-archive.mirrors.estointernet.in focal-updates main restricted universe multiverse
           4: deb http: //ubuntu-archive.mirrors.estointernet.in focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/opera-stable.list 
           1: deb https: //deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
           Active apt repos in: /etc/apt/sources.list.d/ubuntu-x-swat-updates-focal.list 
           1: deb http: //ppa.launchpad.net/ubuntu-x-swat/updates/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/vscode.list 
           1: deb [arch=amd64,arm64,armhf] http: //packages.microsoft.com/repos/code stable main
           No active apt repos in: /etc/apt/sources.list.d/xuzhen666-dockbarx-focal.list 
Info:      Processes: 209 Uptime: 29m Memory: 3.65 GiB used: 1.49 GiB (40.7%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 
I have also tried physically reconnecting the antenna wires, no joy.
To summarise: The problem is with whatever backend there is for blueman, not with the device or blueman, as it works just fine on Windows.
The adapter is made by Atheros.

Do not hesitate to ask for any other info.

Thanks in advance!

SOLUTION:
Run this in terminal every session:

Code: Select all

sudo modprobe -r btusb && sudo modprobe btusb
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 8 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
rgcodes
Level 1
Level 1
Posts: 47
Joined: Fri Jun 04, 2021 4:23 pm

Re: Bluetooth extremely unreliable on a Toshiba Bluetooth Adapter

Post by rgcodes »

System reports informs me the bluetooth adapter has crashed multiple times in the past few days:
https://termbin.com/wgirp
https://termbin.com/h7a41
4 more crashes on the 16th too.
User avatar
rgcodes
Level 1
Level 1
Posts: 47
Joined: Fri Jun 04, 2021 4:23 pm

Re: Bluetooth extremely unreliable on a Toshiba Bluetooth Adapter

Post by rgcodes »

Update 2: The bluetooth magically started working for a session, but then stopped after a restart.

Code: Select all

Bluetoothctl list
stated:

Code: Select all

Controller E0:CA:94:C1:BC:F9 toshiba-satellite [default]
(It returned nothing earlier)

lsusb returned:

Code: Select all

Bus 002 Device 008: ID 0930:0214 Toshiba Corp. 
Bus 002 Device 007: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 002 Device 005: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 10f1:1a34 Importek 
Bus 001 Device 003: ID 0bda:0138 Realtek Semiconductor Corp. RTS5138 Card Reader Controller
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[    1.717897] usb 2-1.6: Product: Askey Bluetooth Module
[   14.454178] toshiba_bluetooth: Toshiba ACPI Bluetooth device driver
[   16.264308] Bluetooth: Core ver 2.22
[   16.264343] Bluetooth: HCI device and connection manager initialized
[   16.264348] Bluetooth: HCI socket layer initialized
[   16.264351] Bluetooth: L2CAP socket layer initialized
[   16.264354] Bluetooth: SCO socket layer initialized
[   30.076841] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   30.076843] Bluetooth: BNEP filters: protocol multicast
[   30.076849] Bluetooth: BNEP socket layer initialized
[   49.199557] Bluetooth: RFCOMM TTY layer initialized
[   49.199568] Bluetooth: RFCOMM socket layer initialized
[   49.199581] Bluetooth: RFCOMM ver 1.11
[  414.135897] usb 2-1.6: Product: Askey Bluetooth Module
The last 2 lines are different.

If it may help, I had just booted in from a 2 hour long windows session.
User avatar
rgcodes
Level 1
Level 1
Posts: 47
Joined: Fri Jun 04, 2021 4:23 pm

Re: Bluetooth not working on a Toshiba Bluetooth Adapter

Post by rgcodes »

This came up yesterday:
Screenshot_2021-08-03_09-14-01.png
Bluetooth is now completely sporadic, sometimes it starts up on bootup, sometimes it dosen't and will remain that way until a full restart.
BriggTrim
Level 1
Level 1
Posts: 1
Joined: Wed Aug 11, 2021 3:10 am

Re: Bluetooth not working on a Toshiba Bluetooth Adapter

Post by BriggTrim »

Hi....Are you sure your hardware is supported by linux? Did you run hciconfig -a as root to rule out any permission problems?
User avatar
rgcodes
Level 1
Level 1
Posts: 47
Joined: Fri Jun 04, 2021 4:23 pm

Re: Bluetooth not working on a Toshiba Bluetooth Adapter

Post by rgcodes »

BriggTrim wrote: Tue Aug 24, 2021 3:03 am Hi....Are you sure your hardware is supported by linux? Did you run hciconfig -a as root to rule out any permission problems?
sudo hciconfig -a

Code: Select all

hci0:	Type: Primary  Bus: USB
	BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
	DOWN 
	RX bytes:34 acl:0 sco:0 events:3 errors:0
	TX bytes:12 acl:0 sco:0 commands:4 errors:0
	Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x79 0x87
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: 
	Link mode: SLAVE ACCEPT 
Yes my hardware is supported by linux as bluetooth does intermittenty work just fine in some sessions. (Session being defined as a startup and shutdown pair)
User avatar
kato181
Level 9
Level 9
Posts: 2577
Joined: Fri Mar 24, 2017 12:33 am
Location: Frederickton NSW

Re: Bluetooth not working on a Toshiba Bluetooth Adapter

Post by kato181 »

Try this link, it may help you..
https://www.youtube.com/watch?v=J-6yq5RMFqA
User avatar
rgcodes
Level 1
Level 1
Posts: 47
Joined: Fri Jun 04, 2021 4:23 pm

Re: Bluetooth not working on a Toshiba Bluetooth Adapter

Post by rgcodes »

kato181 wrote: Sat Sep 18, 2021 9:45 am Try this link, it may help you..
https://www.youtube.com/watch?v=J-6yq5RMFqA
bluetoothctl dosen't register any controller. It only does so in some sessions (session meaning a startup-shutdown pair), as I have detailed in my problem posts.
Geoniboy
Level 1
Level 1
Posts: 1
Joined: Wed Oct 27, 2021 11:29 pm

Re: Bluetooth not working on a Toshiba Bluetooth Adapter

Post by Geoniboy »

Try this....

sudo modprobe -r btusb
sudo modprobe btusb
nickcat325
Level 1
Level 1
Posts: 28
Joined: Sun Feb 07, 2021 12:25 am

Re: Bluetooth not working on a Toshiba Bluetooth Adapter

Post by nickcat325 »

The same problem caused me problems. If this works add <solved> to the title.
viewtopic.php?f=49&t=359924
User avatar
rgcodes
Level 1
Level 1
Posts: 47
Joined: Fri Jun 04, 2021 4:23 pm

Re: Bluetooth not working on a Toshiba Bluetooth Adapter

Post by rgcodes »

Geoniboy wrote: Wed Oct 27, 2021 11:32 pm Try this....

sudo modprobe -r btusb
sudo modprobe btusb
This worked! Thanks!
Locked

Return to “Hardware Support”