ok, i have managed to compile this driver. more later :-)

Am 03.04.2010 19:22, schrieb Stephan Raue:
Hi Jarod,

After using an patch based on your git tree, remove kcompat.h, remove the #include for kcompat.h and replace "lirc_t" with "int" like in

http://git.kernel.org/?p=linux/kernel/git/jarod/linux-2.6-lirc.git;a=commitdiff;h=250194a5989fdc96e851a0bba1d0b6698b58c905

(hope this are an right way) it looks better, now i have only this errors:

  CC [M]  drivers/input/lirc/lirc_wb677_main.o
drivers/input/lirc/lirc_wb677_main.c: In function 'lirc_set_use_inc':
drivers/input/lirc/lirc_wb677_main.c:371: error: 'MOD_INC_USE_COUNT' undeclared (first use in this function)
drivers/input/lirc/lirc_wb677_main.c:371: error: (Each undeclared identifier is reported only once
drivers/input/lirc/lirc_wb677_main.c:371: error: for each function it appears in.)
drivers/input/lirc/lirc_wb677_main.c: In function 'lirc_set_use_dec':
drivers/input/lirc/lirc_wb677_main.c:388: error: 'MOD_DEC_USE_COUNT' undeclared (first use in this function)
drivers/input/lirc/lirc_wb677_main.c: In function 'lirc_ioctl':
drivers/input/lirc/lirc_wb677_main.c:467: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
drivers/input/lirc/lirc_wb677_main.c:467: error: implicit declaration of function 'schedule'
drivers/input/lirc/lirc_wb677_main.c:543: error: 'TASK_NORMAL' undeclared (first use in this function)
drivers/input/lirc/lirc_wb677_main.c: In function 'lirc_write':
drivers/input/lirc/lirc_wb677_main.c:695: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
drivers/input/lirc/lirc_wb677_main.c: In function 'w83667hg_clean_data':
drivers/input/lirc/lirc_wb677_main.c:711: error: 'TASK_NORMAL' undeclared (first use in this function)
drivers/input/lirc/lirc_wb677_main.c: In function 'w83667hg_study_recv':
drivers/input/lirc/lirc_wb677_main.c:926: error: 'TASK_NORMAL' undeclared (first use in this function)
drivers/input/lirc/lirc_wb677_main.c: In function 'w83667hg_send_packet_to_lirc_1':
drivers/input/lirc/lirc_wb677_main.c:1052: error: 'TASK_NORMAL' undeclared (first use in this function)
drivers/input/lirc/lirc_wb677_main.c: In function 'w83667hg_interrupt_handler':
drivers/input/lirc/lirc_wb677_main.c:1215: error: 'TASK_NORMAL' undeclared (first use in this function)
drivers/input/lirc/lirc_wb677_main.c: In function 'w83667hg_wake_interrupt_handler':
drivers/input/lirc/lirc_wb677_main.c:1279: error: 'TASK_NORMAL' undeclared (first use in this function)
make[3]: *** [drivers/input/lirc/lirc_wb677_main.o] Error 1
make[2]: *** [drivers/input/lirc] Error 2
make[1]: *** [drivers/input] Error 2
make: *** [drivers] Error 2


Stephan

Am 03.04.2010 17:48, schrieb Stephan Raue:
Am 03.04.2010 06:02, schrieb Jarod Wilson:
On Fri, Apr 2, 2010 at 10:13 PM, Stephan Raue <mailinglists@openelec.tv> wrote:
  
Hi all,

i am trying to build the lirc driver for nct667 chipsets [1] for any
other distribution as ubuntu. i am using the lirc driver patch for
linux-2.6.33 that can be found in the latest fedora rawhide srpm`s.
    
Pardon, but why are you working from that and patching kcompat.h back
in on top, rather than just working from current cvs?

  
sorry
i have used the patch that is included in kernel-2.6.34-0.19.rc2.git4.fc14.src. so there is originally no kcompat.h.

this kcompat.h is from the originally driver. the problem is there is no additionally support from nuvoton. [1]

there are also some more problems with this driver [2], [3]

dont know if this is possible to integrate this driver in lirc directly.
And for the record, the fedora rawhide lirc patch is generated from here:

http://git.kernel.org/?p=linux/kernel/git/jarod/linux-2.6-lirc.git;a=summary

  
i will try this. but i dont think this resolves my issues. i will write later.

thanks

Stephan

[1] http://bbs.archlinux.org/viewtopic.php?pid=724933#p724933
[2] http://bbs.archlinux.org/viewtopic.php?pid=724933
[3] http://forum.sabayonlinux.org/viewtopic.php?f=56&t=20113

-- 
              ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you 
             http://www.openelec.tv
  
------------------------------------------------------------------------------ Download Intel&#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev


-- 
              ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you 
             http://www.openelec.tv
  
------------------------------------------------------------------------------ Download Intel&#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev


-- 
              ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you 
             http://www.openelec.tv