You are not logged in.
Pages: 1
I am using Arch linux currently, and I cannot use my bluetooth driver in it. My PC is a laptop, DELL Inspiron n4030 i3-380m and it has a hybrid BROADCOM 4313 Wifi and bluetooth card inbuilt. The wifi is working fine, but there is no sign that bluetooth exist.
I have bluez and blueman installed.
The driver that I am using for my wifi is `b43`
`sudo lspci -vnn -d 14e4:`
12:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
Subsystem: Dell Inspiron M5010 / XPS 8300 [1028:0010]
Physical Slot: 0-1
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fbb00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information: Len=78 <?>
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-78-ff-ff-4a-cc-af
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma
When I start the bluetooth with
`sudo modprobe btusb; systemctl start bluetooth`
`sudo dmesg | grep -i bluetooth`:
[ 1334.131956] Bluetooth: Core ver 2.22
[ 1334.132020] NET: Registered PF_BLUETOOTH protocol family
[ 1334.132022] Bluetooth: HCI device and connection manager initialized
[ 1334.132029] Bluetooth: HCI socket layer initialized
[ 1334.132032] Bluetooth: L2CAP socket layer initialized
[ 1334.132038] Bluetooth: SCO socket layer initialized
[ 1342.140875] audit: type=1130 audit(1632067873.984:152): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1342.189409] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1342.189419] Bluetooth: BNEP filters: protocol multicast
[ 1342.189430] Bluetooth: BNEP socket layer initialized
`sudo lsmod | grep bluetooth`
bluetooth 729088 11 btrtl,btintel,btbcm,bnep,btusb
ecdh_generic 16384 1 bluetooth
rfkill 32768 10 bluetooth,dell_laptop,brcmsmac,cfg80211
crc16 16384 2 bluetooth,ext4
`sudo rfkill list`:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
When I do `bluetoothctl`
$ bluetoothctl
Agent registered
[bluetooth]# power on
No default controller available
[bluetooth]#
If you need more log then I could provide.
And yes, the bluetooth module works, as I had used it on ubuntu (somehow, that I dont remember) and windows10 with lenovo drivers.
`lsusb`:
Bus 002 Device 003: ID 0000:0538 USB OPTICAL MOUSE
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 007: ID 0c45:6488 Microdia Laptop_Integrated_Webcam_0.3M
Bus 001 Device 004: ID 0bda:0138 Realtek Semiconductor Corp. RTS5138 Card Reader Controller
Bus 001 Device 006: ID 413c:8162 Dell Computer Corp. Integrated Touchpad [Synaptics]
Bus 001 Device 005: ID 413c:8161 Dell Computer Corp. Integrated Keyboard
Bus 001 Device 003: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
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
Last edited by alazoz (2021-09-20 14:08:56)
Offline
Apparently the driver you need is brcmsmac.
Plz try
modprobe brcmsmac
You probably also need the linux-firmware package.
If it works you might need to blacklist the b43 drivers.
Plz see
https://wiki.archlinux.org/title/broadcom_wireless
Last edited by dreamycrane (2021-09-19 20:43:33)
Offline
Apparently the driver you need is brcmsmac.
Plz trymodprobe brcmsmac
You probably also need the linux-firmware package.
If it works you might need to blacklist the b43 drivers.
Plz see
https://wiki.archlinux.org/title/broadcom_wireless
I tried blocking b43 and using brcmsmac, but everything is still the same.
I have already linux-firmware package installed, and is currently latest.
In the link, I am not sure which one to follow, can you be more descriptive. I am somewhat noob (at least in driver categories).
Last edited by alazoz (2021-09-20 14:16:22)
Offline
`sudo dmesg | grep -i brcm`
[ 16.759912] brcmsmac bcma0:1: mfg 4bf core 812 rev 24 class 0 irq 17
[ 16.761494] ieee80211 phy0: registered radio enabled led device: brcmsmac-phy0:radio
[ 31.051615] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: false (implement)
[ 31.051627] brcmsmac bcma0:1: brcms_ops_config: change power-save mode: false (implement)
[ 31.128273] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: false (implement)
[ 31.128287] brcmsmac bcma0:1: brcms_ops_config: change power-save mode: false (implement)
[ 33.316745] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: false (implement)
[ 33.316761] brcmsmac bcma0:1: brcms_ops_config: change power-save mode: false (implement)
[ 34.384521] brcmsmac bcma0:1: brcmsmac: brcms_ops_bss_info_changed: associated
[ 34.384527] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: true (implement)
[ 34.429687] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: AC_VO txop exceeded phylen 159/256 dur 1778/1504
[ 34.436444] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: AC_VO txop exceeded phylen 137/256 dur 1602/1504
[ 34.860158] brcmsmac bcma0:1: brcms_ops_bss_info_changed: arp filtering: 1 addresses (implement)
This log may help maybe!
Last edited by alazoz (2021-09-20 14:09:48)
Offline
Please wrap those outputs in bbcode [ code ] [ /code ] rather than markdown: https://bbs.archlinux.org/help.php#bbcode
You might want to test behaviour with the wl driver rather than the OSS offerings
Offline
Please wrap those outputs in bbcode [ code ] [ /code ] rather than markdown: https://bbs.archlinux.org/help.php#bbcode
You might want to test behaviour with the wl driver rather than the OSS offerings
Thanks sir, I didn't knew that. I am new to this.
Offline
Apparently the driver you need is brcmsmac.
Plz trymodprobe brcmsmac
You probably also need the linux-firmware package.
If it works you might need to blacklist the b43 drivers.
Plz see
https://wiki.archlinux.org/title/broadcom_wireless
I tried installing wl drivers, but I got the error!!
$ make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory '/usr/lib/modules/5.14.6-arch1-1/build'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/shared/linux_osl.o
/home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/shared/linux_osl.c: In function ‘osl_reg_map’:
/home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/shared/linux_osl.c:945:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
945 | return (ioremap_nocache((unsigned long)pa, (unsigned long)size));
| ^~~~~~~~~~~~~~~
| ioremap_cache
/home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/shared/linux_osl.c:945:17: warning: returning ‘int’ from a function with return type ‘void *’ makes pointer from integer without a cast [-Wint-conversion]
945 | return (ioremap_nocache((unsigned long)pa, (unsigned long)size));
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/shared/linux_osl.c: In function ‘osl_os_get_image_block’:
/home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/shared/linux_osl.c:1079:35: warning: passing argument 2 of ‘kernel_read’ makes pointer from integer without a cast [-Wint-conversion]
1079 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ~~^~~~~~~
| |
| loff_t {aka long long int}
In file included from ./include/linux/huge_mm.h:8,
from ./include/linux/mm.h:728,
from /home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/include/linuxver.h:65,
from /home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/shared/linux_osl.c:25:
./include/linux/fs.h:3118:43: note: expected ‘void *’ but argument is of type ‘loff_t’ {aka ‘long long int’}
3118 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~
/home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/shared/linux_osl.c:1079:44: warning: passing argument 3 of ‘kernel_read’ makes integer from pointer without a cast [-Wint-conversion]
1079 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ^~~
| |
| char *
In file included from ./include/linux/huge_mm.h:8,
from ./include/linux/mm.h:728,
from /home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/include/linuxver.h:65,
from /home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/shared/linux_osl.c:25:
./include/linux/fs.h:3118:51: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘char *’
3118 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~
/home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/shared/linux_osl.c:1079:49: warning: passing argument 4 of ‘kernel_read’ makes pointer from integer without a cast [-Wint-conversion]
1079 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ^~~
| |
| int
In file included from ./include/linux/huge_mm.h:8,
from ./include/linux/mm.h:728,
from /home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/include/linuxver.h:65,
from /home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/shared/linux_osl.c:25:
./include/linux/fs.h:3118:59: note: expected ‘loff_t *’ {aka ‘long long int *’} but argument is of type ‘int’
3118 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:271: /home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/shared/linux_osl.o] Error 1
make[1]: *** [Makefile:1858: /home/alazoz/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_271] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.14.6-arch1-1/build'
make: *** [Makefile:159: all] Error 2
Am I doing something wrong?
Offline
Probably because you shouldn't be trying to manually make something. There's a broadcom-wl package in the repos.
Offline
Probably because you shouldn't be trying to manually make something. There's a broadcom-wl package in the repos.
I tried the broadcom-wl package, but the results are the same, wifi works, but no signs of bluetooth. I also tried :
wl from broadcom-wl
wl from broadcom-wl-dkms
b43
brcmsmac
The results are the same, Wi-Fi works but the bluetooth don't.
The rfkill list command don't list it in any case. It only show the wifi.
The lsusb is the only thing where I could see that the bluetooth is there.
Do `rfkill list` show the device when the dirver is installed for the device only?
Last edited by alazoz (2021-09-21 14:23:13)
Offline
Pages: 1