OSS cuckoo module and modern kernels
Posted: Thu Mar 26, 2015 8:48 am
Did anyone manage to compile a cuckoo module for current (3.1x) kernels ?... I tried with Linux v3.19.2, and lamentably failed.
Beside header issues (linux/autoconf.h and asm/system.h) which can't be found any more (I replaced the '#include <linux/autoconf.h>' with '#include </usr/src/linux/include/generated/autoconf.h>' and commented out '#include <asm/system.h>', both in cuckoo.h), there's the problem with snd_card_create() having been replaced with snd_card_new() in recent kernels (starting with v3.16.0), and the latter takes a (PCI) device structure pointer as the first parameter, which I don't know how to obtain in cuckoo.c...
Could any devel look at this issue ?...
As time passes, less and less pieces of software support native OSS (alas !!!), and the cuckoo is pretty much the only solution with them, unless you are ready to put up with the Pulseaudio non-sense (a sound demon is totally useless with OSS anyway, thanks to the transparent virtual mixer).
Beside header issues (linux/autoconf.h and asm/system.h) which can't be found any more (I replaced the '#include <linux/autoconf.h>' with '#include </usr/src/linux/include/generated/autoconf.h>' and commented out '#include <asm/system.h>', both in cuckoo.h), there's the problem with snd_card_create() having been replaced with snd_card_new() in recent kernels (starting with v3.16.0), and the latter takes a (PCI) device structure pointer as the first parameter, which I don't know how to obtain in cuckoo.c...
Could any devel look at this issue ?...
As time passes, less and less pieces of software support native OSS (alas !!!), and the cuckoo is pretty much the only solution with them, unless you are ready to put up with the Pulseaudio non-sense (a sound demon is totally useless with OSS anyway, thanks to the transparent virtual mixer).