After installing the mesa-nonfree drivers, the bluetooth adapter stopped working. The system does not detect it
You know what you did.
We don’t.
so: what did you do?
to
?
I added an unofficial repository for manjaro https://github.com/mesa-freeworld/mesa-nonfree
### install ###
# locally trust the ci key
sudo pacman-key --recv-keys B728DB23B92CB01B && \
sudo pacman-key --lsign-key B728DB23B92CB01B
## add the repo configuration:
sudo sh -c "curl -s https://nonfree.eu/$(pacman-mirrors -G)/ > /etc/pacman.d/mesa-nonfree.pre.repo.conf"
## include the repo configuration:
sudo sed -i '/^\[core\]/i \Include = /etc/pacman.d/mesa-nonfree.pre.repo.conf\n' /etc/pacman.conf
then i refreshed the mirrors/database with
sudo pacman-mirrors -f5 && sudo pacman -Syyu
after update in pacman-manager in the tab (install/remove software) in the repositories, the mesa-nonfree tab appeared at the top of the list. from here i installed the mesa drivers.
This should update the packages from the mesa-nonfree repo, a manual installation should not be needed (at least when I switched this was not needed, your situation may differ)
Please provide basic info for your system so users do not have to guess what is going on:
sudo pacman -Syyu
error: could not register 'mesa-nonfree' database (database already registered)
error: could not register 'mesa-nonfree' database (database already registered)
:: Synchronizing package databases...
mesa-nonfree 6.0 KiB 17.0 KiB/s 00:00 [######################] 100%
core 163.5 KiB 654 KiB/s 00:00 [######################] 100%
extra 1858.2 KiB 4.65 MiB/s 00:00 [######################] 100%
community 7.6 MiB 4.02 MiB/s 00:02 [######################] 100%
multilib 170.6 KiB 1758 KiB/s 00:00 [######################] 100%
:: Starting full system upgrade...
there is nothing to do
inxi -v7azy
~ LC_ALL=C inxi -v7azy ✔ 4s
System:
Kernel: 6.1.19-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
root=UUID=8ce5fb83-4fc9-4ac1-95e9-27e0b9f16360 rw quiet splash apparmor=1
security=apparmor resume=UUID=c37b4737-4448-4b91-b00a-0f818485b606
udev.log_priority=3
Desktop: GNOME v: 43.3 tk: GTK v: 3.24.36 wm: gnome-shell dm: GDM v: 43.0
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 20238 v: Lenovo G510
serial: <superuser required> Chassis: type: 10 v: Lenovo G510
serial: <superuser required>
Mobo: LENOVO model: INVALID v: 31900058Std serial: <superuser required>
UEFI: LENOVO v: 79CN46WW(V3.05) date: 12/23/2013
Memory:
RAM: total: 7.67 GiB used: 2.55 GiB (33.3%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: Intel Core i5-4200M bits: 64 type: MT MCP arch: Haswell
gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm
family: 6 model-id: 0x3C (60) stepping: 3 microcode: 0x28
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 3 MiB desc: 1x3 MiB
Speed (MHz): avg: 799 high: 800 min/max: 800/3100 scaling:
driver: intel_cpufreq governor: schedutil cores: 1: 798 2: 798 3: 800 4: 800
bogomips: 19963
Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2
bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
fsgsbase fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce
md_clear mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid
pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand
rdtscp rep_good sdbg sep smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
vpid xsave xsaveopt xtopology xtpr
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo
driver: i915 v: kernel arch: Gen-7.5 process: Intel 22nm built: 2013 ports:
active: HDMI-A-1 off: eDP-1 empty: VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0416
class-ID: 0300
Device-2: AMD Jet PRO [Radeon R5 M230 / R7 M260DX Radeon 520/610 Mobile]
vendor: Lenovo driver: radeon v: kernel alternate: amdgpu arch: GCN-1
code: Southern Islands process: TSMC 28nm built: 2011-20 pcie: gen: 3
speed: 8 GT/s lanes: 8 bus-ID: 01:00.0 chip-ID: 1002:6665 class-ID: 0380
temp: 45.0 C
Device-3: Syntek Lenovo EasyCamera type: USB driver: uvcvideo bus-ID: 3-4:2
chip-ID: 174f:148d class-ID: 0e02 serial: <filter>
Display: x11 server: X.org v: 1.21.1.7 with: Xwayland v: 22.1.8
compositor: gnome-shell driver: X: loaded: modesetting,radeon
alternate: fbdev,vesa dri: crocus,radeonsi gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 1366x768 s-size: <missing: xdpyinfo>
Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: primary model: Samsung built: 2011
res: 1366x768 hz: 60 dpi: 217 gamma: 1.2 size: 160x90mm (6.3x3.54")
diag: 801mm (31.5") ratio: 16:9 modes: max: 1366x768 min: 720x400
Monitor-2: eDP-1 note: disabled model: Samsung 0x4752 built: 2012
res: 1366x768 dpi: 101 gamma: 1.2 size: 344x194mm (13.54x7.64")
diag: 395mm (15.5") ratio: 16:9 modes: 1366x768
API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel HD Graphics 4600 (HSW
GT2) direct-render: Yes
Audio:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:03.0
chip-ID: 8086:0c0c class-ID: 0403
Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
class-ID: 0403
Sound API: ALSA v: k6.1.19-1-MANJARO running: yes
Sound Server-1: JACK v: 1.9.22 running: no
Sound Server-2: PulseAudio v: 16.1 running: yes
Sound Server-3: PipeWire v: 0.3.65 running: yes
Network:
Device-1: Broadcom BCM43142 802.11b/g/n vendor: Lenovo driver: wl v: kernel
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 08:00.0 chip-ID: 14e4:4365
class-ID: 0280
IF: wlp8s0 state: dormant mac: <filter>
Device-2: Qualcomm Atheros QCA8172 Fast Ethernet vendor: Lenovo driver: alx
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 09:00.0
chip-ID: 1969:10a0 class-ID: 0200
IF: enp9s0 state: up speed: 100 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Foxconn BCM43142A0 Bluetooth module type: USB driver: btusb v: 0.8
bus-ID: 3-7:4 chip-ID: 105b:e065 class-ID: fe01 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.14 TiB used: 24.58 GiB (2.1%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SSDPR-CX400-256
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 61.3 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: ST1000LM024 HN-M101MBB
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
type: HDD rpm: 5400 serial: <filter> rev: 0001 scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 100 GiB size: 97.87 GiB (97.87%) used: 10.86 GiB (11.1%)
fs: ext4 dev: /dev/sda3 maj-min: 8:3 label: N/A
uuid: 8ce5fb83-4fc9-4ac1-95e9-27e0b9f16360
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
used: 312 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: NO_LABEL
uuid: CBC7-F791
ID-3: /home raw-size: 121.97 GiB size: 119.49 GiB (97.97%)
used: 13.72 GiB (11.5%) fs: ext4 dev: /dev/sda4 maj-min: 8:4 label: N/A
uuid: 55f3191a-5393-4e39-8b92-60b843f868aa
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda2 maj-min: 8:2 label: N/A
uuid: c37b4737-4448-4b91-b00a-0f818485b606
Unmounted:
ID-1: /dev/sdb1 maj-min: 8:17 size: 931.51 GiB fs: ext4 label: home
uuid: a5bba619-ab0e-4260-a0ec-330974d42ce2
USB:
Hub-1: 1-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
speed: 480 Mb/s chip-ID: 8087:8008 class-ID: 0900
Hub-3: 2-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0
speed: 480 Mb/s chip-ID: 8087:8000 class-ID: 0900
Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 14 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-4:2 info: Syntek Lenovo EasyCamera type: Video driver: uvcvideo
interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 174f:148d
class-ID: 0e02 serial: <filter>
Device-2: 3-6:3 info: Microsoft Nano Transceiver v1.0 for Bluetooth
type: Keyboard,Mouse,HID driver: hid-generic,usbhid interfaces: 3 rev: 2.0
speed: 12 Mb/s power: 100mA chip-ID: 045e:0745 class-ID: 0300
Device-3: 3-7:4 info: Foxconn BCM43142A0 Bluetooth module type: Bluetooth
driver: btusb interfaces: 4 rev: 2.0 speed: 12 Mb/s chip-ID: 105b:e065
class-ID: fe01 serial: <filter>
Device-4: 3-8:5 info: Realtek RTS5129 Card Reader Controller
type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc
interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0129
class-ID: ff00 serial: <filter>
Hub-6: 4-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 58.0 C mobo: N/A gpu: radeon temp: 45.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 218 Uptime: 7m wakeups: 1 Init: systemd v: 252 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
pkgs: 1315 libs: 338 tools: gnome-software,pamac,yay pm: flatpak pkgs: 0
Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.25
This is not as it should, is there more then one line in /etc/pacman.conf
with:
Include = /etc/pacman.d/mesa-nonfree.pre.repo.conf
That can happen when running the command:
sudo sed -i ‘/^[core]/i \Include = /etc/pacman.d/mesa-nonfree.pre.repo.conf\n’ /etc/pacman.conf
three times, some care should be taken when copy pasting and running commands.
Your BT card seems to be detected, have you searched the forum on tips how to troubleshoot BT issues?
There were 3 identical lines in the file /etc/pacman.conf
. I removed two and the update went through without a problem.
Only the bluetooth problem still remained. I searched the forum but found nothing.
I don’t use BT and cannot assist with this.
Does this thread below help in any way, it seems to be the same device and it seems to be your own post from a while back with the exact same hardware, the solution might be the same
yes this is my post. The first thing to use the command
pamac build broadcom-bt-firmware
but this time I get an error
~ LC_ALL=C pamac build broadcom-bt-firmware 1 ✘ 18s
Preparing...
Cloning broadcom-bt-firmware build files...
Generating broadcom-bt-firmware information...
Checking broadcom-bt-firmware dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
broadcom-bt-firmware 12.0.1.1105-1 AUR
Edit build files : [e]
Apply transaction ? [e/y/N] y
Building broadcom-bt-firmware...
==> Making package: broadcom-bt-firmware 12.0.1.1105-1 (Wed Mar 22 21:10:30 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found broadcom-bt-firmware-12.0.1.1105.deb
==> Validating source files with b2sums...
broadcom-bt-firmware-12.0.1.1105.deb ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting broadcom-bt-firmware-12.0.1.1105.deb with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "broadcom-bt-firmware"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: broadcom-bt-firmware 12.0.1.1105-1 (Wed Mar 22 21:10:32 2023)
==> Cleaning up...
Sprawdzanie zestawu kluczy... [1/1]
Sprawdzanie spójności... [1/1]
Wczytywanie plików pakietów... [1/1]
Sprawdzanie konfliktów plików... [1/1]
Error: Przeprowadzenie operacji nie powiodło się:
konfliktujące pliki:
- broadcom-bt-firmware: /usr/lib/firmware/brcm/BCM20702A1-0b05-17cb.hcd już występuje w systemie plików (należącym domanjaro-firmware)
- broadcom-bt-firmware: /usr/lib/firmware/brcm/BCM20702A1-0b05-17cf.hcd już występuje w systemie plików (należącym domanjaro-firmware)
~ systemctl status bluetooth.service INT ✘ 29s
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset>
Active: active (running) since Wed 2023-03-22 20:39:42 CET; 33min ago
Docs: man:bluetoothd(8)
Main PID: 551 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 9397)
Memory: 2.2M
CPU: 48ms
CGroup: /system.slice/bluetooth.service
└─551 /usr/lib/bluetooth/bluetoothd
mar 22 20:39:42 maciek-20238 bluetoothd[551]: Bluetooth daemon 5.66
mar 22 20:39:42 maciek-20238 systemd[1]: Started Bluetooth service.
mar 22 20:39:42 maciek-20238 bluetoothd[551]: Starting SDP server
mar 22 20:39:42 maciek-20238 bluetoothd[551]: profiles/audio/vcp.c:vcp_init() D>
mar 22 20:39:42 maciek-20238 bluetoothd[551]: src/plugin.c:plugin_init() Failed>
mar 22 20:39:42 maciek-20238 bluetoothd[551]: profiles/audio/mcp.c:mcp_init() D>
mar 22 20:39:42 maciek-20238 bluetoothd[551]: src/plugin.c:plugin_init() Failed>
mar 22 20:39:42 maciek-20238 bluetoothd[551]: profiles/audio/bap.c:bap_init() D>
mar 22 20:39:42 maciek-20238 bluetoothd[551]: src/plugin.c:plugin_init() Failed>
mar 22 20:39:43 maciek-20238 bluetoothd[551]: Bluetooth management interface 1.>
lines 1-22/22 (END)
To show the error message, use this instead
systemctl -l --no-pager status bluetooth.service
Although if its like mine, those fails don’t stop bluetooth from working.
Putting this in a translator shows
Checking a set of keys... [1/1]
Checking the consistency... [1/1]
Loading package files... [1/1]
Checking file conflicts... [1/1]
Error: Performing the operation failed:
conflicting files:
- broadcom-bt-firmware: /usr/lib/firmware/brcm/BCM20702A1-0b05-17cb.hcd already exists in the file system (belonging to domanjaro-firmware)
- broadcom-bt-firmware: /usr/lib/firmware/brcm/BCM20702A1-0b05-17cf.hcd already exists in the file system (belonging to domanjaro-firmware)
“conflicting files” usually means there is another package installed which provides the same service. Can you show output of …
pamac search --installed bluetooth
Can you provide more details on the steps you took updating graphics drivers?