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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
flipjarg you are using the wrong driver. To the best of my knowledge the evdev module does not work with the Fujitsu LBPS/2 Touchpad/Touchscreen controller found in these Panasonic Toughbooks. It could be that recent development has changed this, but it has been my experience that the only working driver is the evtouch module. I don't personally own a CF-29, but my CF-72 has the exact same input hardware. The evtouch module is somewhat stagnant and deprecated in some distros, so it may be worth the effort to figure out how to get evdev to work if you feel up to the challenge.
At any rate, here is a short list from my experience with the touchscreen;
- evtouch is not compatible with fglrx, you will need to use the OS radeon module
- configuration is done through hal; see previous post for the rules file
- configuration utilities don't work with evtouch; you will have to manually change numbers
Upgraded my CF-29 from kubuntu 9.10 to 10.04. You would think I would know better by now. But I figured that since I had the hal thing working, and the numbers tweaked to near perfection, that I was all set for a painless upgrade, touchscreen-wise. I was wrong.
Now it looks like the numbers are off a little, but the big issue is that it appears that the mouse pointer acceleration is being applied to the touchscreen output. If I touch a point on the screen, the pointer jumps to a position near that point. But if I then move quickly, the pointer shoots across the screen. If I move slowly, the pointer tracks more or less the way it is supposed to.
I have checked the hal file, and the upgrade did not touch it.
Anyone know where that acceleration setting is coming from?
Flipjarg- Take a look at the dates on the beginning of this thread. It's older than dirt in internet time. A lot of that old stuff is obsolete.
...Flipjarg- Take a look at the dates on the beginning of this thread. It's older than dirt in internet time. A lot of that old stuff is obsolete.
Haha (older then dirt). I know. But it is the best thing I could find. I have evtouch now, and have only been able to get 'autogen.sh' to run properly for X.org, using --prefix=/path/to/xorg.conf.
When I run make, I get this:
Code:
make all-am
make[1]: Entering directory `/home/flipjarg/Desktop/evtouch-0.8.8'
make[1]: *** No rule to make target `evtouch.c', needed by `evtouch_drv_la-evtouch.lo'. Stop.
make[1]: Leaving directory `/home/flipjarg/Desktop/evtouch-0.8.8'
make: *** [all] Error 2
I think I need to get a version of that lifebook.c everyone talked about... and name it evtouch.c and make sure the cf-29 DMI option is in there. May be wrong. If that is correct. Where can I get an evtouch.c/lifebook.c file that will work? Any input?
HAL had been deprecated in 10.04, I think it actually had something to do with the latest version of Xorg. Most hardware is now configured with udev, input configuration however is going back (sort of) to xorg.conf.
Ordinarily no configuration is necessary, however odd hardware still needs to be manually configured. The new home for xorg.conf is /etc/ (eg "/etc/xorg.conf"), there is also support for "xorg snippets" that are placed in /etc/xorg.conf.d/.
If you use xorg snippets you need to make several to cover all your inputs, I tried just one for the touchscreen and ended up with a functioning touchscreen and nothing else. Acording to this blog post you should be able to combine a general purpose xorg.conf with snippets, but I never had any luck with that. What did work for me was making three snippets;
The 10.04 upgrade came with broken kernels that didn't even boot far enough to kick out an error message, so I had to go back to the last working kernel, 2.6.31-20. That probably makes no difference to this issue, but I thought I should mention it.
I have no /etc/xorg.conf nor an /etc/xorg.conf.d on this machine. There is also no /etc/X11/xorg.conf.
Does that mean that hal is not deprecated in 10.04?
The 10.04 upgrade came with broken kernels that didn't even boot far enough to kick out an error message, so I had to go back to the last working kernel, 2.6.31-20. That probably makes no difference to this issue, but I thought I should mention it.
I guess I lucked out (or waiting a week paid off), my upgrades went ok.
Quote:
I have no /etc/xorg.conf nor an /etc/xorg.conf.d on this machine. There is also no /etc/X11/xorg.conf.
These files are not included by default because ordinarily most devices are automatically configured by udev
Quote:
Does that mean that hal is not deprecated in 10.04?
It is there, if you are using a halfway recent kernel you shouldn't need to compile anything, just configure the xorg.conf or xorg.conf.d snippets, use your package manager to install xserver-xorg-input-evtouch and reboot
I am wondering what difference it would make if I just dropped those snippets right into my xorg.conf instead of making separate files. I have tried just dropping those Sections for Input Devices into my xorg.conf and the only thing that changes is xserver fails because of the evdev-catchall section. It is now commented out and xserver is running but the touch screen is still not working properly, of course. I am doing something wrong.
I am not too familiar with Linux anymore but its coming back slowly. Sorry if I am not understanding something correctly. This the hardest time I have ever had getting a device to work with Linux. I am not giving up though!
Oh yeah, and where do I need to have the CF-29 DMI option?
you shouldn't have to do anything with it, the CF-29 DMI code (the device signature) is written into the psmouse module already; if you get any response from the touchsceen then its there. To correctly interpret the touchscreen input you need to install xserver-xorg-input-evtouch;
Code:
sudo apt-get install xserver-xorg-input-evtouch
I don't think that xorg in lenny supports xorg.conf.d snippets, but a regular /etc/X11/xorg.conf should work just fine;
Quote:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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
This is my old one, although the numbers in the touchscreen section might need to be adjusted to suit your computer. You might be best off starting with a fresh automatically created one with ;
Code:
sudo dpkg-reconfigure -phigh xserver-xorg
then add the touch screen section and the touchscreen entry in the inputs and server sections.
I have no /etc/xorg.conf.d because for some unfathomable reason, (k)ubuntu has moved it out of /etc/. It is located at /usr/lib/X11/xorg.conf.d . Now to figure out what to do with it...
Here are the contents of my /usr/lib/X11/xorg.conf.d. I have not modified any of these, they are stock kubuntu 10.04, after the installation of package xserver-xorg-input-evtouch.
By default neither the /etc/xorg.conf.d folder nor /etc/xorg.conf file exist since most systems are automatically configured.
Quote:
/usr/lib/X11/xorg.conf.d
These are the generic catchalls and specific common configs that are used to configure most systems. While there is probably no harm in putting a custom file in there as well, editing them risks the configuration being over written during an update. The suggested place for making machine specific configuration is the /etc/xorg.conf.d/ folder or in a /etc/xorg.conf file, but they are both in the search path and if it works it works.
...
I don't think that xorg in lenny supports xorg.conf.d snippets, but a regular /etc/X11/xorg.conf should work just fine;
I didn't think it did either. I used the xorg you gave me and the touchscreen functioned how it should. The calibration is super close, I just need to tweak it by like 25 pixels up and to the left! Awesome!
The only problem now is getting my touchpad to work. The mouse buttons next to the touchpad work. If I tap the touchpad it acts as a click but I cannot move the mouse cursor with the touchpad.
I am shooting in the dark. I will keep playing with it and see what I come up with. If you have any ideas please let me know.
The suggested place for making machine specific configuration is the /etc/xorg.conf.d/ folder or in a /etc/xorg.conf file, but they are both in the search path and if it works it works.
I would think that placing the touchscreen config file in the same xorg.conf.d/ that the system uses would be safe. The system did not write that file, so it would be unlikely to overwrite it. It's a good case for using the xorg.conf.d method over a single xorg.conf file, regardless of where you put it. Best to have a backup anyway...
to configure the touchscreen, change the MinX MaxX MinY MaxY numbers in the /etc/hal/fdi/policy/10-x11-input.fdi file. Since you won't be able to see a change I would recommend temporarily moving or deleting this file after replacing it with the proper configuration in the /etc/X11/xorg.conf file;
Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "GLcore"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "touchscreen"
Driver "evtouch"
Option "Device" "/dev/input/by-path/platform-i8042-serio-1-event-mouse"
Option "DeviceName" "touchscreen"
Option "MinX" "230" #"230"
Option "MinY" "220" #"220"
Option "MaxX" "3900" #"3900"
Option "MaxY" "3850" #"3850"
Option "MoveLimit" "5"
Option "ReportingMode" "Raw"
Option "SendCoreEvents" "true"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "40"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "mouse"
Option "Mode" "Relative"
Option "CorePointer" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "true"
#Option "HorizScrollDelta" "0"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Synaptics Touchpad" "CorePointer"
InputDevice "touchscreen" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
With this file in place you will be able to log out and back in again between number changes. You will probably have to reboot once after replacing the /etc/hal/fdi/policy/10-x11-input.fdi with the /etc/X11/xorg.conf file just to get xorg off of the hal configuration and onto the xorg.conf configuration.
As for the configuartion, I would tackle one number at a time, start with minX trying to get the configuration near the left edge horizontally as accurate as possible (don't worry about vertical yet). Then move to MaxX and do the same for the right edge. Repeat for the top (minY) and then the bottom. I believe that both X numbers affect each other to some degree as do both Y numbers, so after you get MinX adjusted changing MaxX will slight unadjust it. You may have to change all of the numbers several times before it is perfect. I would recommend changing in increments of 5 or 10, leave the commented numbers there as references until you are happy with the final result of your efforts. I got it 'close enough' after an hour or so, but mine started out far worse than yours. I later came back and got it closer and it is now almost perfect. For some reason it will never be completely perfect, some areas tend to have bias. When you are happy with the numbers make a new /etc/hal/fdi/policy/10-x11-input.fdi file and rename the /etc/X11/xorg.conf file to /etc/X11/xorg.bak and reboot. At some point use of xorg.conf will be phased out, so I wouldn't recommend using it indefinitely.
Can someone tell me in laymans terms how to do this? Im still learning and i have gotten my touchscreen to work but im at a loss on how to configure it. thanks in advance.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.