You are not logged in.
Pages: 1
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
Oh, I used this as 'configure' option:
./configure --prefix=/usr/X11R6 --with-xorg-sdk=/usr/X11R6/lib/Server
Arch - It's something refreshing
Offline
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
here is something about it: http://www.linuxquestions.org/questions … ost1830345
I'll try to make a package for xorg-sdk
Offline
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
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
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
Pages: 1