LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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

Reply
 
Search this Thread
Old 02-20-2007, 11:47 PM   #1
james_jenkins
Member
 
Registered: Feb 2007
Location: Missouri - USA
Distribution: Usually Suse or SLED, usually.
Posts: 35

Rep: Reputation: 15
Panasonic ToughBook CF-28 TouchScreen Under Linux - Solved and Working.


Panasonic ToughBook CF-28 TouchScreen Under Linux - Solved and Working. Touch Screen

I just wanted to start a new thread that was better suited as being searchable and pointing to the thread that has the answer.

http://www.linuxquestions.org/questi...=485053&page=3

I was finally able to get the touchscreen working. It really needs some work to make it 100%, but it works "More Than Good Enough"(TM) for the needs I had hoped to address. I just hope this will motivate someone that is better suited for the task of making it right. "AND", if someone was able to get it to install as a RPM on a current version of Suse with the 2.6 kernel, I would personally commission a lifesize statue of this person and have it erected on the lawn of our county courthouse so that future generations would always be reminded of this great deed.

James


Here is a quote of my original post:

***********************************

Here is some of the details until I can put more together.

1. Distro: Slackware 11. Just swap and /. All defaults, FULL package install. About as plain and generic as it gets. No updates of any kind were ran, just straight off of the CD's. The 2.4 kernel is the KEY to this. I picked Slack 11 because it is a current supported version that still uses the 2.4 kernel. The problem with the 2.6 kernel is that support for raw output was removed from the kernel. Unless you put it back in with a patch of some kind, your not going to get far because you can not initialize the touchscreen. We all know how useless computer hardware that fails to initialize is......

2. Driver is lbtouch-0.7.3.tar.gz that I got from this address:
http://stz-softwaretechnik.com/~ke/t...h-0.7.3.tar.gz

Copy "lbtouch_drv.o" to "/usr/X11R6/lib/modules/input".

DO NOT USE lbtouch-0.7.4.tar.gz. You will be sad because it will cause your cursor to jump around like it is on crack. It will allow you to get raw output from "od /dev/psaux" so you see that your screen is putting out, but if you use lbtouch-0.7.3, you will be much happier.

3. This is my xorg.conf:

Section "ServerLayout"
Identifier "X.org Configured"
Screen "Screen 1"
InputDevice "touchscreen" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
load "GLcore"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
Load "freetype"
Load "v4l"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us_intl"
Option "RightAlt" "ModeShift"
EndSection

Section "InputDevice"
Identifier "touchscreen"
Driver "lbtouch"
Option "Device" "/dev/psaux"
Option "DeviceName" "touchscreen"
Option "MinX" "134"
Option "MinY" "89"
Option "MaxX" "944"
Option "MaxY" "1022"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "SendCoreEvents"
Option "x0" "4"
Option "y0" "-78"
Option "x1" "3"
Option "y1" "-77"
Option "x2" "2"
Option "y2" "-70"
Option "x3" "-2"
Option "y3" "-38"
Option "x4" "2"
Option "y4" "-35"
Option "x5" "2"
Option "y5" "-35"
Option "x6" "1"
Option "y6" "1"
Option "x7" "0"
Option "y7" "1"
Option "x8" "2"
Option "y8" "2"
# Option "Calibrate" "1"
EndSection

Section "Monitor"

Identifier "My Monitor"
HorizSync 31.5 - 50.0
VertRefresh 40-90

EndSection

Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"

EndSection

Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"

DefaultDepth 24

Subsection "Display"
Depth 8
Modes "800x600"
EndSubsection
Subsection "Display"
Depth 16
Modes "800x600"
EndSubsection
Subsection "Display"
Depth 24
Modes "800x600"
EndSubsection
Subsection "Display"
Depth 32
Modes "800x600"
EndSubsection
EndSection

Section "DRI"
Mode 0666
EndSection

4. Your xorg.conf has to have the calibration points in it or your so far off that you won't be able to use the top half of the screen. Start with mine to get you going. Notice that the calibrate line is remarked out. Leave it that way unless you are actually at init 3 and running the calibration program. Read the readme's that come with lbtouch. You'll be glad you did. One thing that I found was that the calibrate program didn't quite work as advertised all the way through, but I was able to figure out the dump file and use the correct numbers and make up the ones that it totally screwed up. They are obviously wrong, plus when you get in certain sections of the screen you will suddenly be off quite a bit.

5. Please remember that my CF-28 is the 12 inch TRANSFLECTIVE touchscreen at 800x600. I use it outdoors on wireless broadband installations so I have to be able to read it outside. If your lcd runs at 1024x768, it is the 13.3 inch TRANSMISSIVE touchscreen. You will need to adjust your xorg.conf accordingly for the correct resolution.

6. You will notice in the xorg.conf that there is no reference to the touchpad. That is because the lbtouch driver does both, and if you load a mouse they conflict. You will love that your touchscreen now works, but you will probably not be happy with how the touchpad works. It will work just like a little touchscreen. You can not sweep from one side to the other, and do it again to finish getting your cursor where you want. When you put your finger on the touchpad, it will always move the cursor to that spot on the screen, always, no matter where it was. Basically you just about can not get the cursor to the outer edges of the screen with the touchpad. I made a xorg.conf that has no touchscreen and just switch real quick if I have to use the touchpad.

7. When you are bitching about how the touchpad doesn't work right, just keep reminding yourself how long you worked on getting the touchscreen working, and how nothing else would matter once it worked, and how much you hate those stupid touchpads anyway. That's what I've been doing. And since I'm an IBM tech for ThinkPad's, I really do HATE them. No TrackPoint is the only thing that keeps Toughbooks from being perfect. Rant done.

8. Yes, the touch screen on the CF-28 and 29's are the same as the Toshiba B-series Lifebooks.

9. Someone needs to work on the driver so you can move the cursor incrementally across the screen. The calibration need some work. I'm sure that it probably works like it's suppose to on a Toshiba,but it would be nice to have full funtionality on the Toughbooks.

9. I would also like to see a "Tap and Hold" right click context menu, just like my iPaq. If I could "right click" I would cover the touchpad up with bondo and life would be good.

10. I hope this helps you guys out and gives some of you clever guys some clues that allows you to code some improvements to help us all out.

11. Let me know if you need any logs or outputs, or any further clarifications on anything.

James

Last edited by james_jenkins; 02-23-2007 at 11:42 PM.
 
Old 03-09-2007, 07:03 PM   #2
stan.distortion
Member
 
Registered: Sep 2005
Location: ireland
Distribution: debian with bits of everything stuck on it
Posts: 114

Rep: Reputation: 15
For some reason the link for lbtouch is dead:
http://stz-softwaretechnik.com/~ke/t...h-0.7.3.tar.gz
Thanks
 
Old 03-09-2007, 10:43 PM   #3
james_jenkins
Member
 
Registered: Feb 2007
Location: Missouri - USA
Distribution: Usually Suse or SLED, usually.
Posts: 35

Original Poster
Rep: Reputation: 15
Stan,

Link worked for me just now. Just in case your not going to be able to get it, check your email, you now have a copy.

James
 
Old 03-10-2007, 09:51 AM   #4
mjolnir
Member
 
Registered: Apr 2003
Posts: 671

Rep: Reputation: 68
Nice work james_jenkins.
 
Old 03-11-2007, 01:17 AM   #5
james_jenkins
Member
 
Registered: Feb 2007
Location: Missouri - USA
Distribution: Usually Suse or SLED, usually.
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mjolnir
Nice work james_jenkins.
Well, "Thank You".

James
 
Old 04-27-2007, 01:08 PM   #6
fadumpt
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
Can an admin delete this post, I posted a question before realizing that I've only be using old howtos on the touchscreen that involved kernel stuffs and never actually read this thread through...so I can't ask a valid question now until I've tried this howto...thanks.

Last edited by fadumpt; 04-27-2007 at 01:14 PM.
 
  


Reply

Tags
panasonic, screen, touch, touchscreen, toughbook


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Panasonic Toughbook CF-29 Touch Screen Richard Craneum Linux - Laptop and Netbook 213 12-31-2011 01:21 AM
Touchscreen - Panasonic Toughbook CF-29 Azizcoos Linux - Hardware 14 04-26-2007 06:51 AM
Linux/GUI suggestions for Panasonic toughbook CF-71 1,000_naymes Linux - Laptop and Netbook 5 07-12-2006 07:21 PM
Panasonic ToughBook Wireless ultrabots2002 MEPIS 1 06-01-2005 10:34 AM
Sound on Panasonic CF-27 Toughbook erraticassassin Linux - Hardware 2 12-02-2004 01:32 PM


All times are GMT -5. The time now is 02:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration