On Thu, Jun 17, 2010 at 5:45 AM, Klier Rainer <[email protected]> wrote:
> hi,
>
> i am trying to build the usbhid.ko kernel module included in the
> linuxwacom archive on a fedora core 4 system.
>
> i need this because i use a wacom device (STU-500 and STU-300) which i
> am using via a userspace program using libhid/libusb, and i don't want
> the usbhid module to care about this signpad.
>
> so the perfect solution for me whould be a usbhid module which doesn't
> care for any wacom device.
>
> and this is exactly what this howto from the linuxwacom project
> documents/describes:
> http://linuxwacom.sourceforge.net/index.php/howto/buildhid6
>
> so i downloaded linuxwacom archive (i tried nearly all of the several
> available archives from 0.7.6-4 to 0.8.8-2) and did:
> ./configure --enable-hid --with-kernel=/usr/src/kernels/2.6.17-8.wn-i586
> --with-xlib=no --with-x=no --with-xorg-sdk=no --with-x-src=no
> --enable-libwacomcfg=no --enable-libwacomxi=no --enable-wacdump=no
> --enable-xidump=no --enable-xsetwacom=no --enable-wacomxrrd=no
> --enable-wacomdrv=no --enable-quirk-tablet-rescale=no
>
> which results in:
> ----------------------------------------
>   BUILD ENVIRONMENT:
>        architecture - i386-redhat-linux
>        linux kernel - yes 2.6.16
>   module versioning - yes -DCONFIG_MODVERSIONS -DMODVERSIONS
> -include /usr/src/kernels/2.6.17-8.wn-i586/include/linux/modversions.h
>       kernel source - yes /usr/src/kernels/2.6.17-8.wn-i586
>            Xorg SDK - no no
>           XSERVER64 - no
>            dlloader - no
>                XLib - no no
>                 TCL - no
>                  TK - no
>             ncurses - yes
>
>   BUILD OPTIONS:
>             wacom.o - no
>             wacdump - no
>              xidump - no
>         libwacomcfg - no
>          libwacomxi - no
>           xsetwacom - no
>               hid.o - yes
>          usbmouse.o - no
>             evdev.o - no
>          mousedev.o - no
>             input.o - no
>         tabletdev.o - no
>        wacom_drv.so - no
>         wacom_drv.o - no
> ----------------------------------------
>
> "nice", i thought.
> but when i did make the following error occured:
>   CC
> [M]  /usr/src/redhat/SOURCES/linuxwacom-0.7.6-4/src/2.6.16/hid-core.o
> /usr/src/redhat/SOURCES/linuxwacom-0.7.6-4/src/2.6.16/hid-core.c:42:17:
> error: hid.h: Datei oder Verzeichnis nicht gefunden

It's been quite a while since I worked on kernel 2.6.17. And I don't
have a 2.6.17 system to test with now.  So, let me make a shot in the
dark :(.

If you issue:

cd /usr/src/kernels/2.6.17-8.wn-i586
find . | grep hid.h

what do you get?  If you don't see hid.h in the output, the hid.h is
likely created after you build the kernel from the source.  Was your
kernel built under /usr/src/kernels/2.6.17-8.wn-i586? If not, please
issue:

make oldconfig
make

then
find . | grep hid.h

and let me know what you get.

Another way to make the usbhid is to modify the hid-core.c under
/usr/src/kernels/2.6.17-8.wn-i586/drivers/usb to ignore the wacom
vendor ID.  If you don't know what I am talking about, please email me
(myself) the hid-core.c file from your kernel source. I'll update the
file for you.

Ping

> /usr/src/redhat/SOURCES/linuxwacom-0.7.6-4/src/2.6.16/hid-core.c: In
> Funktion »hid_register_report«:
>
> so it seems hid.h is missing.
>
> from where should that file come from?
> where do i get it?
> what did i wrong?
>
> i need to build the new usbhid module included in the linuxwacom
> archive.
> but how?
>
> i hope somebody of the Linuxwacom developers can help me.
>
> thanks.
> --
> Rainer Klier
> Research & Development
> xyzmo SIGNificant Group  | Austria | USA  | Germany
> A-4052 Ansfelden, Haiderstraße 23
> Tel.: +43 7229 88060-0, E-Mail: [email protected]
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Linuxwacom-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
>
>

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to