You are not logged in.

#1 2005-12-18 02:10:31

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

using evdev with xorg 6.9

my old (6.8)xorg.conf for my 9 button MS mouse doesn't seem to work for xorg 6.9..

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "evdev"
Option "ZAxisMapping" "6 7 8 9"
Option "Device" "/dev/input/mouse0"
Option "Buttons" "9"
Option "Emulate3Buttons" "0"
Option "Dev Phys" "usb-0000:06:08.1-1/input0"

another post indicated that Driver "mouse" should be changed to Driver "evdev". I tried that and it crashed X and my XFS file system( I had to boot into a gentoo live cd and recover).

help please

Offline

#2 2005-12-18 05:54:06

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: using evdev with xorg 6.9

uh...anyone?

Offline

#3 2005-12-18 08:50:06

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: using evdev with xorg 6.9

I found this here : http://www.linux-gamers.net/modules/wfs … ticleid=46

3.2 Compile the evdev module


To compile the evdev driver you need the X.Org SDK package and the evdev-driver archive. The SDK package should ship with your distro. If you have compiled Xorg by yourself, you simply need a make install.sdk.

You can get the evdev driver here:

https://bugs.freedesktop.org/attachment.cgi?id=1745

Unzip the package and run the configure script like the following lines:

./configure --prefix=/usr/X11R6 --with-xorg-sdk=/usr/X11R6/lib/Server
make
make install

-----------------------------------
how do i add make install.sdk ...this is the PKGBUILD im using..


# PKGBUILD is based on the official PKGBUILD
# Maintainer: nightfrost

pkgname=xorg
pkgver=11R6.9RC4
pkgrel=1
pkgdesc="A fork of the XFree86 Project with a GPL-compatible license"
url="http://www.x.org"
depends=('glibc' 'freetype1' 'fontconfig' 'gcc' 'libpng')
makedepends=('perl')
conflicts=('ttf-bitstream-vera' 'xfree86')
provides=('x-server' 'xfree86')
replaces=('x')
install=x.install
source=(http://xorg.freedesktop.org/releases/X11R6.9-RC4/xorg-x11-6.8.99.904.tar.bz2
        http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz xdm.pam
        xorg.sh vm86-tls.patch)

build() {
  cd $startdir/src
  make FREETYPE_INCL=/usr/include/freetype || return 1
  install -D ttmkfdir $startdir/pkg/usr/X11R6/bin/ttmkfdir

  cd $startdir/src/xc
  sed -i 's|$(HARDCOPYDIR)||g' doc/Imakefile || return 1
  echo $"#define DefaultGcc2i386Opt $CFLAGS -fno-strength-reduce -fno-strict-aliasing" >config/cf/host.def
  echo $'#define HasZlib YESn' >>config/cf/host.def
  echo $'#define HasNCurses YESn' >>config/cf/host.def
  echo $'#define HasFontconfig YESn' >>config/cf/host.def
  echo $'#define HasFreetype2 YESn' >>config/cf/host.def
  echo $'#define HasLibpng YESn' >>config/cf/host.def
  echo $'#define HasExpat YESn' >>config/cf/host.def
  echo $'#define BuildLinuxDocHtml NOn' >>config/cf/host.def
  echo $'#define BuildLinuxDocPS NOn' >>config/cf/host.def
  echo $'#define BuildAllSpecsDocs NOn' >>config/cf/host.def
  echo $'#define BuildSpecsDocs NOn' >>config/cf/host.def
  echo $'#define BuildHtmlManPages NOn' >>config/cf/host.def
  echo $'#define ForceNormalLib YESn' >>config/cf/host.def
  echo $'#define HasMTRRSupport YESn' >>config/cf/host.def
  echo $'#define HasMMXSupport YESn' >>config/cf/host.def
  # Katmai: PIII SSE instructions;  3DNow: AMD instructions
  #echo $'#define HasKatmaiSupport YESn' >>config/cf/host.def
  #echo $'#define Has3DNowSupport YESn' >>config/cf/host.def
  make World || return 1
  make DESTDIR=$startdir/pkg install
  rm -f programs/xkbcomp/rules/xfree86*
  make DESTDIR=$startdir/pkg install.man
  (cd $startdir/pkg/usr/include && ln -sf ../X11R6/include/X11 X11)
  (cd $startdir/pkg/usr/include && ln -sf ../X11R6/include/GL GL)

  # exorcise the SysV demons and set up environment stuff
  rm -rf $startdir/pkg/etc/rc.d/rc?.d
  rm -f $startdir/pkg/etc/profile.d/xprint.csh
  mv $startdir/pkg/etc/init.d/xprint $startdir/pkg/etc/rc.d/xprint
  sed -i 's|init.d|rc.d|g' $startdir/pkg/etc/profile.d/xprint.sh
  rmdir $startdir/pkg/etc/init.d

  # get the pkgconfig .pc files in the right place
  mkdir -p $startdir/pkg/usr/lib/pkgconfig
  mv $startdir/pkg/usr/X11R6/lib/pkgconfig/* $startdir/pkg/usr/lib/pkgconfig

  # provide libX11.a
  #cd $startdir/src/xc/lib/X11
  #ar r libX11.a *.o
  #install -d -m644 libX11.a $startdir/pkg/usr/X11R6/lib/libX11.a

  # XDG stuff
  install -d -m755 $startdir/pkg/etc/xdg
  install -D -m644 $startdir/src/xdm.pam $startdir/pkg/etc/pam.d/xdm
  install -D -m755 $startdir/src/xorg.sh $startdir/pkg/etc/profile.d/xorg.sh
  find $startdir/pkg -name '*.la' -exec rm {} ;
}
md5sums=('1bb5f742acc730ec2be032af99edc057' 'dcf6aa4d28f5c52acf2bb57f49f53089'
         '419d6289ba6f851135f5c70c0e3cbec4' '4e052c5e16a17a99b02c6b64d10b1636'
         '0e34d03a727cd24519e0fc7f9374fa29')

Offline

#4 2005-12-18 14:56:23

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: using evdev with xorg 6.9

After the line:
make DESTDIR=$startdir/pkg install.man
add:
make DESTDIR=$startdir/pkg install.sdk

Offline

#5 2005-12-18 17:35:18

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: using evdev with xorg 6.9

Thanks Snowman..that worked...although using "evdev" in the driver line crashes my whole filesystem again..I installed the evdev-driver program, and even tried disabling nvidia drivers, but still no luck.

Offline

Board footer

Powered by FluxBB