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

Apple Touchpad Driver complains about no "usb_input.h"



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
error:
make -C /lib/modules/2.6.12-1-powerpc/build
SUBDIRS=/home/dsmoot/appletouch-0.08 modules
make[1]: 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
/home/dsmoot/appletouch-0.08/appletouch.c: In function 'atp_probe':
/home/dsmoot/appletouch-0.08/appletouch.c:378: warning: implicit
declaration of function 'usb_to_input_id'
make[2]: *** [/home/dsmoot/appletouch-0.08/appletouch.o] Error 1
make[1]: *** [_module_/home/dsmoot/appletouch-0.08] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-1-powerpc'
make: *** [default] Error 2

Obviously it can't find the usb_input.h file but I can't figure out
why I am missing it or where it should come from.

Once I get the touchpad working then I set up the wireless card and I
should actually be able to use this thing for work.  Of course by then
Hurricane Rita will probably knock me offline anyway...

Thanks in advance for any help.
David



Reply to: