Add a CLI tool to manage USB devices, fix USB suspend/resume and make killswitch persistent#1445
Merged
brianmcgillion merged 1 commit intotiiuae:mainfrom Oct 9, 2025
Merged
Conversation
ccf70e1 to
05d9cd8
Compare
05d9cd8 to
c74c598
Compare
c74c598 to
6005451
Compare
6005451 to
741e1bd
Compare
Signed-off-by: Yuri Nesterov <yuriy.nesterov@unikie.com>
741e1bd to
d0e6cf8
Compare
|
Tested on Darter Pro (
Notes
|
Collaborator
|
Confirmed that the issue with USB headset and suspend is no longer reproducible with this PR. Both suspend from power menu and automatic suspend works fine, audio and video resume nicely and issues with power off (previously 15 sec hard reset required after using USB headset) are resolved. Good stuff :-) |
vunnyso
approved these changes
Oct 9, 2025
brianmcgillion
approved these changes
Oct 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Changes
Type of Change
Related Issues / Tickets
Checklist
make-checksand it passesTesting Instructions
Applicable Targets
aarch64aarch64x86_64x86_64x86_64Installation Method
nixos-rebuild ... switchTest Steps To Verify:
Persistent Killswitch for USB Devices:
ghaf-killswitch block camand ensure the integrated camera is detached from business-vm.ghaf-killswitch unblock cam.CLI Tool for USB Management:
vhotplugcli usb listto get a list of connected devices along with their properties. The CLI tool can be run either on the host or in gui-vm.vhotplugcli usb attachto reattach devices to VMs.--vm business-vmin the attach command. Currently, external webcams can be connected to both chrome-vm and business-vm.Graceful USB Suspend/Resume: