[PATCH] bcm5974-0.57 plus hack
rydberg at euromail.se
Wed Jul 23 09:20:14 UTC 2008
Tim Gardner wrote:
> I've started SRU Bug #250838, so the next time the Hardy kernel is
> uploaded the usbhid_modify_dquirk symbol should be available. I'm
> assuming this should also be done for Intrepid since your driver won't
> make it upstream until 2.6.27?
I am sorry, but the dynamic quirk patch is not really working as hoped.
I have tested the hardy-lbm version towards the latest hardy git tree.
The bcm5974 driver loads, and manages to modify the quirks, but at the
time it does that, the trackpad interface has already been probed and
claimed by usbhid. After suspending (!), the modified quirks take effect,
and the bcm5974 driver appears in /proc/bus/input/devices. However, X is
still hooked up to the old device, with a mouse freeze as result.
Restarting X at this point brings us to the desired functionality.
This whole business becomes pointless if tweaks to the module loading
order needs to be done, either in /etc/modules, /etc/modprobe.d/ or
/etc/initramfs-tools/. Then it is a lot easier to skip the dynamic
quirk modification in bcm5974, and provide a file /etc/modprobe.d/bcm5974,
containing the proper quirk line for usbhid. This is how the DKMS package
version of bcm5974 works. It installs and uninstalls cleanly.
How about it? I can write the installer script necessary in hardy-lbm,
if you want.
More information about the kernel-team