Using the latest gentoo-sources (2.6.38-r6) [also tried git-sources], the multitouch-touchpad in my Macbook Pro 8,1 (13" early 2011) is not functional. The touchpad doesn't get picked up by X11 (no matter if driver is evdev or mtrack) and a `cat /dev/input/eventX` produces a "no space left on device"-error. After some research on Google I found, that usbhid and bcm5974 (Apple Multitouch driver) fight over the device - usually, usbhid comes first, thus producing above error. Trying the following: # modprobe -r usbhid ; modprobe -r bcm5974 ; modprobe 5974 ; cat /dev/input/eventX & sleep 10 && pkill cat ; modprobe usbhid I can get output on the shell moving a finger across the touchpad or clicking it. However, once usbhid is again loaded by the last part of above command, the touchpad again fails to work. Of course, unloading usbhid keeps the keyboard from being functional. Something is pretty wrong here and I couldn't find any solution to this, yet. Either it's a (known?) bug or a problem of misconfiguration, in which case I'd be pretty happy for some pointers. Reproducible: Always Steps to Reproduce: 1. build kernel with bcm5974 & usbhid (modules or built-in) 2. boot into kernel Actual Results: Device is not working at all Expected Results: should work Setting this to major, since it's pretty much important to (at least) me.
As noted by @tbe on IRC, the `modinfo bcm5974` might be handy, so here come some attachments
Created attachment 273649 [details] modinfo bcm5974
Created attachment 273651 [details] lsusb -v of the device
Created attachment 273653 [details] complete kernel config
The user @tbe also recommended to try play/adapt the following script, which I've done to my best knowledge, but it didn't really change the outcome - either the keyboard or the touchpad is/was non-functional. https://github.com/ali1234/lg4l/raw/master/rebind
Got a kernel-config from a guy on irc, which apparently works on his mid2010 macbook. Same config (plus added lvm/raid support) also fails me.
According to this commit: https://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commit;h=47340bd9fefb571888836da942b5aee0e85e959c support for the Macbook 8,x has been added in march. I checked out and built this kernel, same result.
Finally, I've got the touchpad and the keyboard working together. I found the solution here: https://bugzilla.kernel.org/show_bug.cgi?id=14987 Adding the following to the kernel works: CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_TT_NEWSCHED=y Still, I'd consider this a bug in kernel-configuration, imho bcm5974 should depend on these two things or at the very least, the help should say so. // for me it's solved, but I'm leaving this open, can't decide on what I should set 'resolved'.
We'll follow the upstream bug and if they implement your solution, we'll backport to future kernels we release.