Monday, April 6, 2009

FreeBSD current Xorg and hp2133


Hi,

I've had some difficulties with xorg installation on the hp2133. This installation is not trivial so if you don't manage to do it, you can follow this howto :)

You need to have an updated ports source tree. If you don't have any /usr/ports directory you need to do that :


cd /usr/


cvs -danoncvs@anoncvs.fr.freebsd.org:/home/ncvs checkout -P ports.


you already have an /usr/ports dir you only need to update :

cd /usr/ports cvs update -Pd

Now let's compile Xorg :

cd /usr/ports/x11/xorg
make && make install.

You can have some problem to compile it with randr, to fix it you can do this:

cd /usr/ports/x11/randrproto/ make && make deinstall && make install
cd /usr/ports/x11/libXrandr/
make && make deinstall && make install
cd /usr/ports/x11/xrandr/
make && make deinstall && make install
cd /usr/ports/x11/xorg/
make && make install

Now you have xorg installed, but if you try to launch it with a startx your laptop hangs. You need to update the openchrome driver from the openchrome directory:

cd ~/
make code
cd code
svn co http://svn.openchrome.org/svn/trunk/
cd trunk/
./autogen.sh --prefix=/usr/X11R6
make && make install

Now you have a working X but the mouse and the keyboard don't respond... You need to enable in your rc.conf the dbus and hal:

echo hald_enable=YES >> /etc/rc.conf
echo dbus_enable=YES >> /etc/rc.conf

Now averything works fine.

HTH,

0 comments: