wiki:AllemaniACs/Caesar/RebuildPCAN
Last modified 8 years ago Last modified on 10/20/11 10:42:13

Rebuilding the PCAN module on Caesar

The PCAN module is required to access the rotation laser range finder on the lower sensor level. Rebuilding of the kernel module is required after installing a new kernel. It's an older known-working version of the Open Source driver from http://www.peak-system.com/fileadmin/media/linux/index.htm. If the build fails contact timn, it might be time for an upgrade of the driver we use due to a no-longer compatible kernel.

Instructions

Boot the brutus machine into the new kernel. Then login as root and do:

cd ~/rpmbuild/SPECS
rpmbuild -bb peak-linux-driver.spec
rpm -Uvh ../RPMS/x86_64/peak-linux-driver-YOUR-VERSION.rpm

At the end of the rpmbuild command output it will list the RPMs it created. The x86_64 RPM is the one you need to install. After the module is built, load it with

modprobe pcan

Afterwards you can run Fawkes with the EDL laser configuration enabled (the default on brutus, just load the laser plugin).