CF-18

Differences between revisions 1 and 18 (spanning 17 versions)
Revision 1 as of 2008-02-25 00:28:09
Size: 3125
Editor: dov170
Comment: cf-18 and ubuntu
Revision 18 as of 2010-01-15 02:32:08
Size: 4603
Editor: 158
Comment: updated to 9.10
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
This page is about installing and using Ubuntu Linux on Panasonic Toughbook CF-18 This page is about installing and using Ubuntu GNU/Linux on Panasonic Toughbook CF-18 with digitizer screen.
Line 3: Line 3:
The procedure described below was tested with vanilla Ubuntu 9.10. For older versions look below. If you know how to install Ubuntu on touchscreen CF-18 please add relevant information.

Ubuntu 9.10 solved problems with digitizer screen and hotkeys. It is highly recommended that you upgrade to this version.

== Works out-of-the-box ==

 *Touchpad
 *Digitizer screen
 *Hotkeys
 *SD Card reader
 *USB
 *Ethernet
 *Screen closing sensor
 *Wlan (wifi)
 *Bluetooth
 *PCMCIA adapter
Line 6: Line 22:
CF-18 doesn't have internal CD-ROM drive, so easiest way possible is to prepare your own Ubuntu USB bootable pendrive:
http://www.pendrivelinux.com/2007/09/28/usb-ubuntu-710-gutsy-gibbon-install/
CF-18 doesn't have internal CD-ROM drive, so easiest way possible is to prepare your own bootable USB Ubuntu pendrive. If you do have Ubuntu already easy way is to download Ubuntu ISO file from Ubuntu.com (just click this big, orange "download ubuntu" button) and use System>Administration>Create USB. If you do not have Ubuntu yet you can use one of several different methods described here: http://www.pendrivelinux.com/?s=ubuntu . If you are not familiar with GNU/Linux follow those instructions literally.
Line 9: Line 24:
If you are not familiar with GNU/Linux follow those instructions literally. If you want to boot from pendrive make sure, that you have USB boot option activated in CF-18 BIOS menu.

== Screen rotating ==
You may want to add ability of screen rotating between landscape and portrait mode to your CF-18. This is possible, but procedure described in this section needs to be updated for 9.10, do not use it if you cannot fix it!

Important! Remember to turn off all compitz beautifiers (all the 3d effects - right click on your desktop, click wallpaper change, go to visual effects tab, and select no effects) first.

There is no automated rotation after moving physical screen. However screen rotating functionality works great with the help of simple script (and sophisticated programmer who wrote it, thank you, Janek!). Open your text editor of choice as an admin (ie. "sudo gedit" in terminal), and copy/paste this text:

{{{
#!/bin/sh
if [ "`xrandr|grep 'current 1024'|wc -l`" -eq "1" ]
then
    echo "Rotate right"
    xsetwacom set stylus rotate 1
    xrandr -o right
else
    echo "Rotate normal"
    xsetwacom set stylus rotate 0
    xrandr -o normal
fi
}}}

Save it with the name ''rotatescreen'' in folder /usr/bin/.

Execute ''sudo chmod +x /usr/bin/rotatescreen'' in terminal.

Now by executing "rotatescreen" command you will have your screen rotated between portrait and landscape mode. I created a simple activator with command ''rotatescreen'' in my panel - now all i have to do after changing position of physical screen is to tap an icon.

== Known issues ==
Line 12: Line 56:
You may found good instructions for installing Ubuntu 6.10 on Justin's Clark webpage:
http://www.justinclarke.com/archives/2006/12/ubuntu_linux_61.html
== For older versions (7.10/8.04/8.10/9.04) ==
Line 15: Line 58:
For proper configuration of Wacom tablet in 7.10 make sure, that appropriate portions of your xorg.conf file (to edit this execute "sudo gedit /etc/X11/xorg.conf"in terminal) look like this: Please note: for touchscreen version of CF-18 you may need other instructions.
 
F
or proper configuration of Wacom tablet in 7.10 make sure, that appropriate portions of your xorg.conf file (to edit this execute ''sudo gedit /etc/X11/xorg.conf'' in terminal) look like this:
Line 17: Line 62:
{{{
Line 40: Line 86:
}}}
Line 43: Line 91:
== Screen rotating ==
You may want to add ability of screen rotating between landscape and portrait mode to your CF-18. Sorry, no automated rotation this time.
Screen rotating functionality works great with the help of simple script (and sophisticated programmer who wrote it, thank you, Janek!).
Open your text editor of choice as an admin (ie. "sudo gedit" in terminal), and copy/paste this text:
Panasonic Hotkeys doesn't work out of the box. This include screen brightness and volume control hotkeys (FN + F keys) and external hotkeys: screen rotating, activating on-screen keyboard, activating/deactivating wifi etc. If you need to change your screen brightness settings or want to switch on/off wifi you may still do this - simply press F2 just after turning your computer on. This will take you to BIOS menu. On this stage you may still use hotkeys to select proper settings. After you leave BIOS menu they will get inactive.
Line 48: Line 93:
#!/bin/sh
if [ "`xrandr|grep 'current 1024'|wc -l`" -eq "1" ]
then
    echo "Rotate right"
    xsetwacom set stylus rotate 1
    xrandr -o right
else
    echo "Rotate normal"
    xsetwacom set stylus rotate 0
    xrandr -o normal
fi

Save it with the name "rotatescreen" in folder /usr/bin/.

Execute "sudo chmod +x /usr/bin/rotatescreen" in terminal.

Now by executing "rotatescreen" command you will have your screen rotated between portrait and landscape mode. I created a simple activator with command "rotatescreen" in my panel - now all you have do after changing position of physical screen is to tap an icon.

== Known issues ==

Panasonic Hotkeys doesn't work out of the box. This include screen brightness and volume control hotkeys (FN + F keys) and external hotkeys: screen rotating, activating on-screen keyboard, activating/deactivating wifi etc. There is workaround which includes kernel and acpi hacking for other Toughbook models, but i havn't tested it with CF-18.
If you need to change your screen brightness settings or want to switch on/off wifi you may still do this - simply press F2 just after switching your computer on. This will take you to BIOS menu. On this stage you may still use your hotkeys to select proper settings. After you live BIOS menu they will get inactive.
Ubuntu 9.04 has new and faulty Intel graphics drivers. To avoid problems (such as hang-ups on connecting external monitors or programs crashing when attemptimg to play video files) use older drivers as described on this page:
https://wiki.ubuntu.com/ReinhardTartler/X/RevertingIntelDriverTo2.4 . This problem is widely known and should be corrected in the next Ubuntu version.

This page is about installing and using Ubuntu GNU/Linux on Panasonic Toughbook CF-18 with digitizer screen.

The procedure described below was tested with vanilla Ubuntu 9.10. For older versions look below. If you know how to install Ubuntu on touchscreen CF-18 please add relevant information.

Ubuntu 9.10 solved problems with digitizer screen and hotkeys. It is highly recommended that you upgrade to this version.

Works out-of-the-box

  • Touchpad
  • Digitizer screen
  • Hotkeys
  • SD Card reader
  • USB
  • Ethernet
  • Screen closing sensor
  • Wlan (wifi)
  • Bluetooth
  • PCMCIA adapter

Installing Ubuntu

CF-18 doesn't have internal CD-ROM drive, so easiest way possible is to prepare your own bootable USB Ubuntu pendrive. If you do have Ubuntu already easy way is to download Ubuntu ISO file from Ubuntu.com (just click this big, orange "download ubuntu" button) and use System>Administration>Create USB. If you do not have Ubuntu yet you can use one of several different methods described here: http://www.pendrivelinux.com/?s=ubuntu . If you are not familiar with GNU/Linux follow those instructions literally.

If you want to boot from pendrive make sure, that you have USB boot option activated in CF-18 BIOS menu.

Screen rotating

You may want to add ability of screen rotating between landscape and portrait mode to your CF-18. This is possible, but procedure described in this section needs to be updated for 9.10, do not use it if you cannot fix it!

Important! Remember to turn off all compitz beautifiers (all the 3d effects - right click on your desktop, click wallpaper change, go to visual effects tab, and select no effects) first.

There is no automated rotation after moving physical screen. However screen rotating functionality works great with the help of simple script (and sophisticated programmer who wrote it, thank you, Janek!). Open your text editor of choice as an admin (ie. "sudo gedit" in terminal), and copy/paste this text:

if [ "`xrandr|grep 'current 1024'|wc -l`" -eq "1" ]
then
    echo "Rotate right"
    xsetwacom set stylus rotate 1
    xrandr -o right
else
    echo "Rotate normal"
    xsetwacom set stylus rotate 0
    xrandr -o normal
fi

Save it with the name rotatescreen in folder /usr/bin/.

Execute sudo chmod +x /usr/bin/rotatescreen in terminal.

Now by executing "rotatescreen" command you will have your screen rotated between portrait and landscape mode. I created a simple activator with command rotatescreen in my panel - now all i have to do after changing position of physical screen is to tap an icon.

Known issues

For older versions (7.10/8.04/8.10/9.04)

Please note: for touchscreen version of CF-18 you may need other instructions.

For proper configuration of Wacom tablet in 7.10 make sure, that appropriate portions of your xorg.conf file (to edit this execute sudo gedit /etc/X11/xorg.conf in terminal) look like this:

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

After that most of the laptop functionality works out of the box.

Panasonic Hotkeys doesn't work out of the box. This include screen brightness and volume control hotkeys (FN + F keys) and external hotkeys: screen rotating, activating on-screen keyboard, activating/deactivating wifi etc. If you need to change your screen brightness settings or want to switch on/off wifi you may still do this - simply press F2 just after turning your computer on. This will take you to BIOS menu. On this stage you may still use hotkeys to select proper settings. After you leave BIOS menu they will get inactive.

Ubuntu 9.04 has new and faulty Intel graphics drivers. To avoid problems (such as hang-ups on connecting external monitors or programs crashing when attemptimg to play video files) use older drivers as described on this page: https://wiki.ubuntu.com/ReinhardTartler/X/RevertingIntelDriverTo2.4 . This problem is widely known and should be corrected in the next Ubuntu version.

CF-18 (last edited 2010-10-10 01:53:09 by 99)