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

Supported devices #1

Open
Alteroldis opened this issue Feb 6, 2024 · 3 comments
Open

Supported devices #1

Alteroldis opened this issue Feb 6, 2024 · 3 comments

Comments

@Alteroldis
Copy link

Hi @yehuthi, devices with Kionix KIOX010A and KIOX020A, like Chuwi FreeBook does supported?

@yehuthi
Copy link
Owner

yehuthi commented Feb 11, 2024

Hey @Alteroldis,
While not being familiar with those devices, I would estimate that it should be supported.

Support ultimately boils down to libinput's support, so if you'd like to test whether your device works, you can open a terminal and enter libinput debug-events, then switch your device's mode (fold or detach your screen). If you get SWITCH_TOGGLE events, your device is supported.

If you do get events for it that are not SWITCH_TOGGLE, while this utility will not work for you, I would love to know what they are because it means support can be added.

@Alteroldis
Copy link
Author

Alteroldis commented Feb 11, 2024

Hi @yehuthi, unfortunately, libinput does not send any events. As I understand, libinput recognize events from "intel hid switches" device. And this device only appear with enable_sw_tablet_mode=2 parameter of intel_hid driver. There is all values of the intel_hid parameter: -1:auto 0:off 1:at-first-event 2:at-probe.
If you has any ideas, I do any checks and tests you need.

@Alteroldis
Copy link
Author

Additionaly, "-1" value not accepted and at /sys/module/intel_hid/parameters/enable_sw_tablet_switch remains value 0.

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