Bluetooth on Manjaro/Deepin

#1

Thanks to the work of @oberon, @ant and others, most of the minor kinks plaguing my Manjaro/Deepin install have been ironed out. Even the stuttering on minimise/maximise with Kwin seems to be gone.

There is, however, one persistent issue, and I'm not sure what's causing it, or how to fix it. After several hours of using the computer, my Bluetooth mouse fails to connect (says it's connecting, then says it's not connected) and I need to manually forget it in the settings and it works after restart.

I have my screensaver set to ask password, and this issue (affecting not just the mouse, but also my Google GID6B headset) seems to happen either when waking from screensaver, or waking from sleep. That would point to a LightDM issue? But I think it's happened at other times as well.

2 Likes
#2

When it happens, post the output of:

journalctl -p 3 -xb

1 Like
#3

Please post:

inxi -Fxxxz

lsusb | sort

I may know a few workarounds that may make this issue more liveable. One way would be to write a service to deal with the suspend problem. The other would be a script to refresh the mouse, triggered by a bash alias or keyboard shortcut.

Obviously neither of those methods fix the issue. It would be best to find the root of the issue. Perhaps disabling tlp temporarily might be a good test to see if its powersaving settings are causing this.

sudo systemctl disable tlp

Reboot, then see if there is any difference with the behavior. If not simply replace "disable" with "enable" in the command, and run that command again to set tlp back in service.

Testing alternate kernels might also be a good idea. Try at least two or three alternate kernels. Install kernels through Manjaro Settings Manager, and always have at least two kernels installed at all times for safety.

1 Like
#4
System:    Host: athena Kernel: 5.0.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.3.0 Desktop: Deepin 15.10.1 tk: Qt 5.12.3 
           info: dde-dock wm: kwin_x11 dm: LightDM 1.28.0 Distro: Manjaro Linux 
Machine:   Type: Laptop System: Apple product: MacBookPro6,1 v: 1.0 serial: <filter> Chassis: type: 10 v: Mac-F22589C8 
           serial: <filter> 
           Mobo: Apple model: Mac-F22589C8 serial: <filter> UEFI: Apple v: MBP61.88Z.0057.B1C.1706170449 date: 06/17/17 
Battery:   ID-1: BAT0 charge: 76.0 Wh condition: 79.1/94.9 Wh (83%) volts: 8.2/7.3 model: DP bq20z951 type: Li-ion serial: N/A 
           status: Full cycles: 232 
CPU:       Topology: Dual Core model: Intel Core i7 M 620 bits: 64 type: MT MCP arch: Nehalem rev: 5 L2 cache: 4096 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 21291 
           Speed: 1197 MHz min/max: 1197/2661 MHz boost: enabled Core speeds (MHz): 1: 1197 2: 1197 3: 1197 4: 1197 
Graphics:  Device-1: Intel Core Processor Integrated Graphics driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0046 
           Device-2: NVIDIA GT216M [GeForce GT 330M] vendor: Apple driver: nouveau v: kernel bus ID: 01:00.0 
           chip ID: 10de:0a29 
           Display: x11 server: X.Org 1.20.4 driver: intel,nouveau unloaded: modesetting alternate: fbdev,nv,vesa 
           compositor: kwin_x11 resolution: 1920x1200~60Hz, 1920x1200~60Hz 
           OpenGL: renderer: NVA5 v: 3.3 Mesa 19.0.3 direct render: Yes 
Audio:     Device-1: Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           chip ID: 8086:3b56 
           Device-2: NVIDIA GT216 HDMI Audio driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0be2 
           Sound Server: ALSA v: k5.0.15-1-MANJARO 
Network:   Device-1: Broadcom and subsidiaries NetXtreme BCM5764M Gigabit Ethernet PCIe driver: tg3 v: 3.137 port: 3000 
           bus ID: 02:00.0 chip ID: 14e4:1684 
           IF: enp2s0 state: down mac: <filter> 
           Device-2: Broadcom and subsidiaries BCM43224 802.11a/b/g/n vendor: Apple AirPort Extreme driver: wl v: kernel 
           port: 3000 bus ID: 03:00.0 chip ID: 14e4:4353 
           IF: wlp3s0 state: up mac: <filter> 
Drives:    Local Storage: total: 465.92 GiB used: 82.47 GiB (17.7%) 
           ID-1: /dev/sda vendor: Apple model: SSD TS512B size: 465.92 GiB speed: 3.0 Gb/s serial: <filter> rev: 0206 
           scheme: GPT 
Partition: ID-1: / size: 181.81 GiB used: 81.90 GiB (45.0%) fs: ext4 dev: /dev/sda4 
Sensors:   System Temperatures: cpu: 76.0 C mobo: N/A gpu: nouveau temp: 75 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 180 Uptime: 11m Memory: 7.72 GiB used: 1.66 GiB (21.5%) Init: systemd v: 242 Compilers: gcc: 8.3.0 
           Shell: bash v: 5.0.7 running in: deepin-terminal inxi: 3.0.34 

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 003: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 004: ID 05ac:0236 Apple, Inc. Internal Keyboard/Trackpad (ANSI)
Bus 001 Device 007: ID 05ac:8218 Apple, Inc. Bluetooth Host Controller
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 002 Device 003: ID 05ac:8507 Apple, Inc. Built-in iSight
Bus 002 Device 004: ID 05ac:8242 Apple, Inc. Built-in IR Receiver
-- Logs begin at Mon 2019-04-15 08:34:24 EDT, end at Tue 2019-05-14 10:07:13 EDT. --
May 14 09:54:12 athena kernel: uhci_hcd 0000:00:1a.0: Found HC with no IRQ. Check BIOS/PCI 0000:00:1a.0 setup!
May 14 09:54:12 athena kernel: uhci_hcd 0000:00:1a.0: init 0000:00:1a.0 fail, -19
May 14 09:54:12 athena kernel: uhci_hcd 0000:00:1d.0: Found HC with no IRQ. Check BIOS/PCI 0000:00:1d.0 setup!
May 14 09:54:12 athena kernel: uhci_hcd 0000:00:1d.0: init 0000:00:1d.0 fail, -19
May 14 09:54:12 athena kernel: mce: CPU1: Core temperature above threshold, cpu clock throttled (total events = 1)
May 14 09:54:12 athena kernel: mce: CPU0: Core temperature above threshold, cpu clock throttled (total events = 1)
May 14 09:54:40 athena NetworkManager[461]: <error> [1557842080.3007] sup-iface[0x5599869a4830,wlp3s0]: error adding interface: Timeout was reached
May 14 09:54:48 athena lightdm[919]: gkr-pam: unable to locate daemon control file
#5

Uhhh... :man_facepalming: an Apple, of course. They have nothing but problems in Linux.

Did you install the broadcom bluetooth firmware yourself? If so, which firmware version did you install?

Have you tested a Gnome, Xfce, or KDE live ISO to see if the same problem occurs.