Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCan't attach USB devices to any VM running 4.14.13 kernel #3455
Comments
n1m1
changed the title from
Can't attach USB devices to any VM
to
Can't attach USB devices to any VM using 4.14.13 kernel
Jan 13, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
n1m1
Jan 13, 2018
##UPDATE
The problem can be fixed in the following way.
In order to connect a USB device to a VM it is necessary to change its kernel through Qubes VM Manager or CLI.
1. Open Qubes VM Manager
2. Right click on the VM you want to attach the USB device to (i.e. work-gpg for YubiKey)
3. Choose "VM Setting"
4. Select the "Advanced" Tab -> "Kernel" 4.9.56
Then, in dom0 type:
$ qvm-usb -a work-gpg sys-usb:2-1
Everything will work as expected. On the contrary, if a VM runs 4.14 kernel, it will be impossible to attach any USB device to it.
n1m1
commented
Jan 13, 2018
•
|
##UPDATE The problem can be fixed in the following way. In order to connect a USB device to a VM it is necessary to change its kernel through Qubes VM Manager or CLI.
Then, in dom0 type: $ qvm-usb -a work-gpg sys-usb:2-1 Everything will work as expected. On the contrary, if a VM runs 4.14 kernel, it will be impossible to attach any USB device to it. |
n1m1
changed the title from
Can't attach USB devices to any VM using 4.14.13 kernel
to
Can't attach USB devices to any VM running 4.14.13 kernel
Jan 13, 2018
This was referenced Jan 13, 2018
added a commit
to marmarek/qubes-app-linux-usb-proxy
that referenced
this issue
Jan 14, 2018
andrewdavidwong
added
bug
C: kernel
labels
Jan 14, 2018
andrewdavidwong
added this to the Release 3.2 updates milestone
Jan 14, 2018
marmarek
closed this
in
marmarek/qubes-app-linux-usb-proxy@4e570e8
Jan 18, 2018
added a commit
to marmarek/qubes-linux-utils
that referenced
this issue
Jan 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-dom0-1.0.13-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-dom0-cur-test
label
Jan 18, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Jan 18, 2018
Closed
app-linux-usb-proxy v1.0.13 (r3.2) #358
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy_1.0.13+deb8u1 has been pushed to the r4.0 testing repository for the Debian jessie template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing jessie-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-jessie-cur-test
label
Jan 18, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Jan 18, 2018
Closed
app-linux-usb-proxy v1.0.13 (r4.0) #359
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy_1.0.13+deb9u1 has been pushed to the r4.0 testing repository for the Debian stretch template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-stretch-cur-test
label
Jan 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-dom0-1.0.13-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-dom0-cur-test
label
Jan 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package app-linux-usb-proxy has been pushed to the r4.0 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-centos7-cur-test
label
Jan 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-1.0.13-1.fc23 has been pushed to the r3.2 testing repository for the Fedora fc23 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-fc23-cur-test
label
Jan 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-1.0.13-1.fc24 has been pushed to the r3.2 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-fc24-cur-test
label
Jan 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-1.0.13-1.fc25 has been pushed to the r3.2 testing repository for the Fedora fc25 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-fc25-cur-test
label
Jan 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-1.0.13-1.fc26 has been pushed to the r3.2 testing repository for the Fedora fc26 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-fc26-cur-test
label
Jan 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-1.0.13-1.fc24 has been pushed to the r4.0 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-fc24-cur-test
label
Jan 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-1.0.13-1.fc25 has been pushed to the r4.0 testing repository for the Fedora fc25 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-fc25-cur-test
label
Jan 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-1.0.13-1.fc26 has been pushed to the r4.0 testing repository for the Fedora fc26 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-fc26-cur-test
label
Jan 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jan 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy_1.0.13+deb10u1 has been pushed to the r3.2 testing repository for the Debian buster template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing buster-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Jan 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-buster-cur-test
label
Jan 18, 2018
qubesos-bot
removed
the
r3.2-buster-cur-test
label
Feb 6, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 6, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-dom0-1.0.15-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
qubesos-bot
commented
Feb 6, 2018
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
qubesos-bot
added
r3.2-dom0-stable
and removed
r3.2-dom0-cur-test
labels
Feb 6, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 6, 2018
Automated announcement from builder-github
The package app-linux-usb-proxy has been pushed to the r4.0 stable repository for the Fedora centos7 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Feb 6, 2018
|
Automated announcement from builder-github The package
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 6, 2018
Automated announcement from builder-github
The component app-linux-usb-proxy (including package qubes-usb-proxy-1.0.15-1.fc26) has been pushed to the r3.2 stable repository for the Fedora template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Feb 6, 2018
|
Automated announcement from builder-github The component
|
qubesos-bot
added
r3.2-fc26-stable
r4.0-fc24-stable
r4.0-fc25-stable
and removed
r3.2-fc26-cur-test
r4.0-fc24-cur-test
r4.0-fc25-cur-test
labels
Feb 6, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 6, 2018
Automated announcement from builder-github
The component app-linux-usb-proxy (including package qubes-usb-proxy-1.0.15-1.fc26) has been pushed to the r4.0 stable repository for the Fedora template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Feb 6, 2018
|
Automated announcement from builder-github The component
|
qubesos-bot
added
r4.0-fc26-stable
and removed
r4.0-fc26-cur-test
labels
Feb 6, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 6, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-dom0-1.0.15-1.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
qubesos-bot
commented
Feb 6, 2018
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
qubesos-bot
added
r4.0-dom0-stable
r4.0-jessie-stable
and removed
r4.0-dom0-cur-test
r4.0-jessie-cur-test
labels
Feb 6, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 12, 2018
Automated announcement from builder-github
The package qubes-usb-proxy_1.0.15+deb9u1 has been pushed to the r4.0 stable repository for the Debian template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Feb 12, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-stretch-stable
and removed
r4.0-stretch-cur-test
labels
Feb 12, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 27, 2018
Automated announcement from builder-github
The package qubes-usb-proxy_1.0.16+deb10u1 has been pushed to the r3.2 stable repository for the Debian template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Feb 27, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r3.2-buster-stable
r3.2-jessie-stable
and removed
r3.2-jessie-cur-test
labels
Feb 27, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Feb 27, 2018
Automated announcement from builder-github
The package qubes-usb-proxy_1.0.16+deb9u1 has been pushed to the r3.2 stable repository for the Debian template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Feb 27, 2018
|
Automated announcement from builder-github The package
|
n1m1 commentedJan 13, 2018
•
edited
Edited 2 times
-
n1m1
edited Jan 13, 2018 (most recent)
-
n1m1
edited Jan 13, 2018
Qubes OS version:
R3.2
Kernel 4.14.13
sys-usb
Steps to reproduce the behavior:
#Yubikey
#Webcam
Expected behavior:
Until few days ago when I typed in dom0:
$ qvm-usb -a work-gpg sys-usb:2-1 #Yubikey
$ qvm-usb -a voip sys-usb:2-8 #Webcam
Everything was working just as expected. Yubikey was attached to the GPG keys VM and Webcam was attached to my voip VM. I've been using both of them for more than one year without any problem.
Actual behavior:
Now, if I type in dom0:
$ qvm-usb -a work-gpg sys-usb:2-1 #Yubikey
$ qvm-usb -a voip sys-usb:2-8 #Webcam
I get this output:
"ERROR: Device attach failed: /usr/lib/qubes/usb-import: 33: /usr/lib/qubes/usb-import: cannot open /sys/devices/platform/vhci_hcd/status: No such fileNo unused port found!/usr/lib/qubes/usb-import: 51: /usr/lib/qubes/usb-import: cannot create /sys/devices/platform/vhci_hcd/attach: Directory nonexistent"
General notes:
Both the devices are listed among the available device when using qvm-usb in dom0:
$ qvm-usb
sys-usb:2-8 13d3:5248 Azurewave_Integrated_Camera_NULL
sys-usb:2-1 1050:0407 Yubico_Yubikey_4_OTP+U2F+CCID
The package qubes-usb-proxy is installed in dom0, sys-usb, work-gpg and voip.
The package qubes-input-proxy-sender is installed in sys-usb.
The package qubes-input-proxy is installed in dom0.
--