[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New appletouch driver test wanted



On Wed, Sep 19, 2007 at 11:15:52AM +0200, Michel Dänzer wrote:
> On Tue, 2007-09-18 at 23:12 +0200, Sven Anders wrote:
> > 
> > - PowerBook Oct 2005-
> >    (Touchpad's USB ID 0x0214, 0x0215 or 0x0216)
> 
> 0x0214 here according to usbview.

same result for 0x0215 here.

Gaudenz

> 
> > If you want to test it, all you need to do is to compile and
> > load it. 
> 
> I needed the attached patch to get it to build.
> 
> > If you can move the mouse pointer it works and the status flags are
> > supported.
> 
> I can't seem to move the mouse pointer more than a couple of pixels in
> each direction with the new module.
> 
> 
> -- 
> Earthling Michel Dänzer           |          http://tungstengraphics.com
> Libre software enthusiast         |          Debian, X and DRI developer

> diff -up -ru appletouch-driver.orig/appletouch.c appletouch-driver/appletouch.c
> --- appletouch-driver.orig/appletouch.c	2007-09-12 19:11:56.000000000 +0200
> +++ appletouch-driver/appletouch.c	2007-09-19 11:08:47.000000000 +0200
> @@ -453,7 +453,7 @@ static void atp_complete(struct urb* urb
>  			if (dev->xy_acc[i] < -1)
>  				dev->xy_old[i] = dev->xy_cur[i];
>  		}
> -#endife
> +#endif
>  		/* prevent down-drifting */
>  		if (dev->xy_acc[i] < 0) 
>  			dev->xy_acc[i] = 0;
> diff -up -ru appletouch-driver.orig/Makefile appletouch-driver/Makefile
> --- appletouch-driver.orig/Makefile	2007-09-12 19:13:34.000000000 +0200
> +++ appletouch-driver/Makefile	2007-09-19 11:07:44.000000000 +0200
> @@ -4,7 +4,7 @@ obj-m := appletouch.o
>  # Config
>  VERSION=`uname -r`
>  #VERSION=2.6.22.1-mactel
> -KSRC=/lib/modules/$(VERSION)/source
> +KSRC=/lib/modules/$(VERSION)/build
>  MODPATH=/lib/modules/$(VERSION)/kernel/drivers/input/mouse
>  
>  # Targets


-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~



Reply to: