Ryan Tate <[email protected]> writes: > On my ThinkPad X1 Carbon gen5, I can use my thunderbolt 3 ports fine for > display and for power. However, Qubes does not seem to recognize a usb-c > flash stick or a usb-c yubikey plugged into these ports
I think I got this figured out. ThinkPads apparently do not show the USB-C controller on these Thunderbolt ports to the OS unless and until something is physically plugged in. I was clued into this by this thread; don't be fooled by the subject line it is about more than hubs - see bit where the user also was not able to connect the drive directly - https://groups.google.com/forum/#!searchin/qubes-users/usb-c$20thunderbolt%7Csort:date/qubes-users/VIqnIcubq9Y/-gmRME7qBgAJ Per the thread above, Qubes does not (seem to) handle controllers that pop up after boot. When I booted with a usb-c flash drive already in the Thunderbolt port, I was able to finally see the USB-C controller via lspci in dom0. I was able to shut down sys-usb and attach the controller to sys-usb (Devices tab in Qubes Settings for sys-usb) and USB-C items then became visible when I started sys-usb again. But, on a reboot, if no USB was plugged in to the port, sys-usb would fail to start up at all because the controller (aka the "device" I had attached) was no longer there. (Also, even when a usb-c item was plugged in at boot and mounted, disconnecting the item and connecting something else (like a displayport cable for external monitor, which worked) left me unable to re-connect the usb-c item, but this may be because I did not set "no-strict-reset" -- I never bothered to fiddle with that when I realized the prior mentioned boot issue). This is all kind of a bummer because it means that effectively I can't use usb-c to attach anything like a storage device, yubikey, etc on this machine with Qubes. On the other hand I realize the Thunderbolt system generally and perhaps specifically the way Lenovo/ThinkPad machines handle exposing USB buses on Thunderbolt raise some unique challenges. (The one thing that I do wonder is if is neccesary for sys-usb to bail out on boot when an assigned device is not present, maybe there could be a system for transient but assigned devices to be allowed to come online post boot? No idea how feasible this is.) -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/87muaxprg6.fsf%40disp2634.
