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

USB class indendification provided by hwinfo/kernel is insufficient #117

Closed
Mic92 opened this issue Sep 20, 2024 · 1 comment
Closed

USB class indendification provided by hwinfo/kernel is insufficient #117

Mic92 opened this issue Sep 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Mic92
Copy link
Member

Mic92 commented Sep 20, 2024

nixos-facter cannot classify the usb dongle in framework 16 as bluetooth device: https://codeberg.org/jopejoe1/nix-conf/src/branch/main/systems/omoikane/facter.json

Lsusb also exposes interface descriptors that have these information: https://pad.missing.ninja/480XKviWSgiYcsWa76Fx_w?view=#

Sysfs is not sufficient: https://pad.missing.ninja/GE_ThvWXT-ywVfebJitFiQ#
Lsusb uses libusb in userpace to dump this information.
On the first look it seems easier to parse lsusb output because it also encodes internally
a lot of information beyond the library that would be hard to replicate.

@Mic92 Mic92 added the bug Something isn't working label Sep 20, 2024
@brianmcgee brianmcgee self-assigned this Sep 25, 2024
@brianmcgee
Copy link
Collaborator

Fixed by 53cbb6b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants