Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Since this thread is getting extremely long and contains almost too much information now, could somebody post a detailed reply or a start a new thread with the complete how-to of how to get the touchscreens working with the newer 2.6 kernels. To keep things simple and make it easy for those trying to follow the instructions detailed here with varying Linux expertise, I would suggest pick a distribution, pick a toughbook model (preferrably either the CF-28 or CF-29 since those seem to be the models that require the most fooling around to get to work properly) and provide all the details (including where to get the latest patches) in one message much like James Jenkins did when he detailed how he got a CF-28 working with Slackware and the older 2.4 kernel.
I have 3 patches for PS/2 Fujitsu touchscreens that I am thinking about sending for 2.6.22 and it would be great if they receive some testing. The patches are called lifebook-*.patch and located here:
Remember that evtouch X driver is recommended for use with touchscreens.
Thank you in advance.
Dtor, I used your CF-18 patches for kernel 2.6.18.8-0.1 (suse 10.2 kernel). There were errors with both, so I manually edited lifebook.c with the patch info. If you want to make any changes to the patches, are there any files you need from me such as my original lifebook.c or the .rej file?
I'm about to compile, wish me luck!
(PS for anyone compiling or new to compiling, when configuring, it is a good idea to start with the default config file located in /boot. It has the same configuration as the default kernel from the distro (assuming that most distros do this), so you won't miss any important areas that you may otherwise not notice)
Since this thread is getting extremely long and contains almost too much information now, could somebody post a detailed reply or a start a new thread with the complete how-to of how to get the touchscreens working with the newer 2.6 kernels.
I think that Nobles is correct that we need to start farming some of this information out of the thread, and his reasons were the same reasons that I did it myself. I certainly don't want to kill the thread or anything, as it has taken on it's own "life", and I think I would miss it.
So I created this Wiki, http://toughbooks.wikidot.com/ to that end. I would like to keep the thread going, but start to fill the Wiki up with completed content that was created as a result of the thread. This of course is NOT something that I want to do by myself, so I am asking if anyone is interested in helping. I have also activated the forums and setup some preliminary groups.
Let me know what you think, or if your interested in helping.
James
Last edited by james_jenkins; 04-15-2007 at 01:14 AM.
Sorry for the delay. My CF-29 was with me in a sailboat at sea for the last two weeks. Internet access was infrequent and unreliable, and I was unwilling to risk messing it up.
Because people use different distributions and older kernels it does not look like patches for lifebook module work well. Because of that I just uploaded the latest version of lifebook.c here:
It should get out to the mirrors in the next hour or so. Please try downloading it and replacing /path/to/your/kernel/sources/drivers/input/mouse/lifebook.c
with this new file. If it gives you errors when recompiling please send me (dtor@insightbb.com) your original version of lifebook.c and I will patch it for you.
Well, I know I'm only making this thread larger, but two questions for dtor about recompiling.
First, does CONFIG_INPUT_TOUCHSCREEN need to be set, even though lifebook.c isn't a subset of it?
Second, do those edits to "include/linux/serio.h" and "drivers/input/touchscreen/Makefile" that you just posted need to be added as well, or is that just for the CF-29?
Just in - dtor, the lifebook.c file you linked to didn't help either. Got this message in kernel make:
CC [M] drivers/input/mouse/lifebook.o
/usr/src/linux-2.6.18.8-0.1/drivers/input/mouse/lifebook.c: In function ‘lifebook_create_relative_device’:
/usr/src/linux-2.6.18.8-0.1/drivers/input/mouse/lifebook.c:255: error: request for member ‘parent’ in something not a structure or union
/usr/src/linux-2.6.18.8-0.1/drivers/input/mouse/lifebook.c: In function ‘lifebook_init’:
/usr/src/linux-2.6.18.8-0.1/drivers/input/mouse/lifebook.c:295: warning: assignment from incompatible pointer type
make[4]: *** [drivers/input/mouse/lifebook.o] Error 1
make[3]: *** [drivers/input/mouse] Error 2
make[2]: *** [drivers/input] Error 2
make[1]: *** [drivers] Error 2
make: *** [_all] Error 2
Well, I know I'm only making this thread larger, but two questions for dtor about recompiling.
First, does CONFIG_INPUT_TOUCHSCREEN need to be set, even though lifebook.c isn't a subset of it?
No, you will only need it if you want to use fujitsu_ts module, not lifebook.
Quote:
Second, do those edits to "include/linux/serio.h" and "drivers/input/touchscreen/Makefile" that you just posted need to be added as well, or is that just for the CF-29?
No, again these are for fujitsu_ts.
Quote:
Just in - dtor, the lifebook.c file you linked to didn't help either. Got this message in kernel make:
I believe I got your mail with original lifebook.c, I will try to patch it later tonight.
Received the following error building fujitsu_ts.c:
Quote:
CC [M] drivers/input/touchscreen/fujitsu_ts.o
drivers/input/touchscreen/fujitsu_ts.c:172: warning: initialization from incompatible pointer type
drivers/input/touchscreen/fujitsu_ts.c: In function ‘fujitsu_init’:
drivers/input/touchscreen/fujitsu_ts.c:183: error: void value not ignored as it ought to be
make[3]: *** [drivers/input/touchscreen/fujitsu_ts.o] Error 1
make[2]: *** [drivers/input/touchscreen] Error 2
make[1]: *** [drivers/input] Error 2
make: *** [drivers] Error 2
I would just download 2.6.20.7 and use it. I just tried applying my patch to it, it gave me a bit of fuzz in Kconfig and serio.h files but otherwise built just fine.
Well, I patched both my suse's 2.6.18.8-0.1 kernel and the 2.6.20.7 standard kernel on my CF-18, using the three patch files from dtor. Recompiling and booting, I have to report a complete success!
No fuzz or errors in patching, and touchpad and touchscreen availability upon booting. There wasn't even any need to calibrate the touchscreen.
I fetched 2.6.20.7, the fujitsu_ts.patch applied cleanly. The new kernel is built and booted. But 8250 and 8250_pnp did not get built as modules. It appears that they are in the kernel. Loaded modules serport and fujitsu_ts.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.