LinuxQuestions.org
Help answer threads with 0 replies.
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 07-16-2007, 07:47 PM   #31
stan.distortion
Member
 
Registered: Sep 2005
Location: ireland
Distribution: debian with bits of everything stuck on it
Posts: 114

Rep: Reputation: 15

Hi again Just done the same, downloaded 2.6.22 from kernel.org, compiled and installed. Other than unmaintained wifi drivers everything was fine, touchscreen was working immediately
Having a few issues though. Thought it was just me with the crashes. I've been having them as soon as the touchscreen was working, my system has been through 3 laptops and 4 hard disks so I was guessing it was something on my end, having a few doubts now though.
X freezes, the system stays up but nothing I have tried through ssh can kill, restart or find anything in the logs with X. Always with KDE (don't use gnome much) and always with touchscreen input. Usually with heavy system load and it almost seems like it happens after a certain number of taps. With normal use it will stay up for days or weeks but with a lot of searching through files and changing windows it will almost always crash within a few hours.
If anyone can guide me to some debug info or some way of finding out why I would appreciate it.
Another point, only a small one though. If the power goes off the input node changes (normally input3, changes to input2) after booting. Reboot normally and it goes back to where it should be, not a big problem but it wasn't happening with the patched 2.6.20 kernel.
Cheers
 
Old 07-23-2007, 01:11 AM   #32
PPaFin
LQ Newbie
 
Registered: Mar 2007
Location: Helsinki, Finland
Distribution: Various
Posts: 25

Rep: Reputation: 15
Just quick note: I got it once again working with small patch from Dmitri. It was great job from Dmitri to sort this issue out!
 
Old 08-06-2007, 04:53 AM   #33
TomaCzar
Member
 
Registered: Dec 2003
Location: Roc City (Rochester-NY)
Distribution: Slacker 4 Life
Posts: 125

Rep: Reputation: 15
Quote:
I got it once again working with small patch from Dmitri.
Any chance I could get access to this magical small patch as well. I've looked here but nothing is labeled fix-the-cf-18-touchscreen-kernel-panic.patch and furthermore all files are much older than PPaFin's post. I'm running 2.6.22.1 on Slackware and cannot gain any ground on the touchscreen issue. Any help would be appreciated.

Respectfully submitted,

TomaCzar
 
Old 08-12-2007, 01:14 AM   #34
PPaFin
LQ Newbie
 
Registered: Mar 2007
Location: Helsinki, Finland
Distribution: Various
Posts: 25

Rep: Reputation: 15
Quote:
Originally Posted by TomaCzar
Any chance I could get access to this magical small patch as well. I've looked here but nothing is labeled fix-the-cf-18-touchscreen-kernel-panic.patch and furthermore all files are much older than PPaFin's post. I'm running 2.6.22.1 on Slackware and cannot gain any ground on the touchscreen issue. Any help would be appreciated.
Sorry for the delay. This is patch that dimitri sent me:

---CUT---
--
Dmitry

Input: lifebook - fix an oops on Panasonic CF-18

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---

drivers/input/mouse/lifebook.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

Index: work/drivers/input/mouse/lifebook.c
===================================================================
--- work.orig/drivers/input/mouse/lifebook.c
+++ work/drivers/input/mouse/lifebook.c
@@ -109,7 +109,7 @@ static psmouse_ret_t lifebook_process_by
{
struct lifebook_data *priv = psmouse->private;
struct input_dev *dev1 = psmouse->dev;
- struct input_dev *dev2 = priv->dev2;
+ struct input_dev *dev2 = priv ? priv->dev2 : NULL;
unsigned char *packet = psmouse->packet;
int relative_packet = packet[0] & 0x08;


-------------------------------------------------------

---CUT---

So, there seems to be one line change in lifebook.c.
 
Old 08-12-2007, 03:19 PM   #35
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
Hi, I've just been testing Gentoo's latest development 2.6.22 kernel on my CF-18, and the kernel panics after the touchscreen is pressed. Sounds like the same kernel panic problem that you've been experiencing, and happens 100% of the time. I'll try that patch, ppafin, and see if it works here.

Sam

edit: I've tried applying this patch normally, but I think there is a typo in it somewhere around line 12 and 13, so I am entering the changes by hand, and am compiling now.
PS. Have you ever tried navigating linuxquestions.org with 'lynx'? It is a &^!(#.
Sam

Last edited by samstar; 08-12-2007 at 04:03 PM.
 
Old 08-12-2007, 05:06 PM   #36
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
Ok, I tested the resulting kernel, and everything appears ok. I haven't installed X yet, so I don't know if the patch may have affected anything else yet. I submitted a bug report to Gentoo, since it was their kernel I was testing.

Sam
 
Old 08-18-2007, 04:36 PM   #37
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
Modified xorg calibration

Hello again. I just wanted to share this with everyone using a touchscreen CF-18. I've been playing around with the touchscreen driver's calibration settings (the ones that are originally generated with the driver's calibration.sh program), and I've developed a set of values that work tremendously well for me. I just thought I'd share those values, and see if it works as well for anyone else too.

Replace (or put comment out your current calibration settings) with these, under the evtouch driver settings.

Option "MinX" "64"
Option "MinY" "57"
Option "MaxX" "954"
Option "MaxY" "937"
Option "x0" "-8"
Option "y0" "8"
Option "x1" "2"
Option "y1" "6"
Option "x2" "7"
Option "y2" "1"
Option "x3" "-6"
# Option "y3" "10"
# Option "x4" "10"
# Option "y4" "10"
Option "x5" "8"
# Option "y5" "10"
Option "x6" "-1"
Option "y6" "-4"
Option "x7" "-2"
Option "y7" "-4"
Option "x8" "1"
Option "y8" "-1"

The Options that are commented out, leave them commented out - I just leave them there for reference.

Sam
 
Old 10-18-2007, 04:19 PM   #38
elect
LQ Newbie
 
Registered: Apr 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Samstar, here my xorg of my new Gutsy Gibbon, where i should add ur settings?



# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
Driver "intel"
BusID "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "Monitor Generico"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-160
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
Monitor "Monitor Generico"
DefaultDepth 24
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
 
Old 10-18-2007, 11:58 PM   #39
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
Well, you first need a section for your touchscreen driver. All the above fits into that section. It will look something like this:
Code:
Section "InputDevice"
    Identifier "touchscreen"
    Driver "evtouch"
    Option "Device" "/dev/input/event1"
    Option "DeviceName" "touchscreen"
    Option "ReportingMode" "Raw"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout" "50"
    Option "SendCoreEvents" "On"
EndSection
(I got the above from www.conan.de)

Replace the generic mouse section with this, and point "Device" to the correct device (hint: check /proc/bus/input/devices). Then insert the options I listed. Hopefully they'll work as well for you as they did for me (if you're right handed).

Sam
 
  


Reply


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
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
Replacing Mandrake with Slack on a Panasonic Toughbook erraticassassin Slackware 5 07-04-2004 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:57 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration