Re: Apple Touchpad Driver complains about no "usb_input.h"
On Tue, Sep 20, 2005 at 09:31:21PM -0500, David Smoot wrote:
> Good evening, my name is David Smoot and this is my first post to the
> list. I'm pretty new to linux and very new to Debian so my mistakes
> might be simple ones (in other words, assume I'm stupid and start with
> the dumb questions).
> I have a "post February 2005" powerbook. I am now developing linux
> software for my new job so I decided that I should be working under
> Linux. I've got Debian 3.1 installed and just got X up and running
> this morning. Now I am trying to get the touchpad to work and it
> won't compile.
> uname -a returns:
> Linux PowerBookDebian 2.6.12-1-powerpc
> I have kernel headers and kernel source installed (I think). When I
> download the apple touchpad driver and type "make" I get the following
> make -C /lib/modules/2.6.12-1-powerpc/build
> SUBDIRS=/home/dsmoot/appletouch-0.08 modules
> make: Entering directory `/usr/src/linux-headers-2.6.12-1-powerpc'
> CC [M] /home/dsmoot/appletouch-0.08/appletouch.o
> /home/dsmoot/appletouch-0.08/appletouch.c:36:29: error:
> linux/usb_input.h: No such file or directory
Do you have linux-headers-2.6.12-1-powerpc installed ? And have you set KSRC
to /lib/modules/2.6.12-1-powerpc/build ?
Anyway, linux/usb_input.h is not one of the installed headers it seem, but
then it also doesn't seem to be available in the 2.6.12 kernel sources :
$ ls include/linux/usb*
include/linux/usb_ch9.h include/linux/usb_gadgetfs.h include/linux/usb.h
So, i guess your appletouch driver is somewhat outdated.