January 4, 2020 5:19 PM, [email protected] wrote:

> On Sat, Jan 04, 2020 at 09:01:35AM -0800, [email protected] 
> wrote: 
>> Also, is there a quick diagnostic tool to check if a new installation on a
>> new laptop have all functions working? (like sound, SLAT, TPM, etc.)

qubes-hcl-report checks for the basics, like SLAT, TPM, VT-x, VT-d. Beyond 
that...

I sort of wondered about that too. However there's probably no way to fully 
automate it. E.g., most hardware can't resume itself from suspend, the user has 
to press a key. Same goes for things like external USB device detection, HDMI 
ports, ethernet ports, and so on - you have to physically connect it. And e.g. 
the code wouldn't know if audio is actually coming out of the speakers, even if 
it's writing to the sound card (see below for a real world example). Same goes 
for things like the screen brightness, framebuffer corruption, and so on. So at 
best, a diagnostic tool could only guide the user through the process, which 
would still be helpful but I don't know of any such tool, other than what 
qubes-hcl-report does.

https://www.qubes-os.org/doc/hcl/

> "sound" and "tpm" are simply a question of "is this supported by linux",
> nothing qubes-specific about it.

Well, for the most part, but there are some edge cases. For example in several 
versions of Qubes/Xen my sound card would show up, no errors, but would not 
play any sound other than some slight static. When I booted Qubes without Xen, 
sound worked fine. It turned out it was because the USB controllers are 
IOMMU-grouped with the sound card, so passing one without the other causes 
undefined behavior. I had to disable sys-usb and remove rd.qubes.hide_all_usb. 
Actually I just realized I never followed up on that thread with the actual 
solution.

https://www.mail-archive.com/[email protected]/msg31105.html

-- 
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/f83cd216f34f4204d77fcf7856148b4d%40disroot.org.

Reply via email to