Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip IGD when unbinding device drivers on suspend #245

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

cytadela8
Copy link
Contributor

Needed and potentially sufficient for sys-gui-gpu suspend.

Part of: QubesOS/qubes-issues#2618

if [ "$subsystem_vendor" = "0x1af4" ] || [ "$subsystem_vendor" = "0x5853" ]; then
continue
fi
# skip Intel Graphics Device
if [ "$subsystem_vendor" = "0x1028" ] && [ "$class" = "0x030000" ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks suspicious - vendor 0x1028 is Dell - looks like the laptop manufacturer, not graphics card itself. This should check "vendor", not "subsystem_vendor".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@marmarek marmarek merged commit 27d4ece into QubesOS:master Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants