The officially official Devuan Forum!

You are not logged in.

#1 2021-05-20 23:28:29

neutral
Member
Registered: 2020-11-29
Posts: 7  

Bluetooth adapter not detected

I have Devuan installed on 2 machines, my daily drive and my old netbook. Bluetooth works fine on my main PC, but it never worked on my netbook with a Broadcom adapter.
I'm using Devuan since Jessie and 4 days ago I upgraded to Chimaera from Beowulf. It never worked on any version, never worked on Debian too. But I know the drive worked just fine when it has running Windows.

$ sudo dmesg | grep -i Blue
[   31.786197] Bluetooth: Core ver 2.22
[   31.786255] Bluetooth: HCI device and connection manager initialized
[   31.786852] Bluetooth: HCI socket layer initialized
[   31.786858] Bluetooth: L2CAP socket layer initialized
[   31.786868] Bluetooth: SCO socket layer initialized
[   32.130804] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   32.130808] Bluetooth: BNEP filters: protocol multicast
[   32.130816] Bluetooth: BNEP socket layer initialized

$ sudo lsmod | grep -i blue
bluetooth             737280  7 bnep
ecdh_generic           16384  1 bluetooth
libaes                 16384  2 bluetooth,aes_generic
rfkill                 28672  7 acer_wmi,bluetooth,cfg80211
crc16                  16384  2 bluetooth,ext4

$ ps aux | grep -i blue
root      1420  0.0  0.3  21644  6392 ?        S    06:29   0:00 /usr/sbin/bluetoothd
neutral   4993  0.0  1.1 442008 23188 ?        Sl   06:46   0:01 /usr/bin/python3 /usr/bin/blueman-applet
neutral   5012  0.0  1.6 339288 32660 ?        Sl   06:46   0:01 /usr/bin/python3 /usr/bin/blueman-tray
neutral   5015  0.0  0.1  41840  2608 ?        S    06:46   0:00 /usr/libexec/bluetooth/obexd
neutral  27302  0.0  0.0   7244   716 pts/1    S+   19:39   0:00 grep blue

$ sudo rfkill list
0: acer-wireless: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

$ sudo lspci | grep -i blue

$ sudo lsusb | grep -i blue

Thanks for any help.

Offline

#2 2021-05-21 09:12:21

Camtaf
Member
Registered: 2019-11-19
Posts: 436  

Re: Bluetooth adapter not detected

Depending on how you installed Devuan, do you have the following installed?

bluetooth 5.50-1.2~deb10u1
bluez 5.50-1.2~deb10u1
libbluetooth3:amd64 5.50-1.2~deb10u1

(No idea what to do with them without reading up on them, but they came installed on my 'live' install.)

Offline

#3 2021-05-21 11:40:00

neutral
Member
Registered: 2020-11-29
Posts: 7  

Re: Bluetooth adapter not detected

Camtaf wrote:

Depending on how you installed Devuan, do you have the following installed?

bluetooth 5.50-1.2~deb10u1
bluez 5.50-1.2~deb10u1
libbluetooth3:amd64 5.50-1.2~deb10u1

(No idea what to do with them without reading up on them, but they came installed on my 'live' install.)

yes, they are installed.

Offline

#4 2021-05-21 12:18:09

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: Bluetooth adapter not detected

what broadcom adapter is it?

please post the output of this command.

sudo lspci -knn | grep Net -A3

Offline

#5 2021-05-21 15:04:01

neutral
Member
Registered: 2020-11-29
Posts: 7  

Re: Bluetooth adapter not detected

dice wrote:

what broadcom adapter is it?

please post the output of this command.

sudo lspci -knn | grep Net -A3

I never used the adapter, I got it used with windows pre installed and I tested the BT once, since them I installed Linux and never bothered to make it work until now. I read online this acer aspire has a broadcom adapter, but I don't really know for sure.

$ sudo lspci -knn | grep Net -A3
02:00.0 Network controller [0280]: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01)
	Subsystem: Foxconn International, Inc. T77H047.31 802.11bgn Wireless Half-size Mini PCIe Card [AR9283] [105b:e01f]
	Kernel driver in use: ath9k
	Kernel modules: ath9k

Last edited by neutral (2021-05-21 15:04:58)

Offline

#6 2021-05-21 15:26:09

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: Bluetooth adapter not detected

i see rfkill list shows nothing for bluetooth which makes me wonder if that functionality is damaged perhaps? How long ago did you have it working with microsoft?

please show output of rfkill like this.

sudo rfkill list all

also this command.

lshw -c network

Last edited by dice (2021-05-21 15:29:04)

Offline

#7 2021-05-21 16:00:08

neutral
Member
Registered: 2020-11-29
Posts: 7  

Re: Bluetooth adapter not detected

dice wrote:

i see rfkill list shows nothing for bluetooth which makes me wonder if that functionality is damaged perhaps? How long ago did you have it working with microsoft?

please show output of rfkill like this.

sudo rfkill list all

also this command.

lshw -c network
$ sudo rfkill list all
0: acer-wireless: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

$ sudo lshw -c network
  *-network                 
       description: Ethernet interface
       product: AR8131 Gigabit Ethernet
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: eth0
       version: c0
       serial: 00:26:9e:b7:58:9e
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=5.10.0-6-amd64 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:28 memory:93500000-9353ffff ioport:2000(size=128)
  *-network
       description: Wireless interface
       product: AR928X Wireless Network Adapter (PCI-Express)
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlan0
       version: 01
       serial: 0c:ee:e6:a6:96:33
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=5.10.0-6-amd64 firmware=N/A ip=192.168.15.13 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:19 memory:92500000-9250ffff

yeap it is not showing anything, maybe it is broken now. I'm using linux with it for 5 years now, since then the adapter was never used again. I will try to free space in an external HD and try to install windows just to be sure the device is broken.

Offline

#8 2021-05-21 16:10:31

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: Bluetooth adapter not detected

nothing broadcom in those outputs. Were you talking about an internal adapter card when you mentioned broadcom in your original post?

Offline

#9 2021-05-21 16:13:21

neutral
Member
Registered: 2020-11-29
Posts: 7  

Re: Bluetooth adapter not detected

dice wrote:

nothing broadcom in those outputs. Were you talking about an internal adapter card when you mentioned broadcom in your original post?

I saw my netbook model hardware online.

Offline

#10 2021-05-21 16:40:47

Kelsoo
Member
Registered: 2016-12-09
Posts: 56  

Re: Bluetooth adapter not detected

$ sudo lsmod | grep -i blue
bluetooth             737280  7 bnep
ecdh_generic           16384  1 bluetooth
libaes                 16384  2 bluetooth,aes_generic
rfkill                 28672  7 acer_wmi,bluetooth,cfg80211
crc16                  16384  2 bluetooth,ext4

Is there a hardware switch or key bind?

Offline

#11 2021-05-21 16:50:01

neutral
Member
Registered: 2020-11-29
Posts: 7  

Re: Bluetooth adapter not detected

Kelsoo wrote:

$ sudo lsmod | grep -i blue
bluetooth             737280  7 bnep
ecdh_generic           16384  1 bluetooth
libaes                 16384  2 bluetooth,aes_generic
rfkill                 28672  7 acer_wmi,bluetooth,cfg80211
crc16                  16384  2 bluetooth,ext4

Is there a hardware switch or key bind?

Both.

Offline

#12 2021-05-22 11:08:13

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: Bluetooth adapter not detected

so have you tried switching on and off and read dmesg?

do this and report back the output..

while this command is running in a terminal switch on and off the keybind and hardware switch.

sudo dmesg -WH

Offline

#13 2021-05-22 18:26:38

neutral
Member
Registered: 2020-11-29
Posts: 7  

Re: Bluetooth adapter not detected

dice wrote:

so have you tried switching on and off and read dmesg?

do this and report back the output..

while this command is running in a terminal switch on and off the keybind and hardware switch.

sudo dmesg -WH

Cool, I didn't knew about the -W flag, very handy.

sudo dmesg -WH

After using the BT hardware switch:

[mai22 15:15] atkbd serio0: Unknown key pressed (translated set 2, code 0xd4 on isa0060/serio0).
[  +0,000007] atkbd serio0: Use 'setkeycodes e054 <keycode>' to make it known.
[  +0,006401] atkbd serio0: Unknown key released (translated set 2, code 0xd4 on isa0060/serio0).
[  +0,000007] atkbd serio0: Use 'setkeycodes e054 <keycode>' to make it known.

After using the keyboard bind for BT:

[mai22 15:21] atkbd serio0: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
[  +0,000006] atkbd serio0: Use 'setkeycodes e059 <keycode>' to make it known.
[  +0,175595] atkbd serio0: Unknown key released (translated set 2, code 0xd9 on isa0060/serio0).
[  +0,000006] atkbd serio0: Use 'setkeycodes e059 <keycode>' to make it known.

For comparison, after using the wireless hardware switch, off and on:

[mai22 15:30] atkbd serio0: Unknown key pressed (translated set 2, code 0xd6 on isa0060/serio0).
[  +0,000006] atkbd serio0: Use 'setkeycodes e056 <keycode>' to make it known.
[  +0,007303] atkbd serio0: Unknown key released (translated set 2, code 0xd6 on isa0060/serio0).
[  +0,000005] atkbd serio0: Use 'setkeycodes e056 <keycode>' to make it known.
[  +0,420609] wlan0: deauthenticating from c0:3d:d9:a0:25:f8 by local choice (Reason: 3=DEAUTH_LEAVING)
[mai22 15:43] atkbd serio0: Unknown key pressed (translated set 2, code 0xd5 on isa0060/serio0).
[  +0,000007] atkbd serio0: Use 'setkeycodes e055 <keycode>' to make it known.
[  +0,006410] atkbd serio0: Unknown key released (translated set 2, code 0xd5 on isa0060/serio0).
[  +0,000006] atkbd serio0: Use 'setkeycodes e055 <keycode>' to make it known.
[  +3,461978] wlan0: authenticate with c0:3d:d9:a0:25:f8
[  +0,033739] wlan0: send auth to c0:3d:d9:a0:25:f8 (try 1/3)
[  +0,007071] wlan0: authenticated
[  +0,026089] wlan0: associating with AP with corrupt probe response
[  +0,000778] wlan0: associate with c0:3d:d9:a0:25:f8 (try 1/3)
[  +0,009437] wlan0: RX AssocResp from c0:3d:d9:a0:25:f8 (capab=0x1431 status=0 aid=1)
[  +0,000163] wlan0: associated
[  +0,000124] ath: EEPROM regdomain: 0x804c
[  +0,000003] ath: EEPROM indicates we should expect a country code
[  +0,000002] ath: doing EEPROM country->regdmn map search
[  +0,000002] ath: country maps to regdmn code: 0x3b
[  +0,000002] ath: Country alpha2 being used: BR
[  +0,000002] ath: Regpair used: 0x3b
[  +0,000002] ath: regdomain 0x804c dynamically updated by country element
[  +0,039572] wlan0: Limiting TX power to 20 (20 - 0) dBm as advertised by c0:3d:d9:a0:25:f8
[  +0,073789] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Offline

Board footer