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

WIP: use hid_device to find razer control interface #2029

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

meeuw
Copy link
Contributor

@meeuw meeuw commented Feb 25, 2023

  • use hid_device to find / identity razer control interface
  • use hid_hw_raw_request instead of usb_control_msg

I haven't actually tried this, I'd love to get some feedback if this could get merged before I continue.

This will change the sysfs path, not sure if the daemon can handle this.

Goal of this PR:

  • Preparations to remove device specific code, razer_check_control_interface could be replaced by a function that only uses the HID descriptor. I'd propose to do this in another PR
  • Use HID implementation from Linux

@z3ntu
Copy link
Member

z3ntu commented Apr 22, 2023

Hm this would need a lot of testing I think. I can give it a shot after the next release and we can try merging and see what people using the daily builds say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants