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

Creator Z16 - No compatible keyboard found #45

Open
hey-kzn opened this issue Mar 24, 2022 · 13 comments
Open

Creator Z16 - No compatible keyboard found #45

hey-kzn opened this issue Mar 24, 2022 · 13 comments

Comments

@hey-kzn
Copy link

hey-kzn commented Mar 24, 2022

Hi everyone ! Thanks for the tools ! but the install & test give me this " no compatible keyboard found ", i tried other tools for control rgb and same issue.

What can i do for fix that ? :(

@Gibtnix
Copy link
Owner

Gibtnix commented Mar 24, 2022

Well, one thing you could try is to modify the IDs according to your keyboard: sudo msiklm list to extract the IDs, thereafter change the IDs in the open_keyboard() function. Thereafter, the test option should at least find the keyboard, otherwise the IDs are wrong. If this works, you can test any of the commands. Currently, two different command structures are used, depending on the arguments (cf. Readme for full information about this), you could try both. If both do not work, your keyboard is likely to not be supported at all because it needs a different command structure that needs to be known to support your keyboard.

@hey-kzn
Copy link
Author

hey-kzn commented Mar 25, 2022

Ok thanks for the response, i tried your solutions but still give me the same message.

@Gibtnix
Copy link
Owner

Gibtnix commented Mar 25, 2022

If you change the IDs accordingly, at least sudo msiklm test should find your keyboard. If you changed the IDs in msiklm.c and the command does not find your keyboard, the IDs are not correct. Also be careful in not mixing hex/decimal numbers which of course can change the results.

@hey-kzn
Copy link
Author

hey-kzn commented Mar 29, 2022

I tried but the same issue : "no compatible keyboard found" with IDs hex, i dont know what can i do for fix that

@Gibtnix
Copy link
Owner

Gibtnix commented Mar 31, 2022

The used IDs are incorrect if this message appears. The command sudo msiklm test only initializes the device corresponding to the IDs, so if you read them out with sudo msiklm list before and replace the read IDs with the ones in msiklm.c, recompiling and retesting has to work. Maybe delete the 0x prefix, but if you use your IDs, sudo msiklm test has to work. Of course. whether the commands work is a different story...

@brokencog
Copy link

brokencog commented Apr 6, 2022

Just to clarify for @Akouniakov the "msiklm list" returns the vendor/product ID's in decimal value which does not need the 0x hexidecimal.

My question is about the "command structures" you mentioned. I don't see any explanation in the README, could you help me understand this? I'm trying to figure out why the keyboard LEDs aren't being adjusted.

The only debugging I've done is output the result from hid_send_feature_report(), which results in 0x08 ... which is the number of bytes written to the device?

It could likely be this model isn't supported, I have an MSI GE76 which has the SteelSeries info of:

Device: SteelSeries KLC
    Device Vendor ID:        4152
    Device Product ID:       4410
    Device Serial Number:    (null)
    Device Manufacturer:     SteelSeries
    Device Path:             3-9:1.0
    Device Interface Number: 0
    Device Release Number:   258

Device: SteelSeries KLC
    Device Vendor ID:        4152
    Device Product ID:       4410
    Device Serial Number:    (null)
    Device Manufacturer:     SteelSeries
    Device Path:             3-9:1.1
    Device Interface Number: 1
    Device Release Number:   258

Device: SteelSeries ALC
    Device Vendor ID:        4152
    Device Product ID:       4414
    Device Serial Number:    (null)
    Device Manufacturer:     SteelSeries
    Device Path:             3-10:1.0
    Device Interface Number: 0
    Device Release Number:   256

Device: SteelSeries ALC
    Device Vendor ID:        4152
    Device Product ID:       4414
    Device Serial Number:    (null)
    Device Manufacturer:     SteelSeries
    Device Path:             3-10:1.1
    Device Interface Number: 1
    Device Release Number:   256

@Gibtnix
Copy link
Owner

Gibtnix commented Apr 6, 2022

The details regarding the command structure, in particular with the different ways how the command is created is explained in the usability section in the Readme. The different command structure is triggered by explicitly setting the intensity, i.e. sudo msiklm green is different to sudo msiklm green high. For details please refer to the Readme.

@brokencog
Copy link

brokencog commented Apr 6, 2022 via email

@Gibtnix
Copy link
Owner

Gibtnix commented Apr 6, 2022

I think it is not about the correct library but instead the correct command structure. The correct command structures are not documented somewhere. I guess if you build the right command, it will work.
About the existing two options, there is not really much to explain more. The details you find in the code.

@brokencog
Copy link

brokencog commented Apr 6, 2022 via email

@Gibtnix
Copy link
Owner

Gibtnix commented Apr 6, 2022

Try sudo msiklm blue and sudo msiklm blue high. If both do not work, your keyboard is most likely not supported.

@brokencog
Copy link

brokencog commented Apr 6, 2022 via email

@Gibtnix
Copy link
Owner

Gibtnix commented Apr 6, 2022

You're welcome

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

3 participants