CF-18

Differences between revisions 17 and 18
Revision 17 as of 2009-06-08 21:31:10
Size: 4728
Editor: 77-254-232-66
Comment:
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 3: Line 3:
The procedure described below was tested with vanilla Ubuntu 7.10/8.04/8.10/9.04. If you have experience with other versions, please share it with us. If you know how to install Ubuntu on touchscreen CF-18 model or how to solve hot-keys problem, please add relevant information. 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.
Line 5: Line 5:
Ubuntu 9.04 has faulty intel graphics driver which affects this model seriously. Please look at "Issues" section for more info. 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 9: Line 22:
CF-18 doesn't have internal CD-ROM drive, so easiest way possible is to prepare your own bootable USB Ubuntu pendrive using one of several different methods:
http://www.pendrivelinux.com/?s=ubuntu . If you are not familiar with GNU/Linux follow those instructions literally.

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.
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 17: Line 26:
== Configuring digitizer == == 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 ==


== For older versions (7.10/8.04/8.10/9.04) ==
Line 52: Line 91:
== Screen rotating ==
You may want to add ability of screen rotating between landscape and portrait mode to your CF-18.

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 ==

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:
http://www.da-cha.jp/letsnote .
If you know know any other working solution, please post it here and/or email me (rekrutacja[at]gazeta.pl) - thank you!

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.
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 88: Line 95:

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

 *Touchpad
 *SD Card reader
 *USB
 *Ethernet
 *Screen closing sensor
 *Wlan (wifi)
 *Bluetooth
 *PCMCIA adapter

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)