[PATCH] debug sysctl for acpi_ibm hiding the event printfs

Niki Denev nike_d at cytexbg.com
Sun Feb 12 04:25:38 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rong-En Fan wrote:
> On Sun, Feb 12, 2006 at 05:03:36AM +0200, Niki Denev wrote:
>> Hello,
>>
>> For some time i started using my IBM TP X31 with
>> the following sysctl enabled :
>>
>> dev.acpi_ibm.0.events=1
> 
> I think acpi_ibm(4) mentions this:
> 
> dev.acpi_ibm.0.eventmask
> 
> you can select to report some events to devd(8).
> 
> Best,
> Rong-En Fan

Yes, i have no problem getting the events.
The problem is that when generating events acpi_ibm
also prints the event codes on the console,
so i hid them behind a debug sysctl.

- --niki
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD7ykwHNAJ/fLbfrkRAggsAJ97e4EJuyDLRz0qrDh9zvLEztuZmACeIR9e
o6+9+lxdat2g3Tm9RRqAVIg=
=ze5P
-----END PGP SIGNATURE-----


More information about the freebsd-acpi mailing list