fusd is a library and a kernel module that allows userspace applications to create character devices with send back data and ioctls to the userspace. Reproducible: Always Steps to Reproduce:
Created attachment 61439 [details] Suggested ebuild Initial ebuild. This ebuild only works on x86 and contains an ugly hack with ARCH=i386 as kernel module does not compile otherwise (Makefile sees ARCH=x86 and thus does not find the right kernel includes) Revision 9 is because it contains Kor Nielsen's 9th patch-revision (adding support for 2.6 kernels, udev and mmap) See also Bug #96450 I suggest this to be added to sys-libs category.
Created attachment 62465 [details, diff] Patch that fixes a naming-issue of kernel 2.6.12-gitX and newer in kfusd.c As of 2.6.12-gitX they changed the name of some functions so kfusd ain't working anymore! With this patch it works at my PC.
Created attachment 69397 [details, diff] Patch that fixes a naming-issue of kernel >=2.6.12 jannis' patch didn't apply properly, so I cleaned it up.
Created attachment 69398 [details] udev rules for creation of the kfusd device nodes I really hope the fusd ebuild can get some love and be accepted in the main tree. Same goes for oss2jack, these projects really help those that have soundcards with poor driver support.
There's a set_arch_to_kernel function in one of the eclasses. Can you use this?
Created attachment 86800 [details] sys-libs/fusd-1.10-r11.ebuild This ebuild installs fusd-kor-1.10-11. It doesn't need any patches since everything has been fixed in the source (nice ^^). The ebuild ain't really pretty but works on two of my systems.
This is now in the sunrise overlay. You can find it at: http://gentoo-sunrise.org/svn/reviewed/media-sound/fusd-kor
Created attachment 113027 [details, diff] kfusd compile cleanly against gentoo-sources-2.6.20-r2 I don't know what other kernel versions this patch will work on. It's a diff from the normal kfusd/kfusd.c against the new one here: http://hg.konstruktiv.org/fusd/file/2df3a93d0724/kfusd/, as specified in http://gentoo-wiki.com/index.php?title=HOWTO_Jack#oss2jack
The last official release of FUSD came out in 2003 and even the forks I've seen online (-kor and -monty, specifically) haven't seen any updates since 2007. I've just tried compiling fusd-kor against sys-kernel/hardened-sources-4.4.2, it fails even with Jack's patch applied. Finally, isn't there some sort of an alternative out there now?