I have a Lenovo G50-30 laptop. It has a qualcom AR9565 wlan + AR3012 bt combo card. The wifi works fine. The bluetooth when turned on doesn’t stay on. A view over the logs shows that "hci0 failed to disable LE scan:status 0x1f. This has happened in ubuntu based distros as well so it seems to be hardware specific. I have found other threads about the particular chip on popOS github. What I think this has to do with is broadcom drivers, since the official lenovo page does state “Atheros,Realtek,Broadcom” in their driver installer. I might be wrong since others with broadcom cards couldnt even get wifi unless they manually installed the driver. I would appreciate any help there is and I am just wishing to make this issue more known for the improvement of linux.
One thing that will allow us to aid you better would be if you were to post the output of lspci -nn
. That will tell us exactly what devices are installed and the chipset IDs so appropriate drivers may be identified.
The output of inxi -Fxx
will also assist with the task.
Have the same problem.
“lspci -nn” output
00:00.0 Host bridge [0600]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register [8086:0f00] (rev 0e)
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31] (rev 0e)
00:13.0 SATA controller [0106]: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller [8086:0f23] (rev 0e)
00:14.0 USB controller [0c03]: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI [8086:0f35] (rev 0e)
00:1a.0 Encryption controller [1080]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [8086:0f18] (rev 0e)
00:1b.0 Audio device [0403]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller [8086:0f04] (rev 0e)
00:1c.0 PCI bridge [0604]: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 [8086:0f48] (rev 0e)
00:1c.2 PCI bridge [0604]: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 [8086:0f4c] (rev 0e)
00:1c.3 PCI bridge [0604]: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 [8086:0f4e] (rev 0e)
00:1f.0 ISA bridge [0601]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit [8086:0f1c] (rev 0e)
00:1f.3 SMBus [0c05]: Intel Corporation Atom Processor E3800/CE2700 Series SMBus Controller [8086:0f12] (rev 0e)
02:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
“inxi -Fxx” output
System:
Host: fedora Kernel: 5.14.10-300.fc35.x86_64 x86_64 bits: 64 compiler: gcc
v: 2.37-10.fc35 Desktop: GNOME 41.0 tk: GTK 3.24.30 wm: gnome-shell
dm: GDM Distro: Fedora release 35 (Thirty Five)
Machine:
Type: Laptop System: LENOVO product: 80G0 v: Lenovo G50-30
serial: <superuser required> Chassis: type: 10 v: Lenovo G50-30
serial: <superuser required>
Mobo: LENOVO model: Lancer 5A6 v: SDK0F82993WIN
serial: <superuser required> UEFI: LENOVO v: A7CN40WW date: 07/18/2014
Battery:
ID-1: BAT0 charge: 22.4 Wh (84.8%) condition: 26.4/28.5 Wh (92.6%)
volts: 15.3 min: 14.4 model: Lenovo serial: BAT20101001
status: Discharging
CPU:
Info: Dual Core model: Intel Celeron N2840 bits: 64 type: MCP
arch: Silvermont rev: 8 cache: L1: 112 KiB L2: 2 MiB
flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 8666
Speed: 2583 MHz min/max: 500/2582 MHz Core speeds (MHz): 1: 2583 2: 2583
Graphics:
Device-1: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0f31
Device-2: Realtek Lenovo EasyCamera type: USB driver: uvcvideo
bus-ID: 1-4.1:3 chip-ID: 0bda:579a
Display: wayland server: X.Org 1.21.1.2 compositor: gnome-shell driver:
loaded: i915 note: n/a (using device driver) - try sudo/root
resolution: 1920x1080~60Hz s-dpi: 96
OpenGL: renderer: Mesa Intel HD Graphics (BYT) v: 4.2 Mesa 21.2.3
compat-v: 3.1 direct render: Yes
Audio:
Device-1: Intel Atom Processor Z36xxx/Z37xxx Series High Definition Audio
vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:0f04
Sound Server-1: ALSA v: k5.14.10-300.fc35.x86_64 running: yes
Sound Server-2: PipeWire v: 0.3.38 running: yes
Network:
Device-1: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
vendor: Lenovo driver: ath9k v: kernel bus-ID: 02:00.0 chip-ID: 168c:0036
IF: wlp2s0 state: up mac: d0:53:49:07:df:b5
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel port: 1000 bus-ID: 03:00.0
chip-ID: 10ec:8168
IF: enp3s0 state: down mac: 68:f7:28:6d:2b:76
Bluetooth:
Device-1: Qualcomm Atheros AR3012 Bluetooth 4.0 type: USB driver: btusb
v: 0.8 bus-ID: 1-4.3:62 chip-ID: 0cf3:3004
Report: rfkill ID: hci0 rfk-id: 31 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: see --recommends
Drives:
Local Storage: total: 111.79 GiB used: 3.65 GiB (3.3%)
ID-1: /dev/sda vendor: Kingston model: SA400S37120G size: 111.79 GiB
speed: 3.0 Gb/s serial: 50026B76833A08E1
Partition:
ID-1: / size: 110.2 GiB used: 3.49 GiB (3.2%) fs: btrfs dev: /dev/sda3
ID-2: /boot size: 973.4 MiB used: 151.9 MiB (15.6%) fs: ext4
dev: /dev/sda2
ID-3: /boot/efi size: 598.8 MiB used: 13.8 MiB (2.3%) fs: vfat
dev: /dev/sda1
ID-4: /home size: 110.2 GiB used: 3.49 GiB (3.2%) fs: btrfs dev: /dev/sda3
Swap:
ID-1: swap-1 type: zram size: 3.71 GiB used: 3 MiB (0.1%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 37.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 239 Uptime: 19m Memory: 3.71 GiB used: 1.87 GiB (50.4%)
Init: systemd v: 249 runlevel: 5 target: graphical.target Compilers:
gcc: 11.2.1 Packages: N/A note: see --pkg Shell: Bash v: 5.1.8
running-in: gnome-terminal inxi: 3.3.09
That part from the inxi output shows the bluetooth device is USB attached with chip ID 0cf3:3004 using driver btusb.
A quick search for that chipset and drivers in fedora shows there are 2 possible drivers that may work. ath3k
and btusb
.
The search was done with 0cf3:3004 driver fedora
and one of the first links was this one
So how do I test the ath3k driver?
“lsmod” outputs this:
Module Size Used by
uinput 20480 0
rfcomm 86016 16
snd_seq_dummy 16384 0
snd_hrtimer 16384 1
nft_objref 16384 1
nf_conntrack_netbios_ns 16384 1
nf_conntrack_broadcast 16384 1 nf_conntrack_netbios_ns
nft_fib_inet 16384 1
nft_fib_ipv4 16384 1 nft_fib_inet
nft_fib_ipv6 16384 1 nft_fib_inet
nft_fib 16384 3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_reject_inet 16384 6
nf_reject_ipv4 16384 1 nft_reject_inet
nf_reject_ipv6 20480 1 nft_reject_inet
nft_reject 16384 1 nft_reject_inet
nft_ct 20480 16
nft_chain_nat 16384 2
nf_nat 53248 1 nft_chain_nat
nf_conntrack 163840 4 nf_nat,nft_ct,nf_conntrack_netbios_ns,nf_conntrack_broadcast
nf_defrag_ipv6 24576 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
ip_set 61440 0
nf_tables 258048 232 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_objref,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
nfnetlink 20480 3 nf_tables,ip_set
qrtr 20480 4
ns 32768 1 qrtr
bnep 28672 2
ath9k 155648 0
intel_rapl_msr 20480 0
ath9k_common 28672 1 ath9k
ath9k_hw 528384 2 ath9k_common,ath9k
intel_rapl_common 28672 1 intel_rapl_msr
mei_hdcp 24576 0
intel_soc_dts_thermal 20480 0
sunrpc 655360 1
intel_soc_dts_iosf 20480 1 intel_soc_dts_thermal
mac80211 1163264 1 ath9k
at24 24576 0
intel_powerclamp 20480 0
iTCO_wdt 16384 0
coretemp 20480 0
intel_pmc_bxt 16384 1 iTCO_wdt
kvm_intel 335872 0
iTCO_vendor_support 16384 1 iTCO_wdt
libarc4 16384 1 mac80211
snd_hda_codec_hdmi 73728 1
ath 36864 3 ath9k_common,ath9k,ath9k_hw
kvm 1036288 1 kvm_intel
snd_hda_codec_conexant 24576 1
snd_hda_codec_generic 98304 1 snd_hda_codec_conexant
ledtrig_audio 16384 1 snd_hda_codec_generic
uvcvideo 122880 0
snd_hda_intel 57344 2
snd_intel_dspcfg 28672 1 snd_hda_intel
cfg80211 1015808 4 ath9k_common,ath9k,ath,mac80211
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_hda_codec 172032 4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
videobuf2_v4l2 36864 1 uvcvideo
videobuf2_common 69632 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
videodev 270336 3 videobuf2_v4l2,uvcvideo,videobuf2_common
irqbypass 16384 1 kvm
snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_hwdep 16384 1 snd_hda_codec
snd_seq 90112 7 snd_seq_dummy
intel_cstate 20480 0
snd_seq_device 16384 1 snd_seq
snd_pcm 139264 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
vfat 20480 1
fat 86016 1 vfat
rtsx_usb_ms 24576 0
memstick 24576 1 rtsx_usb_ms
snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm
mei_txe 32768 1
ath3k 24576 0
mc 65536 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
pcspkr 16384 0
joydev 28672 0
btusb 65536 0
mei 151552 3 mei_hdcp,mei_txe
snd 114688 16 snd_hda_codec_generic,snd_seq,snd_hda_codec_conexant,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
i2c_i801 32768 0
lpc_ich 28672 0
i2c_smbus 20480 1 i2c_i801
soundcore 16384 1 snd
hci_uart 155648 0
btqca 24576 1 hci_uart
btrtl 28672 2 hci_uart,btusb
btbcm 20480 2 hci_uart,btusb
ideapad_laptop 28672 0
btintel 45056 2 hci_uart,btusb
bluetooth 671744 48 btrtl,btqca,btintel,hci_uart,btbcm,bnep,ath3k,btusb,rfcomm
sparse_keymap 16384 1 ideapad_laptop
platform_profile 16384 1 ideapad_laptop
wmi 36864 1 ideapad_laptop
ecdh_generic 16384 1 bluetooth
rfkill_gpio 16384 0
rfkill 36864 10 rfkill_gpio,ath9k,bluetooth,ideapad_laptop,cfg80211
zram 24576 2
ip_tables 32768 0
i915 3031040 11
rtsx_usb_sdmmc 32768 0
mmc_core 196608 1 rtsx_usb_sdmmc
i2c_algo_bit 16384 1 i915
ttm 81920 1 i915
drm_kms_helper 311296 1 i915
cec 61440 2 drm_kms_helper,i915
crct10dif_pclmul 16384 1
drm 630784 8 drm_kms_helper,i915,ttm
crc32_pclmul 16384 0
crc32c_intel 24576 3
ghash_clmulni_intel 16384 0
serio_raw 20480 0
r8169 98304 0
rtsx_usb 32768 2 rtsx_usb_sdmmc,rtsx_usb_ms
video 57344 2 ideapad_laptop,i915
i2c_hid_acpi 16384 0
i2c_hid 32768 1 i2c_hid_acpi
pwm_lpss_platform 16384 0
pwm_lpss 16384 1 pwm_lpss_platform
ipmi_devintf 20480 0
ipmi_msghandler 118784 1 ipmi_devintf
fuse 172032 3
It shows ath3k in bluetooth modules. So is it possibly not a driver issue?
lsmod | grep btusb
will give you eight different places where btusb is used.
lsmod | grep ath3k
will only give two.
Since that shows that both are loaded I am not sure what the issue may be that is causing the intermittent actions. It is possible that the modules are interfering with each other but I will have to leave it to someone with more experience with bluetooth to help in identifying the actual error cause.