Obtenir et utiliser Ubuntu 10.10

Veuillez noter qu'Ubuntu 10.10 n'est plus une version activement soutenue depuis le 10 avril 2012. Ceci signifie que plus aucune mise à jour de sécurité n'est publiée pour cette version d'Ubuntu. Il est vivement conseillé de mettre à niveau Ubuntu vers une version ultérieure, toujours activement soutenue.

Néanmoins, il n'y a pas de date d'arrêt de fonctionnement à votre système Ubuntu : les versions d'Ubuntu arrivées en fin de vie sont toujours techniquement fonctionnelles. Il n'y a pas de mécanisme bloquant artificiellement le fonctionnement de votre système Ubuntu, et vous pouvez continuer à l'utiliser en connaissance de cause, jusqu'à ce que vous décidiez à mettre à niveau votre système d'exploitation. Notez que les dépôts officiels ne proposeront bientôt plus de paquets/logiciels pour Ubuntu 10.10. Ceux-ci seront migrés vers un dépôt d'archives, destinés à contenir les logiciels des versions obsolètes d'Ubuntu. Les paquets de ces dépôts ne sont évidemment plus mis à jour; ils vous permettent seulement de continuer à utiliser la Logithèque ou tout autre système d'installation de logiciels.

  • Pour récupérer un CD-ROM d'installation d'Ubuntu 10.10, accédez au serveur de téléchargement des versions archivées.

  • Pour installer des logiciels, modifiez votre fichier de sources de logiciels (/etc/apt/sources.list) afin de le faire pointer vers les serveurs d'archives:
    deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
    #deb-src http://old-releases.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
    
    deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
    #deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
    
    deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
    #deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
    
    deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
    #deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
    
    deb http://old-releases.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
    #deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse

Installing Ubuntu 10.10 on the Asus EeePC T91 / T91MT

The T91MT works fine with Ubuntu but does require some tweaks to get it usable.

Ubuntu 10.10 (Maverick Meerkat) Information

  • There is now a PPA supporting multitouch drivers on Maverick. There is also a deb for the Maverick T91MT single touchscreen drivers on the ubuntu forums. The Ubuntu devs working on touch input now have a T91MT so hopefully we will get better out of the box support. T91 touchscreen should run out of the box without issues.

  • Rotate button needs some workarounds (see below). /etc/acpi/rotatescreen.sh fires ok but nothing happens due to a typo in the getXconsole function. There are also permission issues, it seems adding a xhost command to a startup script can help. Manual rotation with 'xrandr -o left' works and there is a gnome monitor applet (System>Prefrefrences>Monitor>Show monitors in panel but the xinput options for the rotated touch screen needs to be updated.
  • The EMGD video drivers now work on Maverick in addition the the PSB ones. They are far from the proper Gallium3D drivers we where hoping for but they do seem to support Compiz and xv video playback (hopefully they will also allow Unity to run). There is a installation script and repo. EMGD does not support XRandR runtime rotation, although there is an Xorg.conf setting.
  • The backlight keys now work better for me with the grub flags. Previously dimming all the way down and backup again and/or trying to go past 100% was required to unlock the full range and it wouldn't go under %50. It's still missing the first 3 levels of brightness but the main range works fine.

  • Just about everything else works the same as 10.04.

Installing [10.10 / 10.04 / 9.10]

Probably the easiest was to install is to create a USB/SD Live disk using 'usb-creator-gtk' to put an Ubuntu iso onto a USB drive or SD card (unless you have an external USB cdrom). The 'usb-creator-gtk' is included with a default Ubuntu install and is also on the Ubuntu LiveCD so you can use it without having a desktop Ubuntu install. It can be found in “Applications>System>USB Startup Disk Creator”. Simply run it on a normal desktop system, give it the drive you wish to install to and your iso image.

Put the SD Card or USB drive into the EeePC, ensure that you are booting from a cold boot (sometimes the system seems to skip the initial BIOS/EFI). You will know that you are getting a full cold boot by the grey ASUS splash screen that comes up. When the screen appears keep loan modification tapping the ESC key. Select the drive with your Ubuntu Live disc on and hit enter.

You should now boot to a normal Ubuntu LiveCD environment and can install as you would any other Ubuntu distro.

Be careful not to choose the option to use the whole drive, or erase the 16MB /dev/sda2 partition as that contains the EFI code.

Fixing the video resolution [10.10 / 10.04 / 9.10]

Unfortunately the T91 series use an Intel GMA500 aka Poulsbo video chip. This uses fairly terrible proprietary non-redistributable drivers with binary blobs due to components being from PowerVR (with some opensource components to wrap around them). Hopefully in future we might see some better drivers from Intel since they are pushing their Moblin/MeeGo Linux distribution but right now the GMA500 drivers are listed as deprecated in the Moblin source tree, there was rumors of GMA500 drivers in Moblin 2.0 but they didn't seem to appear. The GMA500 is also used in the popular Dell Mini 9 netbook, Dell also recently adding support for Ubuntu. So perhaps in future we will get some proper drivers.

Fortunately there are some scripts that allow for easy installation of the proprietary drivers.

Make sure your linux-headers-generic are up to date, for some reason they didn't automatically update when I did the apt-get upgrade after installing the backports modules. It might be worth while running:

 sudo apt-get update; sudo apt-get upgrade; sudo apt-get install linux-headers-generic

The Ubuntu Wiki Way [10.10 / 10.04]

Right now there are some slightly broken drivers. Normal XV video playback doesn't work however VAAPI hardware accelerated playback works fine. If you use a vaapi build of mplayer you should be ok.

To install the normal GMA500 drivers:

 sudo add-apt-repository ppa:gma500/ppa && sudo apt-get update && sudo apt-get install poulsbo-driver-2d poulsbo-driver-3d poulsbo-config

VAAPI accelerated video playback [10.10]

The PSB repo contains patched mplayer and gnome-mplayer with hardware accelerated VAAPI video output support.

 sudo apt-get install mplayer gnome-mplayer

If you experience video corruption (jittery playback, blocks), use the '-vfm xvid' flag. You may also find that some screen updates (such as from terminal output) draw over the window causing them to flicker ontop of the video. Just ensure that the video playback window is the only one link building maximized on the desktop. You can add the following to /etc/mplayer.conf

 vfm=xvid

720p playerback can be speed up by locking it to 24fps with: -lavdopts fast:skiploopfilter=all -fps 24

There is also a vlc but it seems to suffer from the stuttering, blocky output that is fixed in mplayer with the vfm command.

EMGD Drivers [10.10]

There are some experimental EMGD drivers that seem to require a newer version of xorg. They support Xv video playback and Compiz. The brightness keys seem to stop working with these drivers.

wget dl-web.dropbox.com/u/1338581/emgd/install.sh && sudo sh ./install.sh

Synaptic Touchpad

To enable to finger scroll and other feature .on the Synaptic touch pad.

Edit /usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi and add the following before the final </match>:

     <merge key="input.x11_options.SHMConfig" type="string">On</merge>
     <merge key="input.x11_options.EmulateTwoFingerMinZ" type="string">40</merge>
     <merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>
     <merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
     <merge key="input.x11_options.TapButton1" type="string">1</merge>
     <merge key="input.x11_options.TapButton2" type="string">3</merge>  <!--2 finger tap -> middle click(3) -->
     <merge key="input.x11_options.TapButton3" type="string">2</merge>  <!--3 finger tap -> right click(2). almost impossible to click -->
     <merge key="input.x11_options.CircularScrolling" type="string">true</merge>

It might be worth skipping the last CircularScrolling line since it can cause problems when moving and is kind of redundant with the other scrolling.

Touchscreen (T91MT) (multitouch) [10.10]

There is now a PPA supporting multitouch on Maverick.

sudo add-apt-repository ppa:utouch-team/utouch
sudo apt-get update
sudo apt-get install hid-mosart-dkms

Touchscreen (T91MT) (singletouch) [10.10]

Download the tar.gz file from the Ubuntu forums post. Extract the .deb from it and install with:

 tar zxvf multitouch-kernel-source-maverick.tar.gz
 sudo dpkg -i multitouch-kernel-source_1.555-t91mt_all.deb

Touchscreen (T91MT) (singletouch) [10.04]

Add the multitouch PPA:

 sudo add-apt-repository ppa:chasedouglas/multitouch
 sudo apt-get update 
 sudo apt-get install multitouch-kernel-source

Edit /usr/src/multitouch-1.5/drivers/hid/hid-core.c Comment out line 1554 so it looks like:

 //{ HID_USB_DEVICE(USB_VENDOR_ID_ASUS, USB_DEVICE_ID_ASUS_T91MT)},

Edit /usr/src/multitouch-1.5/drivers/hid/usbhid/hid-quirks.c Add the following line after ”} hid_blacklist[] = {”

 { USB_VENDOR_ID_ASUS, USB_DEVICE_ID_ASUS_T91MT, HID_QUIRK_MULTI_INPUT },

Recompile the multitouch drivers (this takes a while)

 sudo dpkg-reconfigure multitouch-kernel-source

Now when you reboot you should have a working touchscreen. There is also a fix below for ensuring the input is correct when rotated.

Calibrating the T91MT touchscreen [10.04]

Calibration can be done using the T101's eGalax calibrator:

 cd /tmp && wget "http://www.philmerk.de/dwl/deb/eeepc-t101mt-calibrator-0.0.2-1-i386.deb" && dpkg -i eeepc-t101mt-calibrator-0.0.2-1-i386.deb

Then run with:

 sudo egalax_calibrator_x11

Or the the “System>Administration>Calibrate touch screen” menu entry.

See Also

Avec xUbuntu 15.10

Premiere solution.

Aller dans "raccourcis clavier" dans le panneau de configuration "clavier".

faire "ajouter". Remplir  la boite de dialogue avec:

xrandr -o right

ou normal; left; inverted

Répondre à la seconde boite de dialogue avec en appuyant sur la touche "rotate" en bas de l'écran.

et voilà (dans un permier temps)

la suite

editer un script:

/usr/bin/xrandr -o left

INPUTDEV="9"

 xinput set-int-prop $INPUTDEV "Evdev Axes Swap" 8 1

 xinput set-int-prop $INPUTDEV "Evdev Axis Inversion" 8 1 0

esac

 

Screen Rotate Button [10.10 / 10.04 / 9.10]

To get the little silver rotate screen stud working. Create ”/etc/acpi/events/asus-rotate-t91” and add the following to it:

 event=hotkey (ATKD|HOTK) 0000007b
 action=/etc/acpi/rotatescreen.sh

Make sure you have “acpi_osi=Linux” in /etc/defaults/grub (at least in 10.04).

Changing vertical orientation [10.10 / 10.04 / 9.10]

If you want to flip the direction that it rotates into (which makes it easier to grab the stylus from the top right rather than the bottom left when in tablet mode), edit '/etc/acpi/rotatescreen.sh' and change the 2 bits that read 'right' to 'left'. Make sure you do this before the fix rotated input step.

 sudo sed -i 's/right/left/g' /etc/acpi/rotatescreen.sh

Fixing broken rotation script & permissions [10.10]

Maverick broke the rotation script. To fix it: Edit /usr/share/acpi-support/power-funcs and remove the extra ) after $displaynum on line 9.

Edit /etc/acpi/rotatescreen.sh and replace the entire loop at the end with:

 /usr/bin/xrandr -o $NEW_ROTATION
 echo $NEW_ROTATION > /var/lib/acpi-support/screen-rotation

The rotated input fix should go *after* that.

Finally you also need to add the following command to a startup script for your xorg session (including the colon):

  xhost local:

Just create a file with the command, make sure it's +x and add it to the list in System>Preferences>Startup Applications.

Fix rotate touchscreen input [10.10 / 10.04]

Add the following to the end of /etc/acpi/rotatescreen.sh to ensure that input axis are also correctly rotated.

 INPUTDEV="9"
 ROTATION=`cat /var/lib/acpi-support/screen-rotation`
 case $ROTATION in
     normal) xinput set-int-prop $INPUTDEV "Evdev Axes Swap" 8 0
        xinput set-int-prop $INPUTDEV "Evdev Axis Inversion" 8 0 0;;
     left) xinput set-int-prop $INPUTDEV "Evdev Axes Swap" 8 1
        xinput set-int-prop $INPUTDEV "Evdev Axis Inversion" 8 1 0;;
     right) xinput set-int-prop $INPUTDEV "Evdev Axes Swap" 8 1
        xinput set-int-prop $INPUTDEV "Evdev Axis Inversion" 8 0 1;;
     inverted) xinput set-int-prop $INPUTDEV "Evdev Axes Swap" 8 0
        xinput set-int-prop $INPUTDEV "Evdev Axis Inversion" 8 1 1;;
 esac

See Also

Grub Tweaks, backlight keys [10.10 / 10.04 / 9.10]

Edit /etc/default/grub and change the GRUB_CMDLINE_LINUX_DEFAULT line:

 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pciehp.pciehp_force=1 pciehp.pciehp_poll_mode=1 elevator=deadline acpi_backlight=vendor acpi_osi=Linux"
  • quiet splash - These are the default options, quite stops the text appearing on the console while booting. splash enables the fancy bootsplash graphics, change it to nosplash if you want to disable (You might see some load improvements?).

I'm not to clear on the pcie options, they seem to contradict each other and my setup worked fine without them. However some people claim it helps stop a random freezing problem they are having. It also might have something to do with the wifi key but that was also working for me out of the box, might be other EeePC models need it.

  • pciehp.pciehp_force=1 - Forcibly enable PCIE hotplug support on a slot even if the firmware provides no support for it.

  • pciehp.pciehp_poll_mode=1 - Forcibly enable listening for PCIE hotplug events on a slot even if the firmware provides no support for it. Unlike pciehp.force, does not provide user interface for triggering hotplug events.

  • elevator=deadline - scheduler disables the tweaks that are normally applied to magnetic platter drives but will re-order reads and writes to decrease latency. If you want to save a small amount of battery and sacrifice some SSD responsiveness, change it to “elevator=noop” which doesn't do any reordering.

  • acpi_backlight=vendor - Enables the back light keys to work. They don't go all the way down though and changing between the rotate modes resets it to maximum brightness until you toggle the key (Maybe fixable with a rotatescreen.sh hack).

  • acpi_osi=Linux - Seems to be needed to get the rotate screen stud to work.

Apply the settings with:

 sudo update-grub