From owner-acpi-jp@jp.FreeBSD.org Sat Aug 30 19:48:20 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h7UAmKX18723;
	Sat, 30 Aug 2003 19:48:20 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from gateway.nixsys.be (gateway.nixsys.be [195.144.77.33])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id h7UAlva18694
	for <acpi-jp@jp.FreeBSD.org>; Sat, 30 Aug 2003 19:47:58 +0900 (JST)
	(envelope-from philip@nixsys.be)
Received: from hermes.nixsys.be (hermes.nixsys.be [195.144.77.45])
	by gateway.nixsys.be (Postfix) with ESMTP id 48F1DC0F2
	for <acpi-jp@jp.FreeBSD.org>; Sat, 30 Aug 2003 12:47:24 +0200 (CEST)
Received: by hermes.nixsys.be (Postfix, from userid 1001)
	id DC77E50; Sat, 30 Aug 2003 12:46:53 +0200 (CEST)
From: Philip Paeps <philip@paeps.cx>
To: acpi-jp@jp.FreeBSD.org
Message-ID: <20030830104653.GA645@hermes.nixsys.be>
Mail-Followup-To: acpi-jp@jp.FreeBSD.org
References: <20030821133049.GB654@hermes.nixsys.be> <20030827070545.GC628@hermes.nixsys.be> <20030827105413.W31602@root.org> <20030827185534.GJ632@hermes.home.paeps.cx> <20030827142706.H33012@root.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030827142706.H33012@root.org>
X-Date-in-Rome: ante diem III Kalendas Septembres MMDCCLVI ab Urbe Condida
X-PGP-Fingerprint: FA74 3C27 91A6 79D5 F6D3 FC53 BF4B D0E6 049D B879
X-Message-Flag: Get a proper mailclient!  Mutt: <http://www.mutt.org/>
User-Agent: Mutt/1.5.4i
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Sat, 30 Aug 2003 12:46:53 +0200
X-Sequence: acpi-jp 2633
Subject: [acpi-jp 2633] Re: Asus L3H notebook issues
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: philip@paeps.cx
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030830

On 2003-08-27 14:28:24 (-0700), Nate Lawson <nate@root.org> wrote:
> On Wed, 27 Aug 2003, Philip Paeps wrote:
> > > Great!  I don't have an ASUS or Toshiba laptop so I can't port the Linux
> > > driver for these extra features.
> >
> > I should have a relatively working implementation at some point over the
> > weekend.  I've got most of the things on my laptop working now, except for
> > the display switching and the volume.

Display switching is still a bit of a mess, but I'm getting places.  The
volume is working pretty well.

> > Having looked at the ACPI bits from some other laptops recently, it
> > appears as though a lot of them are implementing leds and hotkeys in much
> > the same way as Asus is doing it.  I'm making my driver 'general' enough
> > so it should be able to deal with brands !Asus as well.
> 
> Sounds great.  I'd love to take a look at it once you have it mostly
> working.

I think I have it 'mostly working' now.  

Just a few small problems I want to fix before I Let The Beast Go, and I
should have those fixed by tonight if all goes well.  The only relatively
major hurdle left are the little buttons at the front of my laptop which are
designed to play CDs.

Originally, I was thinking about writing a userspace daemon to deal with them,
as Linux does, but it seems cleaner to just handle it in the kernel,
dispatching the commands straight off to the cd-rom.

> > > Is that what you're using for the reference?
> >
> > Yes, though I'm being careful about not 'referencing' it so much that it
> > might be mistaken as a 'derived work' and force me to put it under the
> > GPL.  I've taken their information about the different models of laptops
> > and that's about it.
> 
> Good.  I use Linux to get an idea of functionality (i.e. ACPI ids and Notify
> methods) but implement everything separately.

The funny thing is that my laptop isn't implemented by the Linux driver, and
behaves pretty differently from the others in there, so their notify events
haven't been much help for my laptop yet :-)  I'll just have to trust the
correctness of their data about the other laptops :-)

I'll put what I have online a little later tonight.

Cheers,

 - Philip

-- 
Philip Paeps                                          Please don't CC me, I am
                                                       subscribed to the list.

  A racially integrated community is a chronological term timed from the
  entrance of the first black family to the exit of the last white family.
  		-- Saul Alinsky
