Compiling and using MHEG Engine Redbutton

February 3rd, 2010

Warning : This only works on 32bit linux. See here for a patch to make it work on mandriva 64bit - probably will work on other distros

Downloading and compiling redbutton
Download redbutton-download and redbutton-browser from http://sourceforge.net/projects/redbutton/files/.

I used version 20090727 of redbutton-download and version 20091202 redbutton-browser.

You will need gcc,make and the usual. On my arch system it compiled without needing anything, so I can't be of much help with dependancies, but on ubuntu karmic koala (9.10) I had to install all of these to get it running!

sudo aptitude install expat libxslt-dev libxslt1.1 libxslt1-dev freetype2 ffmpeg libpng libexpat1-dev libpng12-dev libavdevice-dev libavfilter-dev libavformat-dev libavifile-0.7-dev libavutil-dev libxt-dev libasound2-dev libswscale-dev x11proto-xext-dev libxext-dev

Untar both packages with tar xzvf and then in both new directories type make.

redbutton-download is the server, it needs to be run on a pc with a DVB card. redbutton-browser can be run on any other pc (it will need a pretty fast cpu if you don't want to drop frames and a good network connection goes without saying).

Installing DVB card - on Arch Linux (should be very similar on Ubuntu)
This is for my Asus Eee-pc My Cinema U3100 Mini DVB-T USB stick
tail -f /var/log/messages
plug the device in and check what driver it wants. Find that driver and install it. For my stick I needed dvb-usb-dib0700-1.20.fw which you can install from the AUR using this package in Arch Linux - dib0700-firmware
pacman -S linuxtv-dvb-apps
packer -S dib0700-firmware
Once installed unplug and replug the device. Watching your /var/log/messages file should show the firmware being loaded
Have a look at here and you should see something like this :

[brendan@baldwin ~]$ ls -la /dev/dvb/adapter0/
total 0
drwxr-xr-x 2 root root 120 Feb 2 17:05 .
drwxr-xr-x 3 root root 60 Feb 2 17:05 ..
crw-rw----+ 1 root video 212, 4 Feb 2 17:05 demux0
crw-rw----+ 1 root video 212, 5 Feb 2 17:05 dvr0
crw-rw----+ 1 root video 212, 3 Feb 2 17:05 frontend0
crw-rw----+ 1 root video 212, 7 Feb 2 17:05 net0

Making the channels.conf file
By default, redbutton will look in ~/.tzap for dvb-t and in /etc

Choose your nearest transmitter and make the config file.

scan /usr/share/dvb/dvb-t/uk-MyClosestTransmitter | tee ~/.tzap/channels.conf

Starting the program

On the server pc, you will need to install dvbtune if you don't allready have it (ubuntu has its own package for it). Notice my dvbtune arguments come from my channels.conf settings and are solely because my card is not too bright. Yours may only need the -f argument.
Find a channel that you want to start with (it won't start without one). So I did cat channels.conf | grep NEWS and found bbc news was on 4415.

sudo aptitude install dvbtune
dvbtune -f 641833330 -qam 16 -cr 3_4 && ./rb-download 4415

On the client pc (no need for a different pc, if not then forget the -r argument) run
At default the program runs on port 10101 but it can be changed on launch of rb-download

./rb-browser -r ip_of_client_machine

Note: 'r' seems to bring up the EPG on bbc :-)

See redbutton.sourceforge.net for a full controls listing of rb-browser and all the options of rb-download


Sources:

http://redbutton.sourceforge.net/

http://www.mail-archive.com/linux-dvb@linuxtv.org/msg21443.html


Acer Revo R3600 (ION) on Moblin 2.1 (working 100%, mutter fixed)

January 28th, 2010

This is a guide to do a full install of Moblin 2.1 on the Acer Revo R3600. I will assume that you have actually just finished installing the revo using moblin's GUI installer from a usb stick (or whatever you wanted to use). I have included premade xorg packages and kernel packages so all you need to do is install the nvidia driver and recompile mutter if you want the moblin interface.

Lazy links:
- http://madeo.co.uk/moblin/kernel_moblin2.6.31.tar.gz
- http://madeo.co.uk/moblin/xorg_moblin1.6.4.tar.gz
- http://madeo.co.uk/moblin/mutter_moblin2.28.1.tar.gz

Part 1 - Booting
First thing is, you'll want to be able to boot. To do this, it's not hard but I can never get to the escape key in time. If you manage to, then edit the line and take away the 'vga=current' and add a lone 3 at the end. You should then boot in init 3 mode. Notice the weird colours in the first agetty session. Clearing the terminal will resolve those. Also you won't have a prompt, but that's not too annoying if you use ssh.

Part 2 - Ethernet
Out of the box, the ethernet doesn't work :-( This means we need to recompile the kernel with the ethernet driver forcedeth. Here is how to do it :

Be carefull, rpmbuild will fail if you run it as root unlike in previous builds.
Because you have no network to compile this kernel, either use another moblin pc, or a VM to compile the rpms or copy all these rpm's on a usb stick you will need all these dependencies.

sudo yum install rpm-build diffutils moblin-rpm-config patch binutils cpp cpp43 gcc gcc-c++ gcc43 gcc43-c++ glibc-devel glibc-headers kernel-headers libgomp43 libstdc++43-devel make mpfr mpfr-devel binutils-devel elfutils-libelf-devel elfutils-libelf-devel-static perf

Now you will be able to install the kernel.

rpm -ivh kernel-2.6.31.5-10.1.moblin2.src.rpm
cd ~/rpmbuild/SOURCES

Edit the file config-generic and add the following lines to the file

CONFIG_FORCEDETH=y
CONFIG_FORCEDETH_NAPI=y

Now we build the kernel

cd ~/rpmbuild/SPECS
rpmbuild --target=i586 -bb kernel.spec
cd ../RPMS

You now have the kernel rpms. For this job, I recommend just using kernel-netbook so :

rpm -ivh --force kernel-netbook-2.6.31.5-10.1.moblin2.i586.rpm kernel-netbook-devel-2.6.31.5-10.1.moblin2.i586.rpm perf-2.6.31.5-10.1.moblin2.i586.rpm

If you're not difficult the kernel_moblin2.6.31.tar.gz package will do just fine. Links are at the start of the post.

Part 3 - Recompiling Xorg

sudo yum install "pkgconfig(scrnsaverproto)" "pkgconfig(xtrans)" "pkgconfig(libdrm)" "pkgconfig(randrproto)" "pkgconfig(renderproto)" "pkgconfig(kbproto)" "pkgconfig(glproto)" "pkgconfig(fixesproto)" "pkgconfig(dri2proto)" "pkgconfig(damageproto)" "pkgconfig(xf86driproto)" "pkgconfig(xcmiscproto)" "pkgconfig(bigreqsproto)" "pkgconfig(resourceproto)" "pkgconfig(compositeproto)" "pkgconfig(resourceproto)" "pkgconfig(evieproto)" "pkgconfig(xf86dgaproto)" "pkgconfig(xf86vidmodeproto)" "pkgconfig(xkbfile)" "pkgconfig(xres)" "pkgconfig(xau)" "pkgconfig(xext)" "pkgconfig(xfont)" "pkgconfig(fontenc)" "pkgconfig(xdmcp)" "pkgconfig(xt)" "pkgconfig(dmx)" "pkgconfig(xmuu)" "pkgconfig(xrender)" "pkgconfig(xi)" "pkgconfig(xpm)" "pkgconfig(xaw7)" "pkgconfig(xfixes)" "pkgconfig(xv)" "pkgconfig(pixman-1)" "pkgconfig(gl)" "pkgconfig(x11)" "pkgconfig(openssl)" "pkgconfig(pciaccess)" "pkgconfig(hal)" "pkgconfig(dbus-1)" byacc flex autoconf automake gcc gcc-c++ rpm-build make xineramaproto
wget http://repo.moblin.org/moblin/releases/2.1/source/xorg-x11-server-1.6.4.901-7.8.moblin2.src.rpm
rpm -ivh xorg-x11-server-1.6.4.901-7.8.moblin2.src.rpm
cd ~/rpmbuild/SPECS

edit the spec file xorg-x11-server.spec and replace
--disable-xinerama by --enable-xinerama
build the target and install it

rpmbuild --target=i586 -bb xorg-x11-server.spec
cd ../RPMS/i586/
sudo rpm -ivh --force xorg-x11-server-1.6.4.901-7.8.moblin2.i586.rpm xorg-x11-server-common-1.6.4.901-7.8.moblin2.i586 xorg-x11-server-Xorg-1.6.4.901-7.8.moblin2.i586.rpm

If you take the lazy option again and get my premade rpm's then you obviously only need to do the last bit!

Part 4 - Graphics

First we will get wget. Like openssh, not neccesary but makes the whole process alot easier.
This next part is really nice. You can finally copy and paste and use networking to your advantage! Unless you really like agetty....

sudo yum install -y openssh-server wget && /etc/init.d/sshd restart

Then we download the latest nvidia ION driver. Then you'll want to install all the dependencies. Aren't you glad you have working ethernet now?
If you've been following the guide you'll notice you have alot of these if you compiled your own kernel. I left the extras in case you took my premade rpms. Either way yum will not reinstall stuff if you allready have it.

wget http://us.download.nvidia.com/XFree86/Linux-x86/190.42/NVIDIA-Linux-x86-190.42-pkg1.run

yum install -y make gcc nbtk nbtk-devel gnome-common libtool intltool gettext-devel glib2-devel intltool gtk-doc gconf-editor gnome-doc-utils avahi-gobject-devel.i586 pygobject2.i586 pygobject2-devel.i586 mx mx-devel mx-doc pkgconfig\(mutter-plugins\) pkgconfig\(libstartup-notification-1.0\) pkgconfig\(gconf-2.0\)

sh NVIDIA-Linux-x86-195.30-pkg1.run

Accept the license and then select yes when asked if it should write it's display configuration.

Part 5 - Mutter
We will take the development version of mutter and mutter-devel. In case these change on the moblin servers I have included them at the top as another lazy link!

wget http://repo.moblin.org/moblin/development/core/ia32/os/i586/mutter-devel-2.28.1_0.4-1.2.moblin2.i586.rpm
wget http://repo.moblin.org/moblin/development/core/ia32/os/i586/mutter-2.28.1_0.4-1.2.moblin2.i586.rpm
sudo rpm -ivh --force mutter-*
wget http://git.moblin.org/cgit.cgi/mutter-moblin/snapshot/mutter-moblin-0.49.0.zip
unzip mutter-moblin-0.49.0.zip
cd mutter-moblin-0.49.0/
./autogen.sh --prefix=/usr
make
sudo make install

Done!

- If you are failing to start mutter try add a sleep before executing mutter in /etc/xdg/moblin/xinitrc

About Moblin

About Moblin

Inside the O2 Joggler

January 13th, 2010

Today I give you some nice pictures of the £99.99 flop that is the O2 joggler by OpenPeak Inc sold by O2 in the UK.

The product in itself is terrible. If you can get it connected to your network, it refuses to do anything before it updates itself. It uses some weird ports to do it's updates on, and once you have it running, you'll discover most features that are planned - well aren't there at all. Luckily O2 will be happy to just refund the thing entirely without questions! Possibly due to the fact the thing is just wholly broken.

Either way, the hardware in it is quite impressive for the money. It is based around the "Poulsbo" Intel System Controller Hub US15W. Itself and the atom CPU should take around 4.5W of power.

On the Joggler there are 512MB of DDR2 (4 x 1 Gbit chips). The wifi is simply a wifi dongle without a case plugged in to the USB port. Anyways enjoy the pictures.

FreeDOS on usb stick on Linux – for BIOS update

November 18th, 2009

To cut a long story short I managed to get Windows98 dos on a USB stick. I have no idea how to do it again. So i went and found another way - incidentally this is nicer because it doesn't require a license!

Note : This will work on any OS that has dd, so pretty much all of them, but in *nix it's usually allready there!

So take a USB stick bigger than 31MB (unformatted), and then just download, uncompress and write the FreeDOS img like this :
Note : here my usb key is in /dev/sde. It will be wiped entirely. Then /dev/xxx1 will be the DOS partition. After the 31MB the rest of the space can still be used just format it! - Windows won't be able to see it.

wget http://www.madeo.co.uk/FreeDOS-1.0-USB-Boot.img.bz2
bzip2 -d FreeDOS-1.0-USB-Boot.img.bz2
dd bs=512 if=FreeDOS-1.0-USB-Boot.img of=/dev/sde
mount /dev/sde1 /mnt
cp biosfiles /mnt
umount /mnt

Thanks to derek @ http://derek.chezmarcotte.ca/ for the FreeDOS image!

Moblin on Samsung NC10 (Non destructively for other OS’s)

November 17th, 2009

This guide is a howto install Moblin V2.1 on a system with a pre-existing OS. In this case Arch Linux on a Samsung NC10.

Use the simple instructions to download the USB image and then use dd to put it on an empty usb stick. Bare in mind that /dev/sdb1 is not a valid device so you must use /dev/sdb. And yes it will wipe the whole usb stick. You'll need a 1GB minimum stick. I did it with a spare 2GB stick but the image is ~750MB so I don't think there's any point trying it with a 512MB stick.

Boot from the stick and select language/keyboard/timezone. Next choose Custom partition layout.

I always recommend this kind of partition layout :

MBR - Any old GRUB on here. Chainloads the other 3 grubs
/dev/sda1 /boot ext2 - 200MB - For Moblin - Grub for Moblin here
/dev/sda2 /boot_nix ext2 - 200MB - For Another OS - Grub for Nix1
/dev/sda3 /boot_nix2 ext2 - 200MB - For Another OS - Grub for Nix2
/dev/sda4 EXTENDED REST OF DISK
/dev/sda5 /home ext3 - you work out how much you want for the other partitions, I like xfs but moblin only uses ext3
/dev/sda6 / ext3 - I put 20GB, but anything higher than 10GB will be fine, you can go alot lower but that's inviting trouble.
/dev/sda7 /nix xfs
/dev/sda8 /nix2 xfs

/dev/sda1 to /dev/sda3 will be primary in this case. You may find the use of ext2 strange but do you really want journalling on /boot partitions? Waste of space in my opinion so there is no need. /home can be shared between OSs so I recommend something standard like ext3.

Choose username/password (the monkey is a very nice touch from the moblin team I have to say)

All you need now is to edit your grub/menu.lst file on your grub installed on the MBR of the drive you boot on and add something similar to this (my /boot for moblin is /dev/sda1) :

title Moblin
root (hd0,0)
makeactive
chainloader +1

Backlight
Upgrade the BIOS to 11CA -

http://www.samsungpc.com/08/products/nc10/firmware.html

You need to grab one of the DOS executables. I used 11CA07D0.EXE under the title 'NC10 11CA / N110 07DO - DOS Executable'
Get the DOS exe file and just run it from DOS using a USB stick (DOS on USB stick guide)
Carefull the BIOS update it starts straight away as soon as the .exe runs. It's also really noisy ;-)
Note : ONLY on bios 11CA
Bug : There is no brightness slider see bug
Just use this to display backlight level (0-255) and the second to set it to somethign reasonable. I like 50/40.

cat /sys/class/backlight/samsung/backlight
echo 50 > /sys/class/backlight/samsung/backlight

Hibernate/Sleep
This actually works straight out of the box. Moblin just doesn't show it. Something to do with not being in the philosophy - Names should be obvious...

pm-hibernate
pm-suspend

SSH server
There is nothing difficult about this but thought I'd mention it
Note : Starting it the first time takes a little while, it's normal

sudo yum install openssh-server
/etc/init.d/sshd start

Hostname
By default your machine will be called username-desktop. To change it edit /etc/hosts with your favourite Text editor
Replace the line like below (should be the last one and replace it with your chosen hostname

127.0.1.1 name.localdomain name

How to compile Nvidia proprietary drivers on Moblin 2.1 final (Acer Revo)

November 17th, 2009

For fully working revo on moblin 2.1 go here

Todo : understand and fix the issue in Clutter to get it to work with Nvidia drivers (as previously with Moblin 2.0)

Thanks to :

  • Dominique Le Foll - dominig@fridu.net - for testing all this on Moblin 2.1
  • Li Peng - peng.li@intel.com - for his help on recompiling x11-server in a clean way
  • - Install Moblin
    It should work from the USB stick (on Acer Revo F12 during Bios test will let you slect to boot on the USB stick)

    - Boot in Text Mode (init 3)
    enter Esc during Grub initialisation (easier is to enter Esc every second during boot) to access Grub Menu
    press e to go to Edit mode press arrow down to get to the second line press e to go in Line Edit mode replace "quiet vga=current" by the digit 3 press b to boot

    log with the user and password you entered during installation

    Become root (note type "su -" the space and the "-" are important)
    sudo su -

    Installing ssh - (just to make it easier - not neccessary)

    yum install openssh-server
    service sshd start
    ifconfig

    # Become root (note type "su -" the space and the "-" are important)

    sudo su -

    # enter your user password

    cd /root

    - Install packages required to build x11-server.

    Note next line is very very LONG because escaping with "\" seems to create trouble with yum.

    yum install "pkgconfig(scrnsaverproto)" "pkgconfig(xtrans)" "pkgconfig(libdrm)" "pkgconfig(randrproto)" "pkgconfig(renderproto)" "pkgconfig(kbproto)" "pkgconfig(glproto)" "pkgconfig(fixesproto)" "pkgconfig(dri2proto)" "pkgconfig(damageproto)" "pkgconfig(xf86driproto)" "pkgconfig(xcmiscproto)" "pkgconfig(bigreqsproto)" "pkgconfig(resourceproto)" "pkgconfig(compositeproto)" "pkgconfig(resourceproto)" "pkgconfig(evieproto)" "pkgconfig(xf86dgaproto)" "pkgconfig(xf86vidmodeproto)" "pkgconfig(xkbfile)" "pkgconfig(xres)" "pkgconfig(xau)" "pkgconfig(xext)" "pkgconfig(xfont)" "pkgconfig(fontenc)" "pkgconfig(xdmcp)" "pkgconfig(xt)" "pkgconfig(dmx)" "pkgconfig(xmuu)" "pkgconfig(xrender)" "pkgconfig(xi)" "pkgconfig(xpm)" "pkgconfig(xaw7)" "pkgconfig(xfixes)" "pkgconfig(xv)" "pkgconfig(pixman-1)" "pkgconfig(gl)" "pkgconfig(x11)" "pkgconfig(openssl)" "pkgconfig(pciaccess)" "pkgconfig(hal)" "pkgconfig(dbus-1)" byacc flex autoconf automake gcc gcc-c++ rpm-build make xineramaproto kernel-netbook-devel

    you will need to enter y for Yes twice ??

    Download the source code of x11-server and install it

    curl -o xorg-x11-server-1.6.4.901-7.8.moblin2.src.rpm http://repo.moblin.org/moblin/releases/2.1/source/xorg-x11-server-1.6.4.901-7.8.moblin2.src.rpm
    rpm -i xorg-x11-server-1.6.4.901-7.8.moblin2.src.rpm

    edit the spec file /root/rpmbuild/SPECS/xorg-x11-server.spec and replace
    --disable-xinerama by --enable-xinerama

    build the target

    rpmbuild --target=i586 -bb /root/rpmbuild/SPECS/xorg-x11-server.spec

    install the newly built x11-server (-i uses only one hyphen and --force two)

    rpm -iv --force rpmbuild/RPMS/i586/xorg-x11-server-*

    download the nvidia drivers

    curl -o NVIDIA-Linux-x86-190.42-pkg1.run http://uk.download.nvidia.com/XFree86/Linux-x86/190.42/NVIDIA-Linux-x86-190.42-pkg1.run

    make the script executable

    chmod +x ./NVIDIA-Linux-x86-190.42-pkg1.run

    Run the Nvidia script

    ./NVIDIA-Linux-x86-190.42-pkg1.run

    accept Nvidia license, it will compile the kernel module and install what is needed ask Nvidia installation script to create a new xorg.conf file

    reboot!

    After a few extra second of boot you will see the Nvidia logo Any clutter application will fail to start (including Mutter) after a few restart of X you will get the Moblin 2.1 top bar.

    Hope someone will find a fix for Clutter!

    WEP network cracking using Realtek ALFA based WIFI cards

    November 17th, 2009

    There are many guides teaching people how to do this. You're probably wondering why I wrote my own. Simply put most of them are wrong/outdated and don't work anymore. This is a working one for Arch linux using aircrack-ng

    First off - WEP encryption is not a good idea. Use WPA/WAP2.
    Secondly - using people's network wether encrypted or not is illegal. So don't do it.
    Thirdly - this is purely for educational purposes. And should only be done using your equipement

    The easiest way to try this out is to get a spare router or to use a Nokia Nseries wifi capable phone as a WIFI point using JoikuSpot. Find what the MAC address of the hotspot is, it's name, and it's channel. I will use channel 11 from now on, but you will have to use whatever channel your AP is on. Incidentally a great tool to do this from a Nokia n-series is Barbelo (unsupported but still works great)

    You will need the aircrack-ng suite. Once armed with this the rest is easy. First thing to do is disable networkmanager. Just turn it off using:

    (for arch/*bsd) - /etc/rc.d/networkmanager stop
    (for ubuntu/fedora/opensuse) - /etc/init.d/networkmanager stop

    - Enter Monitor Mode on the desired Wifi card
    (this may give you a seperate network interface in my case mon0)

    sudo airmon-ng start wlan1

    - Use Airodump to monitor the networks (leave this running in the background)

    sudo airodump-ng --ivs --channel 11 mon0 --write filename

    (11 is for the channel number and --ivs is to only capture iv's)

    - Use airplay to fake a connection

    sudo aireplay-ng -1 0 -e 'NetworkName' -a MACOFAP -h MACOFWIFICARD mon0

    - After faked authentification has gone well then injection time

    sudo aireplay-ng -3 -e 'NetworkName' -a MACOFAP -h MACOFWIFICARD mon0

    (there are other types of attack that are alot faster than this. However read in aireplay-ng if you want. Since this is for educational purproses I see no need in going into more details. The AP will be directly next to you so there is no need for more sophisticated attacks)

    The trick is to get enough IVs. Basically airodump will show you a #data column for every AP arround. Watch your AP and the #data should go flying up after a while running aireplay -4. Once you get to ~10,000 for a 64bit key and 100,000 for a 128bit key then leave it running, just in case and try cracking as such :

    aircrack-ng filename.something

    The filename will be whatever you called it when running airodump. Look at the biggest file there. It will get pretty big since it is logging all IVs. The file extension might be .cap or something similar.

    If you get something then you are king. Just use the following or start network manager again and enter the key without the colons and you are good to go. Now shove your AP back to WPA and if your neighbour is using WEP offer to change it for them ;-) You can call it your good deed for the day.

    Connecting to the network using the cli as root :

    ifconfig wlan0 up
    iwconfig wlan0 essid "NetworkName" key THISISTHEKEY
    dhcpcd wlan0

    Ripping a cd easily to mp3/ogg/flac using the command line

    June 26th, 2009

    There's a really nice tool if you need to rip CD's quickly and quietly without all the gui stuff called abcde (A better CD encoder)

    This command will give you an idea of how easy it is to rip to mp3 320kb/s with titles autmatically downloaded etc...

    abcde -o mp3:"-b 320" -d /dev/cdrom1

    Her are a few supported features :
    * CDDA using cdparanoia or cdda2wav
    * Ogg Vorbis using oggenc or vorbize
    * MP3 using lame, gogo, bladeenc, mp3enc, xingmp3enc, or l3enc
    * CDDB using cd-discid, wget, and FreeDB
    * Ogg commenting using vorbiscomment
    * Tagging using id3 and id3v2
    * m3u playlists
    * Distributed remote MP3 encoding using distmp3
    * Simultaneous reading and encoding
    * SMP systems
    * Resuming interrupted sessions
    * Noninteractivity
    * Error logging of background processes
    * Various Artists discs of all types
    * Custom filename output and munging
    * Passing arbitrary options to subprocesses
    * Ejecting CD's after reading
    * Encoder nicing
    * Grabbing arbitrary ranges of tracks

    Moblin 2.0 on Acer Revo (pt1) – Nvidia Ethernet (forcedeth)

    June 23rd, 2009

    For fully working revo on moblin 2.1 go here

    This howto will serve as how you can easily add a driver that is in the linux kernel but isnt in moblin inside a custom moblin kernel.
    In this case we are going to add the forcedeth driver for the MC79 chipset than is the in the Acer Revo.

    1. Download the kernel source rpm and install it

    2. go to /rpmbuild/SOURCES/ and add these lines in config-netbook (doesnt really matter where but I put it after the ATH5K line)
    CONFIG_FORCEDETH=y
    CONFIG_FORCEDETH_NAPI=y

    if you want the drivers built as modules replace the y by m but it will mean that the kernel is a little slower to boot etc..

    3. go to ../SPECS and execute rpmbuild --target=i586 -bb kernel.spec

    rpm -ivh --force kernel-netbook-2.6.29.4-9.1.moblin2.i586.rpm

    and there you go, you know have forcedeth working in your kernel.

    Moblin on Acer Revo (pt2) – Nvidia Graphics

    June 23rd, 2009

    For fully working revo on moblin 2.1 go here

    So you just bought a Acer revo and put moblin and it's so slow that it makes you cringe? Well here is how to fix it.

    So first we need to install Nvidia's proprietary "nvidia" module. In order to do this we have to recompile xorg-x11-server to have xinerama support. Then we need to install it and after that install the nvidia modules. Below are some dumb proof instructions. Feel free to mail in or comment some changed.

    1. yum install make gcc binutils glproto libX11-devel mesa-libGL-devel mesa-libGL xf86driproto randrproto renderproto fixesproto damageproto xcmiscproto xextproto bigreqsproto resourceproto fontsproto inputproto videoproto compositeproto scrnsaverproto resourceproto xineramaproto openssl xorg-x11-xtrans-devel openssl-devel libfontenc-devel libfontenc pixman-devel pixman libXau-devel libXau libxkbfile-devel libxkbfile libXfont libXfont-devel libXinerama libXinerama-devel xorg-x11-xtrans-devel libpciaccess-devel libdrm-devel rpm-build flex byaccxorg-x11-util-macros dbus-1 hal xv xvfixes raw7 xpm xi xrender xmuu dmx xt xdmcp xext xres xf86vidmodeproto xf86dgaproto evieproto dri2proto hal-devel libtool-ltdl-devel libXv libXv-devel libXres-devel libXext-devel libXt-devel libXdmcp-devel libdmx-devel libXmu-devel libXrender-devel libXpm-devel libXfixes-devel xorg-x11-proto-evieext libXaw-devel libXi-devel byacc

    2. Download the nvidia drivers (I used 185.18.14)

    3. download moblin xorg-x11-server source rpm. (I used 1.6.1-6.2)

    4. install the src.rpm package with "rpm -i"

    5. Go to /root/rpmbuild/SPECS/ and open the file xorg-x11-server.spec, find the line that says --disable-xinerama and change to --xinerama-enable

    6. in the same dir, execute rpmbuild --target=i586 -bb xorg-x11-server.spec

    7. reboot and add a lone 3 at the end of the grub line by pressing e and then e again.
    DJA metions that "vga=0 3" instead of "vga=current" might be needed in newer versions

    8. log in as root and execute yum remove xorg-x11-server. Go to /etc/yum/yum.conf and tell yum not to bothere with GPG checks by setting gpg_checks to 0

    9. go to /root/rpmbuild/RPMS/i586/ and install all packages in there with yum install xorg*. If you cant get your network up in command mode then download the missing packages by hand and install them at the same time with yum.

    10. Install the Nvidia driver by executing it. Dont bother going on their ftp site. Let the installer make you an xorg.conf

    11. reboot normally. Remove the quiet and vga=current lines could help.

    credit goes to people in this thread who helped : http://lists.moblin.org/pipermail/dev/2009-June/005210.html