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

hid-gadget-test behaving strange #204

Open
d3r3lict opened this issue Feb 11, 2024 · 0 comments
Open

hid-gadget-test behaving strange #204

d3r3lict opened this issue Feb 11, 2024 · 0 comments

Comments

@d3r3lict
Copy link

MANUFACTURER: Xiaomi
DEVICE_NAME: Redmi Note 8 Pro
DEVICE_CODENAME: Begonia
MODEL_NUMBER: M1906G7G
SYSTEM_ON_CHIP_NAME: MediaTek Helio G90T (MT6785V/CC)
SYSTEM_ON_CHIP_CODENAME: MT6785
LINEAGEOS_LINUX_KERNEL_SRC: -
LINEAGEOS_LINUX_KERNEL_VERSION: -
MANUFACTURER_LINUX_KERNEL_SRC: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/begonia-r-oss (I'm NOT using it, I'm currently using PE kernel which supports HID)
PE KERNEL SOURCES: https://github.com/PixelExperience-Devices/kernel_xiaomi_begonia (I'm currently on A13)
MANUFACTURER_LINUX_KERNEL_VERSION: 4.14

Hey! I'm facing a very strange problem right now. I'm trying to send some keystrokes to my laptop using hid-gadget-test, and it says "Success", but actually nothing happens. When I'm trying to use hid-keyboard instead, I'm getting either "/dev/hidg0: There is no such file or directory" error or just nothing, like hid-keyboard is getting stuck until I stop it using CTRL+C. Note that /dev/hidg0 actually exists, and has chmod 777. I was trying to do the same on all the hid interfaces I have, but there is just no result. Any help appreciated 🙏

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