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

Add support for firmware versions #620

Closed
wants to merge 6 commits into from
Closed

Commits on Mar 18, 2024

  1. Configuration menu
    Copy the full SHA
    32ca577 View commit details
    Browse the repository at this point in the history
  2. Improve error debugging for invalid matches

    This needs to be printed to stdout, otherwise meson won't show it.
    whot committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    8342404 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd77a64 View commit details
    Browse the repository at this point in the history
  4. data: switch DeviceMatch to use a pipe as separator

    Some device names include a colon which makes it hard to add extra
    optional components to the device matches.
    whot committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    280e3dc View commit details
    Browse the repository at this point in the history
  5. Rework match_from_string

    No functional changes, this just preps the way for more optional
    elements in the match string.
    whot committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    2134c56 View commit details
    Browse the repository at this point in the history
  6. Add a firmware string entry to the matches

    Some device manufacturers re-use the VID/PID but we can still get to the
    firmware versions if the kernel driver exports them. Add those to the
    match string as fifth component after the (possibly empty) name.
    
    A DeviceMatch=usb|1234|abcd|Foo Tablet|ABCD1234 now matches against
    a device with that firmware version.
    whot committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    075393e View commit details
    Browse the repository at this point in the history