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 upqvm-usb/qubesutils not discovering all usb devices #2938
Comments
andrewdavidwong
added
bug
C: core
labels
Jul 25, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
Jul 25, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Is this on Qubes R3.2? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
olim5
commented
Jul 25, 2017
|
Yes, it is R3.2 . |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
marmarek
Jul 26, 2017
Member
Already fixed for Qubes 4.0 but indeed the fix worth backporting to Qubes 3.2
|
Already fixed for Qubes 4.0 but indeed the fix worth backporting to Qubes 3.2 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
marmarek
Jul 26, 2017
Member
Oh well, it's already in release3.2 branch too: QubesOS/qubes-core-admin#106
Updated package was not released.
|
Oh well, it's already in |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
marmarek
closed this
Jul 26, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
olim5 commentedJul 24, 2017
•
edited
Edited 1 time
-
olim5
edited Jul 25, 2017 (most recent)
Qubes OS version (e.g.,
R3.2):R3.2
Affected TemplateVMs (e.g.,
fedora-23, if applicable):All
Expected behavior:
Show all usb devices connected to sys-usb.
Actual behavior:
Shows only usb devices with usb id format of [0-9]+-[0-9]+.[0-9]+ (sys-usb:2-1.6) Not discovered are devices like sys-usb:2.1.1.3 or even sys-usb:2-1.1.2.1 .
Steps to reproduce the behavior:
Just connect devices with longer usb id trees:
[user@sys-usb ~]$ usbip list -l
busid 2-1.1.1 (0461:4d16)
Primax Electronics, Ltd : unknown product (0461:4d16)
busid 2-1.1.2.1 (0458:004c)
KYE Systems Corp. (Mouse Systems) : Slimstar Pro Keyboard (0458:004c)
busid 2-1.1.3 (0c4b:0300)
Reiner SCT Kartensysteme GmbH : cyberJack pinpad(a) (0c4b:0300)
busid 2-1.3 (147e:2016)
Upek : Biometric Touchchip/Touchstrip Fingerprint Sensor (147e:2016)
busid 2-1.6 (04f2:b217)
Chicony Electronics Co., Ltd : Lenovo Integrated Camera (0.3MP) (04f2:b217)
General notes:
Modifying regex "usb_device_re" to "re.compile(r"^[0-9]+-[0-9]+([0-9]+?[0-9]*)?$")" in
/usr/lib64/python2.7/site-packages/qubes/qubesutils.py solved the issue at least for sys-usb:2.1.1.3 usb ids.
Related issues: