Skip to content

Commit

Permalink
q-dev: add less confusing device_id of microphone
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Oct 8, 2024
1 parent 9008af8 commit 602a4c8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion qubesguidaemon/mic.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ def __init__(self, backend_domain, product, manufacturer):
product=product,
manufacturer=manufacturer,
)
self._interfaces = [DeviceInterface("******", devclass="mic")]
self._interfaces = [DeviceInterface("000000", devclass="mic")]

@property
def device_id(self) -> str:
"""
Get identification of a device not related to port.
"""
return "dom0:mic::m000000"


class MicDeviceExtension(qubes.ext.Extension):
Expand Down

0 comments on commit 602a4c8

Please sign in to comment.