I brought it, Im instaling Linux atm, Can anyone give me a link howto install the Tscreen? Ive googled it but its only for 8.10 ubuntu.
NotebookForums.com › Forums › Notebook Manufacturers › Other Brand/Manufacturers › Other Brand Discussion › Bought a Panasonic CF-28 MK2 w/ Touchscreen
Recent Reviews
-
So I just got a Lenovo Yoga 13. This is my review. As what I primarily do is writing and programming, having a good keyboard is critical for me, which is why a tablet alone can’t work for me, and...
-
I have owned dozens of laptops in a variety of brands, and had many different laptops provided for my use at work. Without question, this is the finest I have owned. The Alienware M17x R2 is a...
-
N/m
-
Lenovo Thinkpad W530 Review by Djembe One of the longest and most enduring brands in computers is Thinkpad. Originally developed by IBM in the USA, Thinkpad notebook computers are now...
-
I have this memory installed in my Inspiron 14R. 6gb (one 2gb & one 4gb). Great performance! I highly recommend Kingston.
Bought a Panasonic CF-28 MK2 w/ Touchscreen
post #2 of 2
5/28/11 at 11:53am
- Joined: 3/2006
- Posts: 69,326
- Reviews: 11
- Select All Posts By This User
The trick for Ubuntu should work on Linux
Full credit
cheers ...
Quote:
This guide will get you started running Ubuntu linux on your CF 18. I've tried to keep it at a fairly high level, and only cover things that are specific to the 18.
This guide will also get you working with only a few changes on a CF-28, and possibly on other models as well
0. Installation
A standard install of Ubuntu 8.10 was used as the base. Most of the functions on the CF-18 will work out of the box, including sound and wired and wireless networking, so it makes an excellent starting point. There are plenty of guides for general Ubuntu installation, so I'm not going to go into details here. Boot the CD, answer a few questions, and let it do its thing. Once the install is complete, the first thing you will want to do is log in, connect to a network, and run the update manager to update your system. This will get you the latest updates and patches, and get you ready for the next steps.
1. Hotkey Driver
In order to enable the hotkey functionality, you will need to download, build, and install a driver.
The driver is available from http://www.da-cha.jp/letsnote The file you need is pcc-acpi-0.9.tar.bz2. download and save this file using firefox.
By default, firefox will save the file to your Desktop.
I suggest creating a "src" directory to work on this in:
cd ~ will change to your home directory
mkdir src will create the new directory
cd src to enter the new src directory
bunzip2 -c ../Desktop/pcc-acpi-0.9.tar.bz2 | tar -xvf - will extract the file and create a pcc-acpi-0.9 directory. Also a hint: The shell will do filename completion if you hit the tab key, so you can shortcut the entry of the filename. Hitting tab twice will show all possible completions
enter the pcc-acpi-0.9 directory (cd pcc-acpi-0.9) and run the following commands:
make
sudo make install
sudo depmod -a
sudo modprobe pcc_acpi
the sudo commands may prompt you for your password. Enter it if prompted.
check out your working hotkeys! All the fn+Fkey hotkeys should work at this point, as well as the front panel brightness buttons.
2. Touchscreen
To get the touchscreen working you will need to download and install a driver, and edit the xorg configuration file.
A note for our advanced readers: This driver is available via apt, but is an older version which does not work correctly with screen rotation
The driver is available from http://www.conan.de/touchscreen/evtouch.html The file you need is evtouch-0.8.8.tar.gz. Download and save this file using firefox.
Extract the driver using gunzip -c evtouch-0.8.8.tar.gz | tar -xvf -
this will create an evtouch-0.8.8 directory. enter that directory and run the following command:
sudo cp evtouch_drv.so /usr/lib/xorg/modules/input
this may prompt you for your password. Enter it if prompted.
You will then need to edit your xorg configuration file. Run the following command:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
sudo gedit /etc/X11/xorg.conf
this will start the gedit editor. If there is another editor you prefer, feel free to use it instead, just remember you will still need to preface the command with sudo
Update the file to match the following; note that anything on a line after the # symbol is a comment, and is not read by the system:
Code:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "TouchScreen" "CorePointer"
InputDevice "TouchPad" "SendCoreEvents"
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 "InputDevice"
Identifier "TouchScreen"
Driver "evtouch"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/by-path/platform-i8042-serio-3-event-mouse"
Option "Name" "CF-18 Touchscreen"
Option "DeviceName" "CF-18 Touchscreen"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons"
#Option "Calibrate" "1"
#CALIBRATION VALUES
Option "maxx" "945"
Option "maxy" "927"
Option "minx" "78"
Option "miny" "75"
#Option "x0" "0"
#Option "x1" "0"
#Option "x2" "-2"
#Option "x3" "0"
#Option "x4" "4"
#Option "x5" "0"
#Option "x6" "0"
#Option "x7" "0"
#Option "x8" "0"
#Option "y0" "-4"
#Option "y1" "0"
#Option "y2" "4"
#Option "y3" "0"
#Option "y4" "4"
#Option "y5" "0"
#Option "y6" "7"
#Option "y7" "4"
#Option "y8" "3"
Option "MoveLimit" "3"
EndSection
Section "InputDevice"
Identifier "TouchPad"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/by-path/platform-i8042-serio-4-event-mouse"
Option "Name" "PS/2 Touchpad"
EndSection
after editing this file, you will need to log out and back in for changes to take effect.
This should get you a working touchscreen, however the calibration is probably off. Unfortunately, the calibration program included with the driver is broken, so you will be stuck calibrating manually by changing the calibration values listed in the configuration. The minx and miny values control the upper left corner. work on those first, as everything else is based on them. then move to the maxx and maxy values. these set the bottom right corner. Once those are set, the x0-x8 and y0-y8 values can be uncommented, and used to tweak the calibration in the various portions of the screen. The numbered pairs go left to right then top to bottom, so x0 and y0 tweak the upper left, x8 and y8 are the lower right, and x4 and y4 control the center of the screen. Remember, after making changes, you need to log out and log back in for them to take effect.
3. Tweaks
3a. Screen Rotation.
screen rotation works out of the box from the command line using the xrandr command. However, with the desktop effects enabled, it will occasionally cause X to crash, causing you to lose any open windows. To disable effects, right click on the desktop and select Change Desktop Background, then select the Visual Effects tab, and select the None option.
To rotate the screen, run xrandr -o right
to rotate it back, run xrandr -o normal
you can also use left and inverted to get other orientations.
The following script will toggle between right and normal orientations.
Code:
if [ "`xrandr|grep 'current 1024'|wc -l`" -eq "1" ]
then
echo "Rotate right"
xrandr -o right
else
echo "Rotate normal"
xrandr -o normal
fi
to use it, save it to a file (I called mine "rotate", and then set the file executable (chmod +x rotate) You can then make a launcher button on your desktop panel that runs the script and toggles rotation. A good place to put this file would be /usr/local/bin
3b. Suspend
By default, closing the display will only result in the screen going blank. To change this, Select System->Preferences->Power Management, and change the settings.
3c. Power
TODO: There are a bunch of tweaks to improve battery life, but I haven't had a chance to implement them yet.
3d. Wifi rf_kill
disabling the wifi card under network manager does not turn off the power to the radio. The following script will allow you to turn the radio on or off from the command line:
Code:
#!/bin/bash
RFKILL=/sys/bus/pci/drivers/ipw2200/0000\:01\:03.0/rf_kill
case $1 in
(on|ON|On|oN)
echo 0 >> $RFKILL
;;
(off|OFF|Off)
echo 1 >> $RFKILL
;;
esac
I've placed this file in /usr/local/bin/wifi-power. as with the rotate script, you must set it executable to run it.
This guide will also get you working with only a few changes on a CF-28, and possibly on other models as well
0. Installation
A standard install of Ubuntu 8.10 was used as the base. Most of the functions on the CF-18 will work out of the box, including sound and wired and wireless networking, so it makes an excellent starting point. There are plenty of guides for general Ubuntu installation, so I'm not going to go into details here. Boot the CD, answer a few questions, and let it do its thing. Once the install is complete, the first thing you will want to do is log in, connect to a network, and run the update manager to update your system. This will get you the latest updates and patches, and get you ready for the next steps.
1. Hotkey Driver
In order to enable the hotkey functionality, you will need to download, build, and install a driver.
The driver is available from http://www.da-cha.jp/letsnote The file you need is pcc-acpi-0.9.tar.bz2. download and save this file using firefox.
By default, firefox will save the file to your Desktop.
I suggest creating a "src" directory to work on this in:
cd ~ will change to your home directory
mkdir src will create the new directory
cd src to enter the new src directory
bunzip2 -c ../Desktop/pcc-acpi-0.9.tar.bz2 | tar -xvf - will extract the file and create a pcc-acpi-0.9 directory. Also a hint: The shell will do filename completion if you hit the tab key, so you can shortcut the entry of the filename. Hitting tab twice will show all possible completions
enter the pcc-acpi-0.9 directory (cd pcc-acpi-0.9) and run the following commands:
make
sudo make install
sudo depmod -a
sudo modprobe pcc_acpi
the sudo commands may prompt you for your password. Enter it if prompted.
check out your working hotkeys! All the fn+Fkey hotkeys should work at this point, as well as the front panel brightness buttons.
2. Touchscreen
To get the touchscreen working you will need to download and install a driver, and edit the xorg configuration file.
A note for our advanced readers: This driver is available via apt, but is an older version which does not work correctly with screen rotation
The driver is available from http://www.conan.de/touchscreen/evtouch.html The file you need is evtouch-0.8.8.tar.gz. Download and save this file using firefox.
Extract the driver using gunzip -c evtouch-0.8.8.tar.gz | tar -xvf -
this will create an evtouch-0.8.8 directory. enter that directory and run the following command:
sudo cp evtouch_drv.so /usr/lib/xorg/modules/input
this may prompt you for your password. Enter it if prompted.
You will then need to edit your xorg configuration file. Run the following command:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
sudo gedit /etc/X11/xorg.conf
this will start the gedit editor. If there is another editor you prefer, feel free to use it instead, just remember you will still need to preface the command with sudo
Update the file to match the following; note that anything on a line after the # symbol is a comment, and is not read by the system:
Code:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "TouchScreen" "CorePointer"
InputDevice "TouchPad" "SendCoreEvents"
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 "InputDevice"
Identifier "TouchScreen"
Driver "evtouch"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/by-path/platform-i8042-serio-3-event-mouse"
Option "Name" "CF-18 Touchscreen"
Option "DeviceName" "CF-18 Touchscreen"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons"
#Option "Calibrate" "1"
#CALIBRATION VALUES
Option "maxx" "945"
Option "maxy" "927"
Option "minx" "78"
Option "miny" "75"
#Option "x0" "0"
#Option "x1" "0"
#Option "x2" "-2"
#Option "x3" "0"
#Option "x4" "4"
#Option "x5" "0"
#Option "x6" "0"
#Option "x7" "0"
#Option "x8" "0"
#Option "y0" "-4"
#Option "y1" "0"
#Option "y2" "4"
#Option "y3" "0"
#Option "y4" "4"
#Option "y5" "0"
#Option "y6" "7"
#Option "y7" "4"
#Option "y8" "3"
Option "MoveLimit" "3"
EndSection
Section "InputDevice"
Identifier "TouchPad"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/by-path/platform-i8042-serio-4-event-mouse"
Option "Name" "PS/2 Touchpad"
EndSection
after editing this file, you will need to log out and back in for changes to take effect.
This should get you a working touchscreen, however the calibration is probably off. Unfortunately, the calibration program included with the driver is broken, so you will be stuck calibrating manually by changing the calibration values listed in the configuration. The minx and miny values control the upper left corner. work on those first, as everything else is based on them. then move to the maxx and maxy values. these set the bottom right corner. Once those are set, the x0-x8 and y0-y8 values can be uncommented, and used to tweak the calibration in the various portions of the screen. The numbered pairs go left to right then top to bottom, so x0 and y0 tweak the upper left, x8 and y8 are the lower right, and x4 and y4 control the center of the screen. Remember, after making changes, you need to log out and log back in for them to take effect.
3. Tweaks
3a. Screen Rotation.
screen rotation works out of the box from the command line using the xrandr command. However, with the desktop effects enabled, it will occasionally cause X to crash, causing you to lose any open windows. To disable effects, right click on the desktop and select Change Desktop Background, then select the Visual Effects tab, and select the None option.
To rotate the screen, run xrandr -o right
to rotate it back, run xrandr -o normal
you can also use left and inverted to get other orientations.
The following script will toggle between right and normal orientations.
Code:
if [ "`xrandr|grep 'current 1024'|wc -l`" -eq "1" ]
then
echo "Rotate right"
xrandr -o right
else
echo "Rotate normal"
xrandr -o normal
fi
to use it, save it to a file (I called mine "rotate", and then set the file executable (chmod +x rotate) You can then make a launcher button on your desktop panel that runs the script and toggles rotation. A good place to put this file would be /usr/local/bin
3b. Suspend
By default, closing the display will only result in the screen going blank. To change this, Select System->Preferences->Power Management, and change the settings.
3c. Power
TODO: There are a bunch of tweaks to improve battery life, but I haven't had a chance to implement them yet.
3d. Wifi rf_kill
disabling the wifi card under network manager does not turn off the power to the radio. The following script will allow you to turn the radio on or off from the command line:
Code:
#!/bin/bash
RFKILL=/sys/bus/pci/drivers/ipw2200/0000\:01\:03.0/rf_kill
case $1 in
(on|ON|On|oN)
echo 0 >> $RFKILL
;;
(off|OFF|Off)
echo 1 >> $RFKILL
;;
esac
I've placed this file in /usr/local/bin/wifi-power. as with the rotate script, you must set it executable to run it.
Full credit
cheers ...
Return Home
Back to Forum: Other Brand Discussion
- Bought a Panasonic CF-28 MK2 w/ Touchscreen
NotebookForums.com › Forums › Notebook Manufacturers › Other Brand/Manufacturers › Other Brand Discussion › Bought a Panasonic CF-28 MK2 w/ Touchscreen
Currently, there are 246 Active Users
(4 Members and 242 Guests)
Recent Discussions
- › acer aspire one problem 14 minutes ago
- › Is the popular trackpad problem of Lenovo Ideapad Y500 solved or not? 14 hours, 13 minutes ago
- › Buying new notebook, considering Alienware.. 15 hours, 57 minutes ago
- › Problems with ACER X1200...Your Help Needed.. 23 hours, 53 minutes ago
- › Aurora Won't Power Up - I read the other posts with no luck 1 day, 4 hours ago
- › Gateway MA7 laptop model:MX6930 will not boot. 1 day, 11 hours ago
- › Blind Flashing and You 1 day, 14 hours ago
- › Asus EeePC 1001P Review 2 days, 15 hours ago
- › Aiseesoft DVD Copy 5.0 2 days, 15 hours ago
- › Dell Wireless 350 Bluetooth and Windows 7 2 days, 19 hours ago
View: New Posts | All Discussions
Recent Reviews
- › Lenovo Yoga 13 IdeaPad Convertbale Ultrabook (tablet) 13.3"... by The Bard sRc
- › Alienware M18X by MrFox
- › Kensington Black Contour Pro 17" Notebook Carrying Case Model... by great white
- › Lenovo W530-24382LU i7-3720QM 2.60GHz 4GB 500GB 7200rpm NVIDIA... by Djembe
- › Kingston 8GB (2 x 4GB) 204-Pin DDR3 SO-DIMM DDR3 1333 Laptop Memory by Nicadraus
- › Synology DiskStation 1-Bay (Diskless) Network Attached Storage... by Mr T
- › Barnes & Noble Nook Color by sewshoplady
- › Cooler Master CM Storm Spawn 3500 DPI Optical Sensor Gaming Mouse... by Rotterdamblues
- › Samsung MV-3T4G4 4GB DDR3 Laptop SDRAM (1333MHz PC3-10600) by Rotterdamblues
- › Alienware Aurora m9700 by amythompson172
View: More Reviews
New Articles
- › Intel Summer 2012 SSD Scavenger Hunt - Full... by ranjanis
- › Intel's Maple Crest 330 Series Promotion... by ranjanis
- › Intel Cherryville SSD Spring 2012 Giveaway by ranjanis
- › Intel Cherryville SSD Giveaway 2012 - Terms... by ranjanis
- › Advertise by jdz2287
- › Search And Advanced Search Tutorial by NotebookForums
- › Tagging Tutorial by NotebookForums
- › Add A New Item Tutorial by NotebookForums
- › Image And Video Tutorial by NotebookForums
- › Subscription Tutorial by NotebookForums
View: New Articles | All Articles
Home | Reviews | Forums | Articles | My Profile
About NotebookForums.com | Join the Community | Advertise
© 2013 NotebookForums.com is powered by Huddler Tech | FAQ | Support | Privacy/TOS | Site Map
About NotebookForums.com | Join the Community | Advertise
© 2013 NotebookForums.com is powered by Huddler Tech | FAQ | Support | Privacy/TOS | Site Map





