Repository navigation
Conversation
Parse the HID_FIRMWARE_VERSION uevent property to populate release_number for all HID devices. This provides device version information for I2C, Bluetooth, SPI, and virtual HID devices. For USB devices, the existing bcdDevice lookup from sysfs still takes precedence, maintaining backward compatibility. The HID_FIRMWARE_VERSION property is being added to the Linux kernel (patch series submitted to linux-input@vger.kernel.org). On kernels without this property, release_number will remain 0 for non-USB devices, preserving existing behavior. Signed-off-by: Daniel Schaefer <dhs@frame.work>
Applies the review suggestion from #777: reference the Linux v7.1 commit that introduced the HID_FIRMWARE_VERSION uevent property. Assisted-by: claude-code:claude-opus-5-5
Member
Author
|
Squash-merging this one would lose the original authorship. I'd rather keep that one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Carries #777 forward, because its head branch does not allow maintainer edits.
The first commit is the original #777 commit by Daniel Schaefer, unchanged (same SHA, author and sign-off). It parses the
HID_FIRMWARE_VERSIONuevent property to fillrelease_numberfor HID devices on any bus. For USB devices the existingbcdDevicesysfs lookup still takes precedence.The second commit applies the open review suggestion from #777. It adds a source comment that names Linux v7.1 as the first kernel with the property and links the commit that introduced it, torvalds/linux@6ca9029.
Replaces: #777
Assisted-by: claude-code:claude-opus-5-5