Help With Touchpad on System 76 Pangolin Performance

Richard Heck rgheck at comcast.net
Fri Aug 5 02:09:10 UTC 2011


I've just recently bought a Pangolin Performance laptop from System 76. 
The machine is fantastic, though they insist upon installing Ubuntu on 
it. :-/ So I'm trying to get Fedora working.

The only two snags seem to be the wireless and the touchpad. Camera and 
audio seem fine. The wireless was just a matter of installing 
iwl6000g2b-firmware.

The touchpad is proving a bit more difficult. It appears to be detected 
just as a PS2 mouse. System 76 deal with this on Ubuntu by installing a 
kernel module via dkms. The source for the module is available here:
http://planet76.com/drivers/elantech/psmouse-elantech-v6.tar.bz2
If I follow what the "System 76 Driver" does, then I do:
cd /usr/src
wget http://planet76.com/drivers/elantech/psmouse-elantech-v6.tar.bz2
tar -jxvf psmouse-elantech-v6.tar.bz2
dkms add -m psmouse -v elantech-v6
dkms build -m psmouse -v elantech-v6
all as root. Unfortunately, this last step fails. The log shows:

> DKMS make.log for psmouse-elantech-v6 for kernel 2.6.40-4.fc15.x86_64
> (x86_64)
> Thu Aug 4 21:28:57 EDT 2011
> make: Entering directory `/usr/src/kernels/2.6.40-4.fc15.x86_64'
> CC /var/lib/dkms/psmouse/elantech-v6/build/src/psmouse-base.o
> /var/lib/dkms/psmouse/elantech-v6/build/src/psmouse-base.c:862:3:
> warning: initialization from incompatible pointer type [enabled by
> default]
> /var/lib/dkms/psmouse/elantech-v6/build/src/psmouse-base.c:862:3:
> warning: (near initialization for ‘psmouse_protocols[10].detect’)
> [enabled by default]
> CC /var/lib/dkms/psmouse/elantech-v6/build/src/synaptics.o
> CC /var/lib/dkms/psmouse/elantech-v6/build/src/alps.o
> CC /var/lib/dkms/psmouse/elantech-v6/build/src/elantech.o
> CC /var/lib/dkms/psmouse/elantech-v6/build/src/logips2pp.o
> CC /var/lib/dkms/psmouse/elantech-v6/build/src/lifebook.o
> CC /var/lib/dkms/psmouse/elantech-v6/build/src/sentelic.o
> CC /var/lib/dkms/psmouse/elantech-v6/build/src/trackpoint.o
> LD /var/lib/dkms/psmouse/elantech-v6/build/src/psmouse.o
> MODPOST 0 modules
> make: Leaving directory `/usr/src/kernels/2.6.40-4.fc15.x86_64'

It occurred to me that the problem might be the dkms.conf file:

> PACKAGE_NAME="psmouse"
> PACKAGE_VERSION="elantech-v6"
> CLEAN="rm -f *.*o"
>
> BUILT_MODULE_NAME[0]="psmouse"
> MAKE[0]="make -C $kernel_source_dir
> M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build/src psmouse.ko"
> BUILT_MODULE_LOCATION[0]="src"
> DEST_MODULE_LOCATION[0]="/updates"
>
> AUTOINSTALL="yes"

But I do not understand these files.

For what it's worth, trying to run the make command manually as:

> make -C /usr/src/kernels/2.6.40-4.fc15.x86_64/
> M=/var/lib/dkms/psmouse/elantech-v6/build/src/ psmouse.ko

still gives the "MODPOST 0 modules" error.

Can anyone help please? I'd much prefer to run Fedora on this thing....

Richard




More information about the users mailing list