Skip to content
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

"Unrecognized device identity" message after suspend #9691

Open
marmarek opened this issue Jan 7, 2025 · 1 comment
Open

"Unrecognized device identity" message after suspend #9691

marmarek opened this issue Jan 7, 2025 · 1 comment
Labels
affects-4.3 This issue affects Qubes OS 4.3. C: other needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@marmarek
Copy link
Member

marmarek commented Jan 7, 2025

How to file a helpful issue

Qubes OS release

R4.3

Brief summary

After suspend, journalctl in dom0 contains a line like this:

Jan 07 06:18:52.158635 dom0 widget-wrapper[4685]: Unrecognized device identity '1d6b:0104::u030101u030000' expected '1d6b:0104:unknown:u030101u030000'

or

Jan 07 07:06:22.321887 dom0 widget-wrapper[5138]: Unrecognized device identity '1d6b:0104:unknown:u030101u030000' expected '1d6b:0104:0123456789abcdef:u030101u030000'

The device in question is USB keyboard/mouse emulated in openQA tests.

Steps to reproduce

  1. Connect USB keyboard/mouse (here emulated via USB gadget on RPi, see https://github.com/QubesOS/tests-hw-setup/blob/main/states/openqa-cmds/gadget-control)
  2. Suspend the system
  3. Observe journalctl after resume

Expected behavior

No error

Actual behavior

A message about unrecognized device identity. The device was not assigned/attached to any qube before suspend.

More can be found at https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=202501070327-4.3&groupid=12 (see suspend tests)

@marmarek marmarek added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. affects-4.3 This issue affects Qubes OS 4.3. labels Jan 7, 2025
@marmarek
Copy link
Member Author

marmarek commented Jan 7, 2025

Based on the message, looks like reading the serial number sometimes fails, in different ways. The device is supposed to have 0123456789abcdef serial. Maybe a race condition in device identity reporting (tries to access the device before it's fully discovered by the kernel)?

But also, it's unclear to me what triggers this message in the first place. There should be no assignment for this device, so I don't know what mismatches with what...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.3 This issue affects Qubes OS 4.3. C: other needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

2 participants