Hello,
I’m using
- NixOS 24.11 Vicuna (I also use the nixos-hardware module for FW 13 AMD)
- Framework 13 AMD 7040 Series (7840U)
Context
I keep my laptop connected to a Dell USB-C dock, which is connected to a keyboard and an external monitor and I would go to sleep leaving it like this. I haven’t set the computer to suspend nor hibernate.
This is the first week that I got my framework.
I have found this post on “Cannot enable. maybe the USB cable is bad?” error. However, I don’t think the fix mentioned in the thread is not applicable to my machine.
I also have found this post on wireless mouse freezing. However, it seems related to a receiver issue while I use bluetooth.
Description
It has been two times (which is everyday up to today) that I woke up to my bluetooth mouse (Logi MX Master 2s) hanging weirdly yet still being shown by blueman-manager
as connected.
It seems like I can restart bluetooth.service
with systemd and it would work … until I type long enough on my USB keyboard on the dock long enough.
If it’s an USB-C interference issue, than it would always be a problem – not only after I woke up but all the time when it’s docked.
The only workaround I’ve found is to reboot, which is not ideal.
Thanks for reading my issue
Here’s a snippet of dmesg
during my attempt to connect the mouse, and it failing.
[ +2.601369] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +2.680607] xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
[Jan10 07:49] xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
[ +19.133905] xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
[Jan10 07:50] xhci_hcd 0000:c1:00.3: Refused to change power state from D0 to D3hot
[Jan10 07:51] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[Jan10 07:52] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +24.539138] Bluetooth: hci0: ACL packet for unknown connection handle 512
[ +0.000011] Bluetooth: hci0: ACL packet for unknown connection handle 512
[ +0.000004] Bluetooth: hci0: ACL packet for unknown connection handle 512
[ +0.000003] Bluetooth: hci0: ACL packet for unknown connection handle 512
[ +0.000003] Bluetooth: hci0: ACL packet for unknown connection handle 3837
[ +0.434644] input: MX Master 2S Keyboard as /devices/virtual/misc/uhid/0005:046D:B019.0010/input/input26
[ +0.000288] input: MX Master 2S Mouse as /devices/virtual/misc/uhid/0005:046D:B019.0010/input/input27
[ +0.000432] hid-generic 0005:046D:B019.0010: input,hidraw6: BLUETOOTH HID v0.03 Keyboard [MX Master 2S] on 2c:9c:58:29:12:08
[Jan10 07:53] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20241106163512
[ +0.125767] Bluetooth: hci0: Device setup in 124587 usecs
[ +0.000022] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[ +0.501854] input: MX Master 2S Keyboard as /devices/virtual/misc/uhid/0005:046D:B019.0011/input/input29
[ +0.000295] input: MX Master 2S Mouse as /devices/virtual/misc/uhid/0005:046D:B019.0011/input/input30
[ +0.000545] hid-generic 0005:046D:B019.0011: input,hidraw6: BLUETOOTH HID v0.03 Keyboard [MX Master 2S] on 2c:9c:58:29:12:08
[ +0.569463] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ +16.459334] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20241106163512
[ +0.134214] Bluetooth: hci0: Device setup in 133104 usecs
[ +0.000011] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[ +0.510375] input: MX Master 2S Keyboard as /devices/virtual/misc/uhid/0005:046D:B019.0012/input/input32
[ +0.000098] input: MX Master 2S Mouse as /devices/virtual/misc/uhid/0005:046D:B019.0012/input/input33
[ +0.000113] hid-generic 0005:046D:B019.0012: input,hidraw6: BLUETOOTH HID v0.03 Keyboard [MX Master 2S] on 2c:9c:58:29:12:08
[Jan10 07:54] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[Jan10 07:55] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ +6.968306] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20241106163512
[ +0.140779] Bluetooth: hci0: Device setup in 139619 usecs
[ +0.000010] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[ +2.103324] input: MX Master 2S Keyboard as /devices/virtual/misc/uhid/0005:046D:B019.0013/input/input35
[ +0.000211] input: MX Master 2S Mouse as /devices/virtual/misc/uhid/0005:046D:B019.0013/input/input36
[ +0.000143] hid-generic 0005:046D:B019.0013: input,hidraw6: BLUETOOTH HID v0.03 Keyboard [MX Master 2S] on 2c:9c:58:29:12:08
[Jan10 07:58] usb 1-4: reset full-speed USB device number 3 using xhci_hcd
[ +3.864898] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ +22.716874] Bluetooth: hci0: ACL packet for unknown connection handle 512
[Jan10 07:59] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ +15.323792] input: MX Master 2S Keyboard as /devices/virtual/misc/uhid/0005:046D:B019.0014/input/input38
[ +0.000217] input: MX Master 2S Mouse as /devices/virtual/misc/uhid/0005:046D:B019.0014/input/input39
[ +0.000204] hid-generic 0005:046D:B019.0014: input,hidraw6: BLUETOOTH HID v0.03 Keyboard [MX Master 2S] on 2c:9c:58:29:12:08