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

MSI Claw A1M - Controller mode not work (Required HID command) #271

Open
banpotk opened this issue Jan 27, 2025 · 4 comments
Open

MSI Claw A1M - Controller mode not work (Required HID command) #271

banpotk opened this issue Jan 27, 2025 · 4 comments

Comments

@banpotk
Copy link

banpotk commented Jan 27, 2025

I installed Inputplumber on my current Fedora OS.
After installing the program, Inputplumber can read and display the values ​​of the MSI Claw Controller correctly.
However, the controller is still working in Desktop mode (and it works every time after booting), so I can't use it to control any game.
I checked in the Handheld Daemon program and found that it needs to send a command to change to Controller Mode by sending the HID command
0F 00 00 3C 24 01 00 00
After sending this command, Controller buttons can work properly.
I don't know if the Inputplumber config can make it send HID commands every boot or not require external software. Is there a way or what do I need to do to make the MSI Claw buttons work in Controller Mode?
Thanks for all operations.

@pastaq
Copy link
Contributor

pastaq commented Jan 28, 2025

You need to install either the DKMS driver or zezba's script. I think zezba's script is more battle tested but we need more work done on the DKMS driver so it can be upstreamed.

InputPlumber design philosophy prohibits us from implementing functionality that should exist in a kernel driver. This is to avoid locking people into our solution if they prefer to make their own or use another. Since the kernel is responsible for interfacing with and creating a userspace API for hardware, we default to that.

Links are as follows:
Driver
https://github.com/NeroReflex/hid-msi-claw-dkms

Zazba fix:
https://github.com/zezba9000/MSI-Claw-Gamepad-Mode

@banpotk
Copy link
Author

banpotk commented Jan 28, 2025

I would like to support immutable OS like Chimera OS or Fedora Atomic because it can't install kernel drivers. If we can make enable Controller mode, it would be much easier to use.

@pastaq
Copy link
Contributor

pastaq commented Jan 28, 2025

The DKMS driver is being developed by ChimeraOS. It's currently doing in stable v47.

@NeroReflex
Copy link
Contributor

I would like to support immutable OS like Chimera OS or Fedora Atomic because it can't install kernel drivers. If we can make enable Controller mode, it would be much easier to use.

Hello,

I am a chimera maintainer and the initial developer of that driver. It has been tested for 1st and 2nd gen claws. I have heard some kind of problem with the second gen and the Y button, but I don't really know. Development is ongoing o the MSI channel of our server, if you want to contribute you are welcome.

IP expects to have that working driver and a certain configuration that has been upstreamed to systemd already since a few months to function (second gen claw is still waiting for that second requirement)

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