patch: acpi usermode suspend API change

Ariff Abdullah ariff at FreeBSD.org
Thu Jun 21 23:33:39 UTC 2007


On Thu, 21 Jun 2007 09:29:28 -0700
Nate Lawson <nate at root.org> wrote:
> Lars Engels wrote:
> > And I just saw that every 5 second a new apm device is created! 
[...]
> > 
> > [...]
> 
> What are you running that opens /dev/apm?  Maybe powerd?
> 
> I have a patch that handles reaping these devices, unfortunately it
> is pending completion of another patch that allows devfs_destroy()
> from a close() routine.  That part is a core problem in FreeBSD, and
> it isn't really something in acpi.
> 

Same issue with sound devices as well, but I've managed to solve it by
implementing own clone manager which require tiny hook into open() and
close() along with garbage collector and ability to handle various
abusive behaviour (while : ; ls /dev/xxx ; done, etc). See
sys/dev/sound/clone.* . It should be generic enough.


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070621/80c6e448/attachment.pgp


More information about the freebsd-current mailing list