if i was porting a linux kernel module that wrote out to /proc, where should i point it at in freebsd?

john at utzweb.net john at utzweb.net
Wed Oct 11 17:07:25 UTC 2006


> John Utz wrote:
>> i've been working on i8k utils off and on for several months.
>>
>> (lately it's been what i've been doing whilst i sit at my daughter's
>> gymnastics class)
>>
>> so several of the api's work, ie turning the fans on and off, etc.
>>
>> buttons *still* dont work. :-(
>>
>> at this point, i want to start working on hXRing the kernel module.
>>
>> as currently coded, it writes to /proc.
>>
>> i would prefer to not have to require the proc lkm for this to work, i'd
>> rather do it the bsd way.
>>
>> so, umm, what *is* the bsd way ? :-)
>
> It looks like "i8k" is the Dell hotkeys/PM driver.

yah, i forgot to mention that. sorry.

>  Use sysctl as the interface.

hokydoky!

> See the other drivers in /sys/dev/acpi_support for a good
> template (i.e., acpi_toshiba.c).

i shall look again at that, tnx!

johnu

> --
> Nate
>
>




More information about the freebsd-acpi mailing list