[RESPONDED][FW 13 AMD 7840U][Linux] Keyboard, Magic Trackpad and Headset HSP/HFP causes Bluetooth lags

Hi everyone,
I’ve received my FW13 AMD on December ‘23, and I’m happy with it.
I’ve only have one “very strange” issue.

My system:
FW 13 AMD 7840U - 32 GB mem, 500 GB SSD SN770
Ubuntu 22.04 LTS - kernel 6.5.0-1011-oem #12-Ubuntu SMP PREEMPT_DYNAMIC

Audio:

  • Server Name : PulseAudio (on PipeWire 0.3.48)
  • server version : 15.0.0

Bluetooth devices connected:

  • Logitech MX Keys Mini
  • Apple Magic Trackpad 2 (A1535)
  • Bose Headphones NC700

Now, here’s the weird problem:
I’m experiencing, heavy lags on the following devices:

  • MX Keys Mini (typing single keystrokes gives: “ssssss llll ooooooo wwwww ” )
    and
  • Magic Trackpad (heavy cursor stuttering and slow delayed responses)

ONLY WHEN my Bose NC 700 is on “Headset Head Unit (HSP/HFP, codec mSBC)” configuration (which means using Headphone and its embedded microphone on a Google Meet for instance).

As soon as I revert my Headphone to “High Fidelity Playback (AD2P Sink, codec SBC)”, Keyboard and trackpad revert to working fine, with no lags.

The thing is: I have a Dell XPS 13 9305 (for work), with the same OS configuration, and I have absolutely no issue with the same devices connected and configured.

So, if anyone has any clue? :pray:

Below, here’s what I have found inspecting logs:

dmesg:
[ 8723.837294] input: Bose NC 700 HP (AVRCP) as /devices/virtual/input/input22
[ 8731.073393] input: Bose NC 700 HP (AVRCP) as /devices/virtual/input/input23
[ 8732.102669] input: MX Keys Mini Keyboard as /devices/virtual/misc/uhid/0005:046D:B369.0009/input/input24
[ 8732.102968] hid-generic 0005:046D:B369.0009: input,hidraw3: BLUETOOTH HID v0.07 Keyboard [MX Keys Mini] on a8:3b:76:72:e3:10
[ 8743.068798] input: Bose NC 700 HP (AVRCP) as /devices/virtual/input/input26
[ 8776.549599] magicmouse 0005:004C:0265.000A: unknown main item tag 0x0
[ 8776.549947] input: Apple Inc. Magic Trackpad 2 as /devices/pci0000:00/0000:00:08.1/0000:c1:00.3/usb1/1-5/1-5:1.0/bluetooth/hci0/hci0:50/0005:004C:0265.000A/input/input27
[ 8776.550419] magicmouse 0005:004C:0265.000A: input,hidraw4: BLUETOOTH HID v1.92 Mouse [Magic Trackpad] on a8:3b:76:72:e3:10
[ 8788.504873] Bluetooth: hci0: ACL packet for unknown connection handle 3837

journalctl -b:
janv. 21 16:35:35 FW13 kernel: Bluetooth: hci0: ACL packet for unknown connection handle 3837
janv. 21 16:36:30 FW13 ubuntu-report[2077]: level=error msg=“data were not delivered successfully to metrics server, retrying in 1800s”
janv. 21 16:37:11 FW13 kernel: Bluetooth: hci0: ACL packet for unknown connection handle 3837
janv. 21 16:37:20 FW13 slack.desktop[5099]: [01/21/24, 16:37:20:202] info: [CHECK-FOR-OLD-CHANNEL] (T108ZKPMF) Within limit [external DMs]: 0
janv. 21 16:37:20 FW13 slack.desktop[5099]: [01/21/24, 16:37:20:203] info: [CHECK-FOR-OLD-CHANNEL] (T108ZKPMF) Within limit [internal DMs]: 11
janv. 21 16:37:20 FW13 slack.desktop[5099]: [01/21/24, 16:37:20:203] info: [CHECK-FOR-OLD-CHANNEL] (T108ZKPMF) Within limit [app DMs]: 5
janv. 21 16:37:20 FW13 slack.desktop[5099]: [01/21/24, 16:37:20:203] info: [CHECK-FOR-OLD-CHANNEL] (T108ZKPMF) Within limit [record channels]: 0
janv. 21 16:37:30 FW13 wireplumber[2078]: unknown AT+IPHONEACCEV key:2 value:0
janv. 21 16:38:42 FW13 kernel: Bluetooth: hci0: ACL packet for unknown connection handle 3837
janv. 21 16:39:01 FW13 CRON[65426]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
janv. 21 16:39:01 FW13 CRON[65427]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
janv. 21 16:39:01 FW13 CRON[65426]: pam_unix(cron:session): session closed for user root
janv. 21 16:39:01 FW13 systemd[1]: Starting Clean php session files…
janv. 21 16:39:01 FW13 systemd[1]: phpsessionclean.service: Deactivated successfully.
janv. 21 16:39:01 FW13 systemd[1]: Finished Clean php session files.
janv. 21 16:39:25 FW13 wireplumber[2078]: unknown AT+IPHONEACCEV key:2 value:0
janv. 21 16:40:16 FW13 kernel: Bluetooth: hci0: ACL packet for unknown connection handle 3837
janv. 21 16:40:34 FW13 slack.desktop[5099]: [01/21/24, 16:40:34:227] info: [DND_V2] (T108ZKPMF) Checking for changes in DND status for the following members: U01MWEJ87LH,U03UK2FBCAX,U02NS19QK1T,U02>
janv. 21 16:40:34 FW13 slack.desktop[5099]: [01/21/24, 16:40:34:228] info: [DND_V2] (T108ZKPMF) Will check for changes in DND status again in 5 minutes
janv. 21 16:41:14 FW13 upowerd[1748]: energy 63,251280 bigger than full 63,173880
janv. 21 16:41:20 FW13 wireplumber[2078]: unknown AT+IPHONEACCEV key:2 value:0
janv. 21 16:41:49 FW13 kernel: Bluetooth: hci0: ACL packet for unknown connection handle 3837

I’d guess that a driver difference between the Framework and the Dell is what’s behind the issue. Is there a noticeable quality difference in the setting that does not work and the one that does on the Framework? Presumably the driver eventually will improve, but that could be a while.

Hi, thanks for the answer.
On the FW13, with the “settings that work”, the issue is that I cannot use the headphone’s microphone, which is way better at handling / filtering external noises thant the integrated laptop mic.

Got it. That’s unfortunate. Are you able to boot a live usb of another distro (I know that Ubuntu is supported, just wondering), or in particular, windows? If it works properly in a different OS then that would point to a driver issue. Have you been able to find anything on Bose forums or reddit about the issue? I wish that I had better ideas for you. Best of luck getting the headset working properly.

I’ve juste tested on a totally new install of Windows 11 on the Framework13 AMD (with the Framework offcial drivers bundle installed):
Everything is working fine, with a Google meet session activated and using Bose headphones NC 700 microphone.
So, no hardware issue on the Framework 13 AMD.
It effectively pointing towards a AMD 7040 linux kernel drivers

Can someone tells me how to declare properly this issue to AMD?

1 Like

Hi @FARVACQUE_Arnaud, welcome to the community :slight_smile:

Btw, have you also tried with fedora live just to make sure behavior is consistent? and you’re seeing same error on dmesg?

Hi, thanks for your help.
Just tried Fedora 39 live, and it exhibits the same issue as in Ubuntu 22.04 LTS

dmesg shows:
Bluetooth: hci0: ACL packet for unknown connection handle 3837

(sorry for the multiple posts, I get many 403 errors trying to put logs content)

I’m seeing the same issue on linux 6.9.7. As soon as I enable my airpods pro mic the bluetooth connection struggles.