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

Trying to get work clevo-keyboard working on XMG 17-Pro Notebook? #5

Open
typoworx-de opened this issue Mar 4, 2020 · 2 comments
Open

Comments

@typoworx-de
Copy link

I'm trying to get this work on XMG 17-Pro Notebook (https://bestware.com/en/xmg-pro-17.html) which also has Clevo Keyboard with colored-LEDs and so on. I think it's the same than yours and the one build into Tuxedo-Notebooks.

I already tried tuxedo-driver, which was unable to detect my keyboard to get the module work. I already tried to figure out which device matches:

With:
grep -i 'Clevo' -A4 /proc/bus/input/devices | grep -E '/input[0-9]*$'

I'll was able to figure out the following:

N: Name="Clevo Airplane-Mode Hotkey"
P: Phys=tuxedo_wmi/input0
S: Sysfs=/devices/platform/tuxedo_wmi/input/input14
Your Clevo-Device appears to be on:  /input14

Looks like my notebook has this device on /input14, so I've tried to modify & recompile your provided clevo-xsm-wmi.c with that.

But still modprobe complains:
modprobe: ERROR: could not insert 'clevo_xsm_wmi': No such device
Error initializing device!

Do you have any advice how I could fix that modifying the driver source?

Thanks in advice

@typoworx-de
Copy link
Author

By the way... the dmesg after modprobe says:

97835.611154] clevo_xsm_wmi: Could not register WMI notify handler (0x0015)
[97835.611158] clevo_xsm_wmi: probe of clevo_xsm_wmi failed with error -5

@typoworx-de
Copy link
Author

Okay... I think I've figured out...

static struct dmi_system_id clevo_xsm_dmi_table[] __initdata = {

one of the devices listed must match these values:
sudo dmidecode | grep -E 'Product (Model|Name)'

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

1 participant