DragonFly kernel List (threaded) for 2008-03
Re: Some questions regarding ACPI
On Wed, Mar 19, 2008 at 09:15:35PM +0200, Hasso Tepper wrote:
> YONETANI Tomokazu wrote:
> > On Wed, Mar 19, 2008 at 01:22:46PM +0200, Hasso Tepper wrote:
> > > I'm working on bringing in some laptop (and especially thinkpad)
> > > specific ACPI code from FreeBSD into DragonFly. I never touched ACPI
> > > stuff before and haven't followed it much either, so I have some
> > > questions.
> > So you want to port some of ACPI support drivers, or to do a fresh port
> > of ACPI driver from FreeBSD?
> I'm only interested in support drivers and the reason is pure practical -
> newer thinkpads handle less and less hotkeys etc in hardware and require
> support form OS. acpi_ibm and acpi_video are examples of such modules
> which would help a lot of these newer thinkpad users.
> acpi_ibm is almost ready to commit (renamed to acpi_thinkpad though).
Ah, that's a good news! My only concern is that ISTR someone mentioned
me that his colleague was thinking about porting ACPI driver itself,
so if you're not the person you may want to collaborate with him/her
so as not to waste the effort or time...
> > In FreeBSD it used to be sitting at i386/acpica/acpi_toshiba.c and was
> > later moved into acpi_support. That change hasn't hit our tree (in
> > fact, we have no acpi support drivers other than that). It seems that
> > FreeBSD has them in dev/acpi_support now, and we for some reason have
> > that directory in our CVS repository (but containing no files in it).
> I don't see it ;). Makes sense though. So, any objections if I move
> acpi_toshiba into sys/dev/acpi_support and add new acpi_thinkpad there as
Sorry, I checked the CVS repository and it doesn't exist actually :)
I don't have any objection to moving it there.