This topic is intended to serve as an information repository about Linux installation and configuration on the OQO. I start by reporting my experiences and sharing my configuration. The idea is that we share installation and configuration information, report issues and provide solutions. Also important is that we limit the discussion on installation/configuration issues and solutions and not stray to other things.
Jesus Arango
jarango at cs dot arizona dot edu
---------------- Summary ---------------------
I have installed debian with good results. Other people would have you believe that "it just works" out of the box but this is not true. Here is a summary:
- kernel version >= 2.6.10 highly recommended. Trackstick will not work with previous versions.
- trackstick: works. you need kernel >= 2.6.10 and use the 'i8042.noloop' kernel parameter. Will not work with kernels < 2.6.10. The credit here goes to "Milan" ... Thanks.
- X11 works with a little tweaking. My XF86Config-4 is posted below. Resolution needs to be 800x480 and a corresponding modeline needs to be added to the Monitor section. Video device is "siliconmotion" but I am using "vesa" because I could not come up with a modeline that would work properly with the "siliconmotion" driver. If you have a working modeline for the "siliconmotion" please share it with us.
- cosole output: works but you need the vga=0xf05 kernel parameter. Without this parameter the bottom of the display will be blank.
- WiFi: Works, buggy, only works exporadically, could not reproduce working results. If you have this working reliably than please let us know how. This is an Atmel AT76C505A USB WiFi. There are two third party drivers available. The kernel source also has an Atmel drivers but it seems to me that it does not support USB devices. I would recommend first trying the driver at link Before compiling add the vendor/product ID of the OQO wifi device to the file ~/src/includes/usb/config.h. "lsusb" will report that the vendor/product ID is 0x1557/0x0002. The driver's site says that if you are running a 2.6 kernel than you need to apply a pacth (available on the website) to the kernel source before compiling the driver. I would like to add that as of version 2.6.7 this patch is no longer needed. There is another driver available at link To use this driver you also need to install the firmware from link Before compiling you need to add the vendor/product ID to ~/at76c505a-rfmd2958.c.
- stylus: I suspect this works but I have put minimal effort into this. Here is what I know: It is a wacom device accesible through /dev/ttyS0 (serial port) and you need an "InputDevice" section for it in your XF86Config-4. See link Milan reported on another topic that he has the wacom working and perhaps he could share the configuration with us.
---------------- Notes on Debian Installation -----------------
I installed Debian by first doing a minimal install with the netinstall CD then compiling and installing the WiFi driver to do the rest of the installation through my wireless network.
You should get the latest copy of the netinstall CD from link I first tried to use a few-months old netinstall CD and the installation program would not even complete the booting sequence. You will also need the first full CD of the debian distro (sarge-i386-1.iso) to install gcc, make, patch, wireless-tools, bzip2. You need bzip2 to untar the kernel sources that you will need to compile the WiFi driver. Be aware that some external CD drives will not boot. I used a Plextor PX-716UF. I used a USB jumpdrive to copy the WiFI and kernel sources to the OQO. Just plug it in and "mount /dev/sda1 /mnt"
------------ XF86Config-4 ------------------
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "keyboard1"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "mouse1"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "device1"
# Driver "siliconmotion"
Driver "vesa"
EndSection
Section "Monitor"
Identifier "monitor1"
HorizSync 30-92
VertRefresh 50-85
Option "DPMS"
Modeline "800x480" 40 800 864 928 1088 480 481 484 509 +HSync
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "layout1"
Screen "screen1"
InputDevice "keyboard1"
InputDevice "mouse1"
EndSection
Section "DRI"
Mode 0666
EndSection
Jesus Arango
jarango at cs dot arizona dot edu
---------------- Summary ---------------------
I have installed debian with good results. Other people would have you believe that "it just works" out of the box but this is not true. Here is a summary:
- kernel version >= 2.6.10 highly recommended. Trackstick will not work with previous versions.
- trackstick: works. you need kernel >= 2.6.10 and use the 'i8042.noloop' kernel parameter. Will not work with kernels < 2.6.10. The credit here goes to "Milan" ... Thanks.
- X11 works with a little tweaking. My XF86Config-4 is posted below. Resolution needs to be 800x480 and a corresponding modeline needs to be added to the Monitor section. Video device is "siliconmotion" but I am using "vesa" because I could not come up with a modeline that would work properly with the "siliconmotion" driver. If you have a working modeline for the "siliconmotion" please share it with us.
- cosole output: works but you need the vga=0xf05 kernel parameter. Without this parameter the bottom of the display will be blank.
- WiFi: Works, buggy, only works exporadically, could not reproduce working results. If you have this working reliably than please let us know how. This is an Atmel AT76C505A USB WiFi. There are two third party drivers available. The kernel source also has an Atmel drivers but it seems to me that it does not support USB devices. I would recommend first trying the driver at link Before compiling add the vendor/product ID of the OQO wifi device to the file ~/src/includes/usb/config.h. "lsusb" will report that the vendor/product ID is 0x1557/0x0002. The driver's site says that if you are running a 2.6 kernel than you need to apply a pacth (available on the website) to the kernel source before compiling the driver. I would like to add that as of version 2.6.7 this patch is no longer needed. There is another driver available at link To use this driver you also need to install the firmware from link Before compiling you need to add the vendor/product ID to ~/at76c505a-rfmd2958.c.
- stylus: I suspect this works but I have put minimal effort into this. Here is what I know: It is a wacom device accesible through /dev/ttyS0 (serial port) and you need an "InputDevice" section for it in your XF86Config-4. See link Milan reported on another topic that he has the wacom working and perhaps he could share the configuration with us.
---------------- Notes on Debian Installation -----------------
I installed Debian by first doing a minimal install with the netinstall CD then compiling and installing the WiFi driver to do the rest of the installation through my wireless network.
You should get the latest copy of the netinstall CD from link I first tried to use a few-months old netinstall CD and the installation program would not even complete the booting sequence. You will also need the first full CD of the debian distro (sarge-i386-1.iso) to install gcc, make, patch, wireless-tools, bzip2. You need bzip2 to untar the kernel sources that you will need to compile the WiFi driver. Be aware that some external CD drives will not boot. I used a Plextor PX-716UF. I used a USB jumpdrive to copy the WiFI and kernel sources to the OQO. Just plug it in and "mount /dev/sda1 /mnt"
------------ XF86Config-4 ------------------
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "keyboard1"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "mouse1"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "device1"
# Driver "siliconmotion"
Driver "vesa"
EndSection
Section "Monitor"
Identifier "monitor1"
HorizSync 30-92
VertRefresh 50-85
Option "DPMS"
Modeline "800x480" 40 800 864 928 1088 480 481 484 509 +HSync
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "layout1"
Screen "screen1"
InputDevice "keyboard1"
InputDevice "mouse1"
EndSection
Section "DRI"
Mode 0666
EndSection