Make acecad driver work with 2.6.x kernels

Zephaniah E. Hull warp at aehallh.com
Tue Apr 24 03:58:33 PDT 2007


Er, you're going to need xf86-input-evdev 1.1.2 at least.

And I was refering to xf86-input-evdev, not acecad (which I don't know
anything about).

Zephaniah E. Hull.

On Tue, Apr 24, 2007 at 12:21:50PM +0200, Giuseppe Bilotta wrote:
> On 4/24/07, Zephaniah E. Hull <warp at aehallh.com> wrote:
> >Just a brief few questions.
> >
> >What version of xf86-input-evdev are you trying to use?
> >
> >The current release should work, and current git should _definitely_
> >work.
> 
> I was absolutely unable to use the driver version 1.1.0-1 from the
> Debian unstable distribution:
> 
> http://packages.debian.org/unstable/x11/xserver-xorg-input-acecad
> 
> Yesterday, I checked out what I believe to be git version, from
> 
> http://gitweb.freedesktop.org/?p=xorg/driver/xf86-input-acecad.git;a=summary
> 
> This, too, has not been updated for over a year, but I haven't found
> any other git repository concerned with the acecad driver for xorg. If
> this isn't the 'latest and greatest' git version of the acecad driver,
> however, I must say that the proper git versions are badly advertised
> on the site ... these are the only I could find.
> 
> Now, concerning the 1.1.0 version I checked out, it didn't work either.
> 
> First problem: it won't compile with LINUX_INPUT, because errno is not
> defined. This is easily fixed by adding an #ifdef LINUX_INPUT-wrapped
> #include.
> 
> Secondly, it still has the problem with the inability to work on 2.6.x
> kernels, because it doesn't use EV_SYN to check for event finish, but
> for EV_ABS/ABS_MISC.
> 
> What I've done is write a patch that (1) allows compilation with
> LINUX_INPUT (necessary to use the the USB version) (2) fixes the
> EV_SYN problem in a very 'raw' way (probably wrong, which is why I
> wanted someone to tutor me on this)  (3) fixes most of the message to
> use the proper X_{ERROR,CONFIG,PROBED,DEFAULT,INFO} MessageType.
> 
> Now, assuming that what I've been hacking on is indeed the git-latest
> version of the acecad input driver, and that your reply is an implicit
> offer to help, here comes the first question :D
> 
> What is the best way to check which version of the kernel-side input
> layer we are dealing with, at runtime?
> 
> -- 
> Giuseppe "Oblomov" Bilotta
> 

-- 
	  1024D/E65A7801 Zephaniah E. Hull <warp at aehallh.com>
	   92ED 94E4 B1E6 3624 226D  5727 4453 008B E65A 7801
	    CCs of replies from mailing lists are requested.

Welcome to [telco] hell. [...] You are in a maze of twisty little PVC's,
all alike.  A switching engineer throws a dart at you!
    -- Chris Saunderson <saundo at idx.com.au> in the scary.devil.monastery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20070424/477d76d4/attachment.pgp>


More information about the xorg mailing list