-
Notifications
You must be signed in to change notification settings - Fork 89
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
I have to manually bind hid_magicmouse to the device. hid-generic steals it at boot. #14
Comments
Are both the |
I need hid_generic loaded for my keyboard and the magicmouse2 (which I would like to port over to use hid_magicmouse but it isn't currently supported). |
I have the same problem on linux kernel 4.13 (i ported this driver and loaded it via dkms), hid-generic is chosen as the driver but I can fix it with the above mentioned bind/unbind commands. I haven't figured why, it seems that linux should be finding and preferring this driver via MODULE_DEVICE_TABLE and/or id_table in hid-magicmouse.c but it's not working? |
@satur9nine I haven't been having this issue on 4.18 since updating. Try it out with 4.18 if you can. If it persists on newer kernels, I'll try to debug further and find a solution. |
I see now that kernel 4.13 would require a more complex solution because there is a list of devices in hid-core.c which controls which driver gets used. |
im facing the same issue
at the startup i can see the module loaded
and this what i do to fixit
|
I'm using ubuntu 18.04 on a Sony Vaio VPC, the Magic Trackpad 2 works just with one finger, I'd like to set it to work at least two finger scrolling. Have you tried xinput, libinput and interfaces, but without success, have any tips to help? Thanks |
Have you signed the hid_magicmouse module?
|
@regis-leray's and @leandromaniezo's issues seem like unrelated ones. This one (having to bind hid_magicmouse to the device), as far as I understand it, is actually expected on kernels older than 4.18, unless you rebuild your whole kernel with modified |
I'm on 19.04 and I can initially get magic mouse 2 with scrolling to work, but it will not survive reboots. When I look, it is bound to hid_generic, but no amount of rmmod/insmod works for me (I can run the uninstall script and reboot, and then reinstall and it works until I reboot). I am able to unbind it from the hid_generic, but if I try to bind it to the magicmouse driver, I just get "can't find device" type messages :/ |
Is signing hid_magicmouse a complex process? I'm a bit of a neophyte when it comes to kernel modules. This is on a fresh installation of Ubuntu 19.10. |
I have to run
echo -n "0005:004C:0265.0004" > /sys/bus/hid/drivers/hid-generic/unbind
echo -n "0005:004C:0265.0004" > /sys/bus/hid/drivers/magicmouse/bind
to make this work. 0x265 is listed in the hid-ids.c so I do we need to blacklist it from hid-generic? Is this a race condition?
The text was updated successfully, but these errors were encountered: