Panasonic Toughbook CF-27 Mk. 4 Touchscreen Working and Calibrated
After many months of trying to get the touchscreen on an old CF-27 mk. 4 working, I was finally able to. The problem I ran into while searching for solutions was that the CF-27 mk. 4 uses a different touchscreen than the other CF-27's. It uses the same one as the CF-28 mk. 1, specifically a Fujitsu Lifebook B-series touchscreen. The touchscreen is multiplexed with the touchpad, and both are connected to the PS/2 port.
The good news is that Linux already has the driver! The bad news is that Linux doesn't know how to use it. To get this to work, I modified the lifebook.c file and recompiled the psmouse.ko module. lifebook.c is found in drivers/input/mouse in the Linux source code. In lifebook.c, replace: Code:
/* Panasonic CF-28 */ Code:
/* Panasonic CF-28 */ Code:
Also note that this is not a proper solution, as now CF-28 touchscreens will not work, but it gets the job done. The newly build psmouse module goes in /lib/modules/<Distro>/kernel/drivers/input/mouse. On Arch, it needs to be gzip'ped. The module then needs to be reloaded with Code:
modprobe -r psmouse I recompiled the module on Arch with the 3.4.2 kernel, but I believe the same (or very similar) procedure will work with any kernel. I recall doing this sucessfully on Debian 6.0, with the default 2.6.32 kernel. I have only tried xinput_calibrator on Arch. I hope this helps someone. |
Nice work. I used to have several of those old laptops, they were great.
|
All times are GMT -5. The time now is 12:14 PM. |