[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: if i was porting a linux kernel module that wrote out to /proc, where should i point it at in freebsd?
- To: Nate Lawson <nate_(_at_)_root_(_dot_)_org>
- Subject: Re: if i was porting a linux kernel module that wrote out to /proc, where should i point it at in freebsd?
- From: Bruno Ducrot <ducrot_(_at_)_poupinou_(_dot_)_org>
- Date: Thu, 12 Oct 2006 18:00:39 +0200
- Cc: John Utz <John_(_at_)_utzweb_(_dot_)_net>, freebsd-acpi_(_at_)_freebsd_(_dot_)_org
On Wed, Oct 11, 2006 at 09:04:42AM -0700, Nate Lawson wrote:
> 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. Use sysctl as the
> interface. See the other drivers in /sys/dev/acpi_support for a good
> template (i.e., acpi_toshiba.c).
>
i8k is not an ACPI driver. I'm working on a acpi_dell one but I'm
waiting a D620 (hint, hint :)
--
Bruno Ducrot
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
_______________________________________________
freebsd-acpi_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org