Hi, you may or may not be aware that support for Fujitsu and some Panasonic touchscreens is included with the 'psmouse' module. Some of us at linuxquestions.org have discovered a small error in psmouse's lifebook.c file that causes the kernel to panic once the touchscreen (for a Panasonic CF-18) is used. This is also present in Gentoo's development kernel '2.6.22-gentoo-r2'. As far as I know, the panic occurs 100% of the time once the touchscreen is pressed. I tested a small patch listed on the page below and it seems to correct the problem. I had to enter the fixes manually, though. http://www.linuxquestions.org/questions/showthread.php?t=546167&page=3 I know that this fix will sooner or later enter the mainline vanilla kernel, but I thought I'd mention it here, since I was testing a Gentoo kernel still in development. Sam Reproducible: Always Steps to Reproduce: 1.Load a 2.6.22 kernel on a Panasonic CF-18 with touchscreen 2.Enable 'psmouse' in kernel or as module - load it. 3.Boot with new kernel and touch screen. Actual Results: The kernel panicked. Debug output appeard and computer became non-responsive. Didn't save the debug output. Expected Results: produced output when 'cat /dev/input/mouse0' is executed.
Committed into mainline: e6b20d8d62d87451f41365945b27202d7dadaee6 patch submit: http://lkml.org/lkml/2007/8/7/357
Created attachment 127913 [details, diff] CF-18 patch as submitted to the mainline kernel Here's the patch that has been submitted by the author and committed to the mainline kernel. Can you bring your patched code back to the original sources and then apply this patch and retest? you can apply this patch by putting in your /usr/src/linux (or the correct directory) and typing: patch -p0 < lifebook_panasonic_cf18.patch Thanks
Created attachment 127918 [details, diff] CF-18 patch as submitted to the mainline kernel This patch has the same changes as the first one but it conforms to standards properly and should be applied as follows: patch -p1 < lifebook_panasonic_cf18.patch
Sam emailed me directly: > Hi, I tested the latest patch you sent me on the > gentoo-sources 2.6.22-r2 kernel (The one you said is > inserted into the mainline kernel), and it works. The > kernel doesn't panic, and I get my usual events from > the device.
2.6.22.3 has this fix, so the solution would be genpatches-2.6.22-5.
(In reply to comment #5) > 2.6.22.3 has this fix, so the solution would be genpatches-2.6.22-5. Or =sys-kernel/gentoo-sources-2.6.22-r4.
Thanks for testing, sounds like this is fixed then.