https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188829

--- Comment #5 from Jason W. Bacon <j...@freebsd.org> ---
Created attachment 196858
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196858&action=edit
Unified diff

The author of the atp driver pointed me to this patch some time ago and I was
surprised to see that the problem still exists in 11.1-RELEASE.

It has to do with recalibrating the touchpad as temperature rises.

The patch still applies cleanly and solves the problem on my MacBook Pro.

>From dmidecode:

System Information
        Manufacturer: Apple Computer, Inc.
        Product Name: MacBookPro2,2
        Version: 1.0

There's another small problem now, though.  "make install" places the module in
/boot/modules, and kldload still grabs the old one from /boot/kernel.

Here's what I do in total to make this problem go away:

cd /usr/src/sys/dev/usb/input
fetch http://acadix.biz/atp.patch
if [ ! -e atp.c.save ]; then
    cp atp.c atp.c.save
fi
if [ ! -e atp.c.orig ]; then
    patch < atp.patch
fi
if [ ! -e /boot/kernel/atp.ko.save ]; then
    cp /boot/kernel/atp.ko /boot/kernel/atp.ko.save
fi
cd /usr/src/sys/modules/usb/atp
make
kldunload atp
make install
cp /boot/modules/atp.ko /boot/kernel
# protect filesystem in case kld[un]load causes problems. Hasn't happened for
# me with atp, but it's a general habit based on a few bad experiences.
sync
kldunload atp
kldload atp

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to