I am running Guix on the Framework 16. Some of the configuration posted above was helpful, so thanks for that. It has been very exciting to discover this thing, as I love Scheme, lisps are what are fun about computers.
Nonetheless, what I have not managed to get working successfully is my Caldigit TS3 Plus dock. Actually, it works OK, except that if the laptop is made to suspend when logging in, USB controllers disappear when the thing resumes, with the exception of anything already plugged in like a keyboard (luckily, albeit if it is unplugged it cannot be used if plugged back in).
Typical error log as follows:
[112182.949837] xhci_hcd 0000:06:00.0: xHCI host controller not responding, assume dead
[112182.949861] xhci_hcd 0000:06:00.0: HC died; cleaning up
[112182.949905] xhci_hcd 0000:07:00.0: xHCI host controller not responding, assume dead
[112182.949916] xhci_hcd 0000:07:00.0: HC died; cleaning up
[112182.949919] xhci_hcd 0000:06:00.0: Timeout while waiting for configure endpoint command
[112182.949969] xhci_hcd 0000:07:00.0: Timeout while waiting for configure endpoint command
[112183.205994] xhci_hcd 0000:c2:00.3: Timeout while waiting for setup device command
[112188.328383] input: Expert Wireless TB Mouse as /devices/virtual/misc/uhid/0005:047D:8019.002E/input/input81
[112188.328669] input: Expert Wireless TB Consumer Control as /devices/virtual/misc/uhid/0005:047D:8019.002E/input/input82
[112188.328978] hid-generic 0005:047D:8019.002E: input,hidraw9: BLUETOOTH HID v0.01 Mouse [Expert Wireless TB] on f4:26:79:6b:8a:0e
[112188.581817] xhci_hcd 0000:c2:00.3: Timeout while waiting for setup device command
[112188.789970] usb 2-2: device not accepting address 35, error -62
[112194.214055] xhci_hcd 0000:c2:00.3: Timeout while waiting for setup device command
[112199.589708] xhci_hcd 0000:c2:00.3: Timeout while waiting for setup device command
[112199.801533] usb 2-2: device not accepting address 36, error -62
[112199.809637] usb usb2-port2: attempt power cycle
[112205.477847] xhci_hcd 0000:c2:00.3: Timeout while waiting for setup device command
[112210.857534] xhci_hcd 0000:c2:00.3: Timeout while waiting for setup device command
[112211.069591] usb 2-2: device not accepting address 37, error -62
[112216.485611] xhci_hcd 0000:c2:00.3: Timeout while waiting for setup device command
[112221.861762] xhci_hcd 0000:c2:00.3: Timeout while waiting for setup device command
[112222.069483] usb 2-2: device not accepting address 38, error -62
[112222.078047] usb usb2-port2: unable to enumerate USB device
Summary of behaviour:
- With primary power from the dock, the above message is typically seen. There looks like there are a few USB controllers dying. For my USB keyboard, it works fine if it is kept plugged in, but it never reappears if it is plugged into any other USB port again.
- With primary power from a 100W or 140W power adaptor (I have an EPR adaptor), fewer controllers seem to die, perhaps only one. The USB keyboard can be plugged into other ports and become functional again, but plugging it back into the one it was originally in is never successful.
- Notably, display and ethernet are both active regardless of the above.
I guess it’s fairly difficult to say whether it’s a power supply issue, given how tightly integrated Thunderbolt is with USB power delivery, display and a number of data lanes (latter two I guess are most relevant here). The behaviour is different when a separate supply is used, but I have no idea how meaningful that actually is. I also doubt that the laptop is using more than 87W when it’s resuming from sleep, it seems like it could be some sort of race condition.
I think this is the most appropriate place to put this (FW16 running Guix), albeit it strikes me as unlikely that this is an issue originating from the Guix system. (They also can’t support it as I’m using proprietary firmware to get graphics output.) It isn’t clear to me if my issue is similar to the ones reported elsewhere on the forum with this dock.