linux: Drop workaround for kernel < 2.6.34 #39
Labels
No labels
3rdparty
Android
API
Author does not respond
bsd
bug
build system/CI
ci-virtual-device
CMake
Contributions Welcome
Core
dependencies
device-specific
documentation
don't_merge
duplicate
enhancement
Example
Haiku
hidraw
hotplug
info required
invalid
libusb
macOS
Misc
Not an issue
question
Release
Test
Test GUI
Windows
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libusb/hidapi!39
Loading…
Reference in a new issue
No description provided.
Delete branch "legacy-code-linux"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Also drop HIDIOC* definitions as they are present since kernel 2.6.39.
where do we define minimum supported kernel?
Nowhere as far as I know. But I guess everything above 2.6.39 should work now, but I haven't tested that. And as this version is so old, I don't think it's necessary to document this as it should *just work* on any halfway recent Linux kernel.
I still think it worth adding at least README notice. Would you?
If you're willing to test hidapi on e.g. kernel 2.6.39 then sure; but other than downloading the oldest supported CentOS version (disclaimer: I just know that they have super old kernels but I have no idea what version) I wouldn't even know how to get a VM running kernel 2.6.39
Hm, good point - don't want to check/make any assures on support.
What about:
"Don't try to compile with Kernel older than 2.6.39 - it won't".
As usual, there will be that one person, who will try and open a bug.
I'd say, if someone opens a bug report for that, we can add it to the readme 😉