-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
USB camera (in HP laptop) is not detected by Devices Widget or qvm-usb in dom0 #4346
Comments
Duplicate of #4035 |
This appears to be a duplicate of an existing issue. If you believe this is not really a duplicate, please leave a comment briefly explaining why. We'll be happy to take another look and, if appropriate, reopen this issue. Thank you. |
I reviewed that issue prior to opening this one. I did not think this was a duplicate because there is a clear difference - in #4035 the camera can be attached to a VM (the problem there is it doesn't work and later disappears). In this issue, the camera never appears in dom0 lsusb or the Device Widget. I don't know enough about the inner workings of Qubes to say whether this is a duplicate or not, but I wanted to point out that there is a clear difference in the reported issue. |
Clarification: the camera never appears in qvm-usb either, and since it never appears in any of the tools that can be used to assign it to a VM is cannot be assigned to a VM. |
Might be a localized hardware issue, but I'll reopen for now. |
I hope to contribute with additional details to this issue.
Here's my dmesg log of dom0, which shows that something happens when plugging the USB camera in and out: Plugging in: While plugged in lsusb detects the USB camera (qvm-usb does not show the device): |
To use qvm-usb, you need to create USB qube: https://www.qubes-os.org/doc/usb-qubes/ |
Yes, obviously (I should have skipped the qvm-usb part in my comment...) |
This issue is being closed because:
If anyone believes that this issue should be reopened and reassigned to an active milestone, please leave a brief comment. |
Affects 4.2 |
this is by design / as intended. (and afair, with the 16ach6h, that is a problem... but a very separate problem from this old issue.) |
I did create a sys-usb and passed the appropriate usb controller where the internal webcam is hardwired and tried everything I could I found on google. I allowed the device on dom0 to check whether it's a driver related issue, the webcam works fine in dom0, used cheese. But the internal webcam won't show in device widget but other devices on the same controller do show and have no problem with passthrough to other VM's. That's why I replied on the thread.
Can you tell about the problem with 16ach6h a bit maybe it will help me to troubleshoot a bit. |
if the usb device still shows up in dom0, the usb controller it is attached to is still in dom0, not in sys-usb.
... i am pretty sure we had an unsolved 16ach6h support case in qubes chat last week where the machine did a hard reboot every time sys-usb started. |
The device to which the USB controller belongs to is attached to sys-usb, the other HID devices and block devices on the controller are working fine except the webcam and I can rule out the driver problem as it is working fine in dom0. Problem being it's not showing up in the device widget.
Yes, I had encountered that problem when installing qubes v4.0rc3, v4.0rc4 and v4 stable and the first boot crashed at creation and starting up of sys-usb which could be mitigated by adding the kernel option to skip_autostart in grub boot menu or not creating the sys-usb at firstboot. Side Note:Just a suggestion that there should be an option for selecting the usb controllers to attach when creating the sys-usb at first boot. So there are two pci usb controllers in 16ach6h the system crashes when attaching one of them to sys-usb and there's no logs as the system crashes so no way to debug that easily, my guess would be that the faulty usb controller is attached to some critical cpu related component hence the system crash. Or maybe some misconfiguration in the device configuration in mainline linux. Did you check the HCL report it's in plain text and the thread is where detailed. And all the system info is available in the cpio archive, do check that out. And yeah the webcam controller is the one attached to sys-usb but not showing up in the device widget. I'm on the qubes IRC channel if you need to get some additional info or run some test on the device. |
Qubes OS version:
R4.0 (with current dom0 updates)
Affected component(s):
Unknown
Steps to reproduce the behavior:
Install and boot R4.0 on an HP laptop with USB-connected camera (USB 04f2:b51d)
Verify that device is listed in
lsusb -v
in dom0.Verify that device is listed in
qvm-usb
in dom0 and in Devices Widget.Attempt to connect camera to a Qube for video conferencing.
Expected behavior:
Device is listed in
lsusb -v
as follows:Device is also listed in
qvm-usb
output and shown in Device Widget.Device can be connected to Qube and works for video conferencing.
Actual behavior:
Device is shown in
lsusb -v
as above.Device is not listed in
qvm-usb
(output is blank apart from header line).Device is not shown in Devices Widget (but microphone and block devices are).
General notes:
Related issues:
The text was updated successfully, but these errors were encountered: