Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96449 - New: fusd A library and kernel module to create userpsace char devices
Summary: New: fusd A library and kernel module to create userpsace char devices
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 96450
  Show dependency tree
 
Reported: 2005-06-18 03:55 UTC by Bruno
Modified: 2016-03-31 11:12 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Suggested ebuild (fusd-1.10-r9.ebuild,1.41 KB, text/plain)
2005-06-18 04:04 UTC, Bruno
Details
Patch that fixes a naming-issue of kernel 2.6.12-gitX and newer in kfusd.c (kfusd_2.6.12-git4+_patch,4.65 KB, patch)
2005-07-02 06:42 UTC, jannis
Details | Diff
Patch that fixes a naming-issue of kernel >=2.6.12 (kfusd-2.6.12+.patch,3.67 KB, patch)
2005-09-28 03:36 UTC, Trond Are Haugland
Details | Diff
udev rules for creation of the kfusd device nodes (fusd.rules,97 bytes, text/plain)
2005-09-28 03:40 UTC, Trond Are Haugland
Details
sys-libs/fusd-1.10-r11.ebuild (fusd-1.10-r11.ebuild,1.36 KB, text/plain)
2006-05-15 04:39 UTC, jannis
Details
kfusd compile cleanly against gentoo-sources-2.6.20-r2 (kfusd-udev.patch,143.90 KB, patch)
2007-03-11 22:51 UTC, Jack Kelly
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 2005-06-18 03:55:34 UTC
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:
Comment 1 Bruno 2005-06-18 04:04:20 UTC
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.
Comment 2 jannis 2005-07-02 06:42:30 UTC
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.
Comment 3 Trond Are Haugland 2005-09-28 03:36:59 UTC
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.
Comment 4 Trond Are Haugland 2005-09-28 03:40:01 UTC
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.
Comment 5 Ciaran McCreesh 2005-09-28 11:37:34 UTC
There's a set_arch_to_kernel function in one of the eclasses. Can you use this?
Comment 6 jannis 2006-05-15 04:39:06 UTC
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.
Comment 7 Markus Ullmann (RETIRED) gentoo-dev 2006-09-25 12:16:48 UTC
This is now in the sunrise overlay. You can find it at:
http://gentoo-sunrise.org/svn/reviewed/media-sound/fusd-kor
Comment 8 Jack Kelly 2007-03-11 22:51:47 UTC
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
Comment 9 Marek Szuba archtester gentoo-dev 2016-03-31 11:05:38 UTC
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?