Page 2 of 3

Re: Loading Ubuntu Linux on a CF-18

Posted: Tue Mar 31, 2009 9:19 pm
by Rob
deluxe wrote:I have a Touchscreen CF-18, however i don't know how to tell whether it's a MK 1 or whatever (I suspect it is, based solely on it having the older Win2K COA sticker on the bottom, and that I remember it coming early in a list of CF-18 for driver downloads, and that it's the 900 Mhz model).
It's model is CF-18BHAZXDM, if that sheds light.

I haven't given up (yet), though it was very frustrating when everything hit the fan.
BTW, I couldn't use the touchpad, screen, or keyboard, so I was truly hosed.......no possibility of ANY key combinations would have any effect on anything in that state.

I have saved my xorg.conf file now on my desktop, after my rebuild of Ubuntu today. Maybe it'll be like a good-luck talisman and ward off the evil software gods ;-)
Appreciate you help with all of this.
Your's is most def a Mark one... you can go to config.toughbook.com for the configurator... It doesn't tell you what mark it would be but being that your model number is the beginning of the list for the first letter then you know that it's a mark 1.

Re: Loading Ubuntu Linux on a CF-18

Posted: Tue Mar 31, 2009 11:57 pm
by deluxe
Well, I have the hotkeys working fine (again) after the reinstalation of everything. I don't have the nerves of steel necessary for the xorg.conf changes yet.
I did faff around with the screen rotate instructions, and discovered a worrisome event. I carefully turned off, as suggested, the effects via Rclick on the desktop etc, before activating the rotate script. On my CF-18 the screen rotates all right, but when it is rotated the mouse that was plugged in, and the touchpad both acted very weirdly. The cursor movement was quite slow, and at first I thought they were operating at an off-axis plane of 90 degrees. However, this was not the case, as I verified carefully. The movement was almost irrational, sometimes the cursor would move the way I thought, sometimes not.
Finally I haphazardly staggered the cursor back to the script, activated it again, and everything was OK again, and correctly orientated.
Also, when the desktop rotated, it then squished itself into the top two thirds of the display, it wasn't a truly executed rotation, and really wasn't something that was usable. Everything displayed like that was awfully small.

Re: Loading Ubuntu Linux on a CF-18

Posted: Wed Apr 01, 2009 9:23 pm
by Toughbook
I'm assuming that if I am running Sidux that this will all work for me?

At present I am still trying to get XP to boot first instead of Sidux... can't seem to get a straight answer. I know I need to edit the boot/grub.edit.lst file.... But with what???????????

Now I know how my 76YO mother feels when I breeze over Win XP Pro with her... She says, "Now wait a minute... Let me take notes!" (I just put tutorials on her desktop.)


So... Will all this work with Sidux? I imagine it would....

Re: Loading Ubuntu Linux on a CF-18

Posted: Wed Apr 01, 2009 11:09 pm
by marconi
Hi Rick..
I'm using Mint, a derivative of Ubuntu but should work just the same with most linux distro's.

You will have to edit grub with gedit and thru the terminal.

In Terminal, type in: sudo gedit /boot/menu.lst
it will then ask you for your admin password , it will be invisable as you type.
This should bring up gedit with menu.lst loaded up.
I would make a backup copy first as mentioned in one of these sites below.

http://www.thpc.info/how/edit_grub_menu.html
http://www.ehow.com/how_2251661_edit-gr ... buntu.html
http://grumpymole.blogspot.com/2007/05/ ... eters.html
http://boff.wordpress.com/2007/01/17/ed ... boot-menu/

Anyhow, I hope this is enough info for you to edit your file.

Also, what kind of actions or sequences are happening during your boot cycle?
Do you get the grub boot screen , I am guessing somehow it didnt want to go to your Windows when you tried to select it. While Sidux did ok.
I would also be sure of the exact partitions things are installed as I've heard that some have had this very problem and had to configure their boot file to direct it to the correct partition.
Seems I remember once when loading up my second time using linux that I didnt have my boot.ini ( I think it was ) in the boot partition. and had to reload it again. Windows came back and so did that linux load.


I hope this is of help...
Good luck

Chuck

Re: Loading Ubuntu Linux on a CF-18

Posted: Mon Apr 06, 2009 3:03 am
by marconi
Hey 9nine9

I thought I'd drop by again and say thanks for the pointers and nobles for that link he provided on NBR.
I now have my touchscreen working on my 29.
Perhaps we should write up some for the 28 and 29 threads after its all said and done
but for the most part I'm just so pleased to get the touchscreen working after months of toiling with it.
NOW, to get the HOTKEYS working.. :)

In terminal
sudo gedit etc/x11/xorg.conf

copy and paste - xorg.conf
---------------------------
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" "320" #"320"
Option "MinY" "300" #"300"
Option "MaxX" "4000" #"4000"
Option "MaxY" "3800" #"3800"
#Option "Mode" "absolute"
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

Remember the following while doing the calibration:
MinX is the left part of the screen
MinY is the top of the screen
MaxX is the right part of the screen
MaxY is the bottom

Save after each change then ctrl-alt-backspace to restart the X server between
changes so the you wont have to continuosly reset the pc everytime ...saves some time.

Maybe someone should send a report to get the HAL rewritten .
Maybe then the ev calibration menu will work.

Anyhow, thanks a bunch bro...

Chuck

Re: Loading Ubuntu Linux on a CF-18

Posted: Mon Apr 06, 2009 4:17 am
by tomcat57
Thanks for the update Chuck ,good post

Alex

Re: Loading Ubuntu Linux on a CF-18

Posted: Mon Apr 06, 2009 7:23 pm
by nine
Thanks for the info. I'm going to be trying to get it working on my 29 soon, and it's really nice to have a starting point. You might try the Hotkey stuff for the 18 on your 29. I know it works on a 27 and 28 (and was origonally written for yet another model), so it may work fine on a 29.

nine

Re: Loading Ubuntu Linux on a CF-18

Posted: Thu Apr 09, 2009 9:55 pm
by marconi
nevermind.. I was going to post something here but lost it
Trying to use ubuntu's superfine navigation and PRESTO..all gone.
Its all prettymuch about linux terminal problems.

I think I'll start over on a new thread
Thank You

Re: Loading Ubuntu Linux on a CF-18

Posted: Wed Apr 15, 2009 6:34 pm
by deluxe
Want to give a warning to anyone trying to make their touchscreen work under Ubuntu if they have a Mk1 CF-18. I have followed the proceedure faithfully twice now as detailed in the first post on this thread. Both times after editing the xorg.conf file to bring it in line with the example xorg.conf file given, my machine froze, accepting no input from keyboard or mouse.
This made things difficult, as you can imagine. YMMV.

Re: Loading Ubuntu Linux on a CF-18

Posted: Mon Jul 13, 2009 1:20 pm
by TheVigilante
My CF-18 MK2's touchscreen stops working, including my usb mouse and touchpad when I add the part of:
Section "InputDevice"
Identifier "TouchPad"

When I leave the touchpad parts out it seems to work, only when I move my finger across the screen, the cursor moves at faster speed then my finger. Is that related to leaving out the touchpad part?