You are not logged in.

#1 2005-08-13 12:44:26

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

X.org SDK needed.

I was trying to compile the evdev driver, but it seems like X.org SDK isn't there:

checking for valid Xorg SDK... configure: error: Unable to find xf86Version.h under /usr/X11R6/lib/Server/include and /usr/X11R6/lib/Server/xc/include

Where can i find X.org SDK?


Arch - It's something refreshing

Offline

#2 2005-08-13 12:47:12

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: X.org SDK needed.

Oh, I used this as 'configure' option:

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

Arch - It's something refreshing

Offline

#3 2005-09-26 07:00:01

sven
Member
Registered: 2005-02-01
Posts: 311

Re: X.org SDK needed.

I have exactly the same problem - I want to use evdev to get the full support for my Cordless Optical Trackman extra buttons.

I'll start to check what to do about it.

Offline

#4 2005-09-26 08:49:16

sven
Member
Registered: 2005-02-01
Posts: 311

Re: X.org SDK needed.

here is something about it: http://www.linuxquestions.org/questions … ost1830345

I'll try to make a package for xorg-sdk

Offline

#5 2005-09-26 14:15:33

sven
Member
Registered: 2005-02-01
Posts: 311

Re: X.org SDK needed.

I got xorg-sdk ready and evdev compiled flawlessly. Here are the PKGBUILDS:

xorg-sdk:

# Contributor: Sven Kauber <celeon@gmail.com>
pkgname=xorg-sdk
pkgver=11R6.8.2
pkgrel=1
pkgdesc="The SDK that is needed for making custom xorg drivers"
url="http://www.x.org"
depends=()
makedepends=('perl')
install=
source=(http://ftp.skynet.be/pub/ftp.x.org/pub/X${pkgver}/src-single/X${pkgver}-src.tar.bz2)
md5sums=('8131cd7ea1e4566e6e05c438a93fcfe1')

build()
{
  cd $startdir/src/xc
  make World || return 1
  make DESTDIR=$startdir/pkg install.sdk
  mv $startdir/pkg/usr/X11R6/lib/Server/include $startdir/pkg/usr/X11R6/lib/
  rm -r $startdir/pkg/usr/X11R6/lib/Server
}

evdev:

#Contributor: Sven Kauber <celeon@gmail.com>
pkgname=evdev
pkgver=0.2
pkgrel=1
pkgdesc="A generic input module for xorg"
url="https://bugs.freedesktop.org/attachment.cgi?id=1745"
depends=('xorg-sdk')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=($pkgname-driver-$pkgver.tar.gz)
md5sums=('08ab3b281793aec8f31dab793871d852')

build()
{
  cd $startdir/src/$pkgname-driver-$pkgver
  ./configure --prefix=/usr/X11R6 --with-xorg-sdk=/usr/X11R6/lib
  make || return 1
  make DESTDIR=$startdir/pkg install
}

Be aware that compiling xorg-sdk can takes some hours on slower pc and download the evdev source package before making the package - I could not found the proper evdev source from some credible site.

Offline

#6 2005-09-26 14:57:48

sven
Member
Registered: 2005-02-01
Posts: 311

Re: X.org SDK needed.

BTW this is how I got my Logitech Cordless Optical Trackman back and forward buttons to work in Firefox: I followed this howto and set mouse driver just as described and then executed this command: xmodmap -e "pointer = 1 3 2 4 5 8 9 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32"

Offline

#7 2005-09-26 19:48:42

keevn7
Member
From: Lancaster, OH, US
Registered: 2005-06-09
Posts: 206
Website

Re: X.org SDK needed.

There is evdev support in the Xorg that is in testing. So an easier way would be to add the testing repository to /etc/pacman.conf, then do `pacman -d -Sy xorg`. After that, remove/comment the testing repository and run `pacman -Sy`.

Offline

Board footer

Powered by FluxBB