public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH, RFC] Driver for reading HP laptop LCD brightness
Date: Sun, 5 Feb 2006 22:49:22 +0100	[thread overview]
Message-ID: <20060205214922.GA3681@elf.ucw.cz> (raw)
In-Reply-To: <20060205135517.GA21795@srcf.ucam.org>

Hi!

> The attached patch provides a sysfs mechanism for reading the LCD 
> brightness on HP laptops. Since there's no clean way to determine 
> whether a machine is a laptop or not from within the kernel (this 
> information is in the DMI tables, but we don't currently export the 
> chassis field), it does nothing until userspace has enabled it.

Can you fix the DMI code to export chasis, then?

> Right now, I'm looking for comments on how to integrate it sensibly - 
> leaving it under drivers/misc and registering it as a platform device 
> /works/, but isn't terribly clean.

Lots of handhelds ave brightness settings, and it is *very* important
there. Perhaps you could use same interface?
								Pavel
-- 
Thanks, Sharp!

      parent reply	other threads:[~2006-02-05 21:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-05 13:55 [PATCH, RFC] Driver for reading HP laptop LCD brightness Matthew Garrett
2006-02-05 14:27 ` Arjan van de Ven
2006-02-05 14:34   ` Matthew Garrett
2006-02-05 14:41     ` Arjan van de Ven
2006-02-05 14:45       ` Matthew Garrett
2006-02-05 21:49 ` Pavel Machek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060205214922.GA3681@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox