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

Pipe error when ctrl_transfer is called #3

Closed
giomini opened this issue Nov 25, 2017 · 3 comments
Closed

Pipe error when ctrl_transfer is called #3

giomini opened this issue Nov 25, 2017 · 3 comments

Comments

@giomini
Copy link

giomini commented Nov 25, 2017

Hi, I found this project now that I am working on something very similar for my G510 keyboard.
After .detach_kernel_driver, like you, I also send a .ctrl_transfer, but I always get "Pipe error".
It happens the same when I use your script (duly modified). Have you ever encountered this error? How did you manage to solve it?

Thank you

@SebiTimeWaster
Copy link
Owner

hi,
no i never saw that.

one small question: did you sniff the command codes for your G510 and added them to my script or did you try to use the already existing codes?

if the latter i can tell you with 95% certainty without even looking deeper into it that the control codes are not compatible between G Models.

@giomini
Copy link
Author

giomini commented Nov 26, 2017

Hi, thank you for your reply.
I sniffed the packet on windows when the keyboard talked to the Logitech driver and changed some codes in your script. Unfortunately I haven't been able to do much...
By the way I just found this project https://github.com/madscientist42/G15Interface which works relying on HID API. It is in c++, so it's different from yours, but it can be interesting for you too. :)

@SebiTimeWaster
Copy link
Owner

curious. my only guess left would be that one of the parameters/ids between line 33 and 39 is wrong (for your keyboard).

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

No branches or pull requests

2 participants