Upgrade to Kernel 5.8.0-2 breaks bluetooth magic keyboard

I use an Apple magic keyboard over bluetooth, which has been working fine up until today when I upgraded my Kernel to 5.8.0-2.

I am able to boot back into the 5.7.14-1 kernel and connect again, so it must be something related to kernel updates.

I started the bluetooth daemon in debug mode and captured the output for both kernels (see below). I see some connection errors, but nothing that is really helpful. Are there any other troubleshoothing steps I could take that might provide helpful information?

Should I open a bug somewhere?

#5.8.0-2-MANJARO
bluetoothd[2927]: src/device.c:connect_profiles() /org/bluez/hci0/dev_70_F0_87_31_22_9E (all), client :1.59
bluetoothd[2927]: profiles/input/device.c:input_device_connect() 
bluetoothd[2927]: Can't get HIDP connection info
bluetoothd[2927]: src/service.c:change_state() 0x5644816412e0: device 70:F0:87:31:22:9E profile input-hid state changed: disconnected -> connecting (0)
bluetoothd[2927]: src/adapter.c:connected_callback() hci0 device 70:F0:87:31:22:9E connected eir_len 16
bluetoothd[2927]: src/adapter.c:new_link_key_callback() hci0 new key for 70:F0:87:31:22:9E type 4 pin_len 0 store_hint 0
bluetoothd[2927]: src/device.c:device_bonding_complete() bonding (nil) status 0x00
bluetoothd[2927]: src/adapter.c:resume_discovery() 
bluetoothd[2927]: connect error: Connection refused (111)
bluetoothd[2927]: src/service.c:change_state() 0x5644816412e0: device 70:F0:87:31:22:9E profile input-hid state changed: connecting -> disconnected (-5)
bluetoothd[2927]: src/device.c:device_profile_connected() input-hid Input/output error (5)
bluetoothd[2927]: src/device.c:device_profile_connected() returning response to :1.59
bluetoothd[2927]: src/adapter.c:dev_disconnected() Device 70:F0:87:31:22:9E disconnected, reason 2
bluetoothd[2927]: src/adapter.c:adapter_remove_connection() 
bluetoothd[2927]: plugins/policy.c:disconnect_cb() reason 2
bluetoothd[2927]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 70:F0:87:31:22:9E type 0 status 0xe
bluetoothd[2927]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e
bluetoothd[2927]: src/device.c:device_bonding_failed() status 14
bluetoothd[2927]: src/adapter.c:resume_discovery()



#5.7.14-1-MANJARO
bluetoothd[1691]: src/device.c:connect_profiles() /org/bluez/hci0/dev_70_F0_87_31_22_9E (all), client :1.61
bluetoothd[1691]: profiles/input/device.c:input_device_connect() 
bluetoothd[1691]: Can't get HIDP connection info
bluetoothd[1691]: src/service.c:change_state() 0x55a017def390: device 70:F0:87:31:22:9E profile input-hid state changed: disconnected -> connecting (0)
bluetoothd[1691]: src/adapter.c:connected_callback() hci0 device 70:F0:87:31:22:9E connected eir_len 16
bluetoothd[1691]: src/adapter.c:new_link_key_callback() hci0 new key for 70:F0:87:31:22:9E type 4 pin_len 0 store_hint 0
bluetoothd[1691]: src/device.c:device_bonding_complete() bonding (nil) status 0x00
bluetoothd[1691]: src/adapter.c:resume_discovery() 
bluetoothd[1691]: src/service.c:change_state() 0x55a017def390: device 70:F0:87:31:22:9E profile input-hid state changed: connecting -> connected (0)
bluetoothd[1691]: src/device.c:device_profile_connected() input-hid Success (0)
bluetoothd[1691]: src/device.c:device_profile_connected() returning response to :1.61
bluetoothd[1691]: plugins/policy.c:service_cb() Added input-hid reconnect 0
bluetoothd[1691]: profiles/input/device.c:encrypt_notify() 
bluetoothd[1691]: src/device.c:search_cb() 70:F0:87:31:22:9E: No service update
bluetoothd[1691]: src/device.c:device_svc_resolved() /org/bluez/hci0/dev_70_F0_87_31_22_9E err 0

5.8.0 is a very new kernel. I generally don’t recommend updating to a new kernel series before the x.x.3 maintenance release, though waiting for 5.8.5 would be even better. 5.8.2-rc1 just hit beta and could be here at Manjaro in a few days (depending on your branch.) It is a large update and might fix your issue.

Generally, there is no reason to use a newer kernel series unless your system has some very new hardware that wasn’t supported in older kernels. Otherwise older LTS kernels often work better with older hardware while having long term support.

All that being said, it is also possible that there is a bluetooth regression that needs to be reported to bluez.

i am new to this community
i am facing issues with obs studio
–> NVENC error on starting recording
–> this was due to kernel 5.8
–>how do i fix it or fall back to LTS
it would be very helpul to me if you could suggest any fixes

That seems unrelated to my issue (probably another regression?).

But in order to downgrade the kernel, go to Manjaro Settings Manager -> Kernel

And you should see 5.7, install that, when restart your computer, and attempt to boot with the 5.7 kernel installed. Then after that works properly, you can uninstall the 5.8 kernel if you want from the same menu.

The reason is, that every module which is compiled by dkms on installation of Kernel 5.8.0-x fails.

This is affecting bluetooth, WLAN, LAN etc. which drivers are not already included in the kernel but build as module.

The only solution for now is to start manjaro via bootmanager with an older (pre 5.8 kernel) and remove the 5.8.0-x kernel from the system until a solution is found.

Kind regards,

Jörn-Ingo Weigert

Thanks for the info @jiweigert … Is there a bug for this where I can follow along the progress?

I don’t know, but in the old forum, there where a ton of threads (inkl. mine) about non-working hardware,
caused by the system-update and/ or the new 5.8.0-x kernel.

I checked the details of the Manjaro Kernel-Installer, so I could see it, that every build of the modules failed… and copied that into my thread … unfortunatly that was Sunday and shortly after they disablwd the old forum because of problems.

It seems, the bugs.manjaro.org ins’t available either.

Sorry that I cant help you more.

Jörn-Ingo Weigert