Panasonic Toughbook CF-18
(I decided to open this new thread to make things clear :D )
(I will try to update this first post) TOUCHPAD Quote:
Quote:
|
Dtor's three patches for 2.6.18 and 2.6.20 kernels worked on my cf-18 running suse 10.2, with both the 2.6.18.8-0.1 and 2.6.20.7 kernels.
The sequential patches installed flawlessly, and both touchpad and touchscreen work as they should, without the need for calibration (arguably). If anyone can offer advice on getting the front hotkeys to work, that'd be great. Sam |
Kubuntu 7.04 with CF-18 (CF-18DHAFBGS)
Ok, I managed to get these early morning hours into something usefull. I installed kubuntu 7.04 to this CF-18 and here is short summary:
1. Installed linux-source and linux-source-2.6.20 packages with adept. 2. Learned (once again) how to compile kernel from http://www.howtoforge.com/kernel_compilation_ubuntu Something like: --CUT-- sudo apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 sudo tar xjf linux-source-2.6.20.tar.bz2 sudo ln -s linux-source-2.6.20 linux sudo cp /boot/config-`uname -r` ./.config sudo make menuconfig (and here some config opening and saving as described in article) Then I patched with dimit patch: sudo patch -p0 < lifebook-01-cf18-2.6.18.patch (there is difference in path, so I have to give correct file manually: /usr/src/linux/drivers/input/mouse/lifebook.c NOTE: There is problem with patch, I have to add stuff from patch file manually to lifebook.c (somebody can explain what those .rej files are meant to be ?) sudo make-kpkg clean sudo fakeroot make-kpkg --initrd --append-to-version=-ppa kernel_image kernel_headers sudo dpkg -i linux-image-2.6.20.3-ubuntu1-ppa_2.6.20.3-ubuntu1-ppa-10.00.Custom_i386.deb sudo dpkg -i linux-headers-2.6.20.3-ubuntu1-ppa_2.6.20.3-ubuntu1-ppa-10.00.Custom_i386.deb And then reboot with new kernel. After noticing that new kernel is not loading those ipw-firmwares, I did following: cd /lib/firmware/ ln -s 2.6.20-15-generic/ 2.6.20.3-ubuntu1-ppa So this brings firmware loadable with new kernel also. --CUT-- Yes I know, this was dirty post but it shows you that getting this touchpad working with CF-18 and kubuntu 7.04 (2.6.20) can be done. I am really looking forward to have 2.6.22 with these patches included! EDIT: I also noticed that with this new kubuntu and kernel I can access lcd brightness with Fn+F1/F2 which has never before been possible with Linux + CF-18. |
Yes, I got lcd brightness buttons, suspend buttons, keyboard brightness buttons, mute, and volume buttons to work by using the Panasonic Hotkey drivers, located here:
http://www.da-cha.jp/letsnote I couldn't compile the GUI provided because openSUSE 10.2 uses Berkeley's database 4, and the GUI needs version 3 to compile. PPaFin: Quote:
I patched them without errors by going to the lifebook.c directory, and, as root, simply typed: Quote:
Located, as PPaFin said, here: http://kernel.org/pub/linux/kernel/people/dtor/ One last thing before I sign out. I loaded xorg 7.2 from openSUSE's extra repository, and it did not come with the evtouch driver, so for those of you whose xorg didn't come with that necessary Input-Event X driver, get it here: http://stz-softwaretechnik.com/~ke/t...n/evtouch.html Later all, Sam |
Quote:
I still cannot understand how to calibrate touchscreen ? But this touchpad is good to have working. |
The calibration utility comes with the conan.de X driver. You have to configure it with the --enable-ev_calibrate option (not sure if it's spelled right).
Before you "make" it, though, see my LAST post on this page: http://www.linuxquestions.org/questi...=485053&page=7 Small editing is involved before you make the calibration program. Finally, and this is important, only include the values for min X, max X, min Y, and max Y from out.txt into your xorg.conf. The rest of the calibration fixes really just make the pointer jump around. Or, you can try my calibration values for your screen: Quote:
|
Sry for my noob question, but how can i patch the kernel with lifebook.c of Dimitri? and so re-compile it?
|
Hi Elect,
Patching is straightforward. Just find lifebook.c somewhere in your kernel source directory. Usually it's in usr/src/linux-<version>/drivers/input/mouse Just go there, make a backup of the original file, then, as root, patch it with my instructions above. All you need to enable in the kernel config is "psmouse". That will take care of the kernel side of touchscreen support. You don't need to enable any other touchscreen drivers. For my distro, it was easier to compile it with psmouse built in, instead of as a module. Works just as fine. Sam ---------------------------- To whom it may apply, I just want to mention this for anyone else with built-in GPS units in their CF-18. To get that working, the device is a serial device, located at /dev/ttyS1. If you want to use gpsdrive, or any other GPS linux software, add your user account to the group "uucp" (unless you have security issues I'm not aware of). That will give you permissions to access the serial port and GPS unit. |
Hi,
Some more helpful advice on running the CF-18 in linux. This has to do with Intel's built-in wifi. Often, I found that the connection would drop suddenly after some time spent connected to an access point. At the same time there would be firmware errors occurring. The problem is that although the kernel releases are continually maintained, the Intel wifi modules that come with the latest kernel sources are terribly out-of-date. In fact, they do not seem compatible with the latest kernel versions. The solution is to replace the ipw2200 and the ieee80211 modules with the very latest from these two sites: http://ieee80211.sourceforge.net/ http://ipw2200.sourceforge.net/ In fact there's a note on the release of the latest ipw2200 driver that it updates compatibility with kernels 2.6.19 and up. Recompiling the kernel is NOT necessary. Included with the drivers are tools that help automate the replacement of the modules. Don't forget to also download the latest firmware too! After updating, my CF-18 held a continuous connection all day :) Sam P.S. Someone should get on the horn to the guys at kernel development and get those Intel sources updated. |
Quote:
Code:
patch -p1 -d /path/to/your/kernel/source < /path/to/the/patch Code:
patch -p1 < /path/to/the/patch |
I tried so many ways with no success...
At the end, the only way to get it working properly is patching the module-source lifebook.c and compile it...right? If yes, some1 knows the commands under Ubuntu? |
Quote:
Now, though, you can grab the latest kernel source from kernel.org and patch it with the latest prepatch from the same place, version 2.6.22-rc1. That'll include the lifebook patch too, if you can't patch the Ubuntu kernel. Sam |
Quote:
I have the sources of my 2.6.20, i just need to know: 1) How to patch the lifebook.c and with which patch 2) How to compile ONLY the new lifebook.c to produce the module psmouse.ko |
I don't know of any way to compile only the psmouse.ko module from a linux source tree. You'd need to compile the entire source in order to compile it as well. If you don't want to do that, I'd suggest you wait until a distro supports the new kernel 2.6.22. That will have the patches incorporated. Some distros, like opensuse, provide separate repositories for a pre-2.6.22 kernel. They usually don't document it, though, since it's experimental.
Sam |
Quote:
If you give me your new psmouse.ko, should it work? |
All times are GMT -5. The time now is 06:32 PM. |