RSS Feed

OSS Ramblings

http://www.ossramblings.com/installing-ubuntu-archos-9-tablet

 

Installing Ubuntu on the Archos 9 Tablet

Why bother with a locked-in iPad if you're a true technohead, when you can install Ubuntu on the Archos 9 Internet Tablet? The Archos 9 has several flaws, mostly surrounding the installed software. People say it's slow, but really with something other than "Windows Starter" it's actually pretty peppy. The internal hard drive is a bit slow, so I replaced mine with an SSD so I don't have to worry about a physically spinning drive anymore in my hands, and I get better performance.

Installing Ubuntu on it isn't for the weak kneed, but it's not that tough either. Here's a step by step to get you up and running.

Get Ubuntu

First, you'll need a working Ubuntu desktop, and the the ISO file to the Ubuntu Lucid Netbook Edition. No, it's not called "Remix" anymore.

Use the "Startup Disk Creator" under the administration tools on your desktop to install that ISO on a USB stick making it a bootable USB device.

Attach a USB hub to the Archos 9, along with a keyboard and mouse. Some tutorials may tell you to install a Linux-friendly USB wireless card, but that's not necessary - I'll show you how to install the wireless drivers from the USB stick later.

At first the touchscreen won't work, which is why we'll want the keyboard and mouse. Plug your new Ubuntu Netbook Edition USB stick into the usb hub as well and boot up your Archos.

Install Ubuntu just like you would on any other device. Be sure to tell it to automatically log you in at boot.

After install, remove the USB stick temporarily and boot into your new install. Your screen will be a bit stretched at first, but we'll get to video drivers in a minute.

Installing Wireless Drivers (the easy way)

After booting, plug the USB stick back into the hub. On the Archos, pick "System" then scroll down to "Synaptic Package Manager." Yes, the scroll bar seems backwards because it's designed for a touch screen.

After Synaptic opens, go to "Settings" and "Software Sources." On the "Ubuntu Software" tab, uncheck everything. On the "Other Software" tab add the following repository:

deb file:///media/Ubuntu lucid main restricted

Close the "Software Sources" dialog and click "Reload".

Search for the following package and install it:

bcmwl-kernel-source

Afterwards, remove the USB stick and reboot. Now the wireless will work.

Installing Video Drivers

After rebooting go back into Synaptic, on the "Ubuntu Software" tab check "main", "universe", "restricted" and "multiverse". On the "Other Software" tab uncheck the "file" line we just added and now add this repository:

ppa:gma500/ppa

Close and click "Reload".

Search for "poulsbo" and install the following packages:

poulsbo-driver-2d
poulsbo-driver-3d
poulsbo-config

While in there, let's install a couple of other accessibility apps we will likely want such as:

cellwriter
easystroke

Preventing xorg Crashes

Now it gets a bit tougher. We want to open a console under "Accessories".

We need to set a few options in the /etc/X11/xorg.conf file.

sudo nano /etc/X11/xorg.conf
Make yours include the following:
Section "Device"
     Identifier    "Configured Video Device"
     Driver        "psb"
     Option        "ShadowFB"  "True"
     Option        "DRI"       "off"
EndSection

Also, edit your grub startup line:

sudo nano /etc/default/grub

Make sure the "GRUB_CMDLINE_LINUX_DEFAULT" line looks like this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem=980mb i8042.nomux=1"

The last bit of that may or may not be needed. I also set "GRUB_HIDDEN_TIMEOUT=5" so I can easily pull up the recovery boot menu if I completely toast xorg. You may want to do that as well, but it will make your Archos boot slower.

Now do:

sudo update-grub

Installing Touchscreen Drivers

In the console enter the following:

sudo nano /etc/rc.local

Arrow down to just before the "exit 0" line and add the following line:

echo -n "serio_raw" > /sys/bus/serio/devices/serio1/drvctl

Press "ctrl-x" and hit "Y" to save your changes.

Continuing in the console enter the following to install the touchscreen driver:

wget http://home.eeti.com.tw/web20/drivers/touch_driver/Linux/20100413/eGalaxTouch-3.01.4001-32b-k26.tar.gz
tar -zxvf eGalaxTouch*
cd eGalaxTouch32
./setup.sh

Select PS/2 by pressing 2 when asked.

Calibrating the Touchscreen

Now, restart, and after booting open a console and enter:

sudo eGalaxTouch
This will let you calibrate the touchscreen. On the "Tool" tab click "Linearization" and pick 25 points. It will then step you through calibrating the screen.

You can now use the "Keyboard Shortcuts" application in the System menu to define your hardware buttons.

There you go, you should now be able to remove the USB hub, keyboard and mouse and boot your new tablet. Most of this could probably be placed into a script, but at this point the Poulsbo driver is unstable enough I think that unleashing it on the average joe without enough experience to go through this list would be dangerous.

NOTE:

The eGalaxyTouch drivers cause xorg to crash when you connect any new keyboard devices after booting. If anyone has any information on how to fix this, please post it in the comments!



Poulsbo working 3D & touchpad

Hey, thanks for this nice tutorial! I'm wondering about 2 things:
1) Do you have *full* Poulsbo acceleration, also 3D? I installed the yvesdm3000 way, and now I seem to have semi-acceleration (2D is a lot faster than in VESA, but 3D, glxgears etc is slow as hell!). Also loaded and compiled pretty much everything VA-API, but mplayer with -vo vaapi just returns a -1 error and does not seem to recognize the Poulsbo as valid VAAPI GPU... I'm wondering if installing it via PPA like you did fully works (and circumvents the xorg 1.7.6 bug that yvesdm3000 posted in the archosfans-thread!)

2) the micro-touchpad won't work. and it seems I'm not the only one with that problem. Does it work for you?

1) - Nope - 2D only. I even

tony's picture

1) - Nope - 2D only. I even tried the "fix" PPA to no avail. I wasn't that interested in video and 3D though, so I haven't stressed over it.

2) - That's correct, it does not work. It appears that the touchscreen and micro-touchpad are sharing the same device interface, and since we are having to force it to be a PS/2 device in Linux it's dumping the touchpad portion. The mouse buttons on the left edge don't work either, and they don't report any input at all that I can detect anywhere. I've emailed the touch screen creators with a few bug reports / questions regarding their Linux drivers and haven't heard back yet.

Aha...

That explains it all, both devices on the same interface, ofcourse, thx! ;-) Gonna shoot off a mail to the eGalax guys myself to show them there's demand for this! I think that micro-touchpad is really neat, i prefer it to the touchscreen actually in most usage scenarios, so I really want this to work! Btw: did you notice it actually works in GRUB? ;-) Select your option with the micro-touchpad, confirm with mousebuttons!

btw: yvesdm3000 elaborates a bit more on the whole FullGL/Xorg bug issue over on the archosfans forum...

Didn't try it in Grub, but

tony's picture

Didn't try it in Grub, but doesn't surprise me. Until the rc.local runs and sets the driver type to serial, the micro-touchpad works like a mouse.

I've sent them my crash logs and a video of how you can crash Xorg by plugging in a USB mouse or keyboard. Hopefully I'll hear back something in a few days on that.

Nice howto! If you want

yvesdm3000's picture

Nice howto!

If you want opengl working, you can go for the gma500/fix repository. It now has the driver that overcomes the xorg bug.

In a couple of days I'll start doing some quality tests as I seem to notice a lot of people are having issues with the OpenGL part and it is working pretty well here. Don't forget to replace the netbook-launcher with the EFL version, works much better and is a nice launcher for touchpads (nice big icons to tap). There is also a stability reason why you should do that!

For the little mouse at the right, you are right it is not yet working. As soon as all the poulsbo stuff is tackled, I'll start working on that. I want to make an evdev driver instead of all those module stuff and kernel parameters...

-Yves

Ubuntu ARM Install

someonenone's picture

Nice walkthrough on installing Ubuntu on Archos 9 Tablet. Do you know if Ubuntu can be installed on Archos 5 Internet Tablet? If so how, and would you post a walkthrough? Thank you!

Jolicloud

Cynthia's picture

Jolicloud wifi works out of the box. I'm following the touchscreen directions now to see if it will work. I don't see much of a difference with jolicloud and lucid for using terminal to tweak them.

i have jolicloud as well sng

jolicloud 2's picture

i have jolicloud as well sng my video works out of the box so i only followed ur instructions on installing the touch screen driver now egalax is trying to run the calibration but it freezes and my terminal keeps saying bad window and bad drawable

any ideas?

Post new comment

The content of this field is kept private and will not be shown publicly.
If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <p>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
Are you a BOT? What's this say?
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.

 
 
 




Image 01 Image 02 Image 03