From: Len Brown <lenb@kernel.org>
To: Martin Lucina <mato@kotelna.sk>
Cc: Harald Welte <laforge@gnumonks.org>, linux-acpi@vger.kernel.org
Subject: Re: [PATCH] panasonic-laptop.c: add support for optical drive power control
Date: Sun, 05 Apr 2009 00:53:31 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.00.0904050051330.4821@localhost.localdomain> (raw)
In-Reply-To: <20090114184227.GC3654@dezo.moloch.sk>
On Wed, 14 Jan 2009, Martin Lucina wrote:
> Add support for power control of the built in optical drive on models
> with the required ACPI methods present. Tested on Panasonic CF-W4.
>
> Creates an interface in /sys/devices/platform/panasonic/cdpower, to
> which you can write "1" to switch the drive on, "0" to switch it off
> or read from to query the current state.
>
> Signed-off-by: Martin Lucina <mato@kotelna.sk>
>
> ---
>
> Harald, this should address all the comments in this thread. I've
> removed the DMI table and enable the code if _SB.{STAT,FBAY,CDDI} are
> all present.
>
> I've not figured out how to return an actual error from the sysfs
> show/store functions so I've at least added ACPI_DEBUG_PRINT to print an
> error if the relevant methods fail.
>
> -mato
Harald,
It's your driver. What do you what to do with this patch.
I'd delegate http://patchwork.kernel.org/patch/2372/
to you, but you don't seem to have a patchwork account yet.
thanks,
-Len Brown, Intel Open Source Technology Center
next prev parent reply other threads:[~2009-04-05 4:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-13 16:32 [RFC] [PATCH] panasonic-laptop.c: add support for CD power management Martin Lucina
2009-01-13 17:16 ` Karthik Gopalakrishnan
2009-01-13 19:14 ` Martin Lucina
2009-01-14 6:08 ` Harald Welte
2009-01-14 18:42 ` [PATCH] panasonic-laptop.c: add support for optical drive power control Martin Lucina
2009-04-05 4:53 ` Len Brown [this message]
2009-04-06 16:22 ` Martin Lucina
2009-04-07 5:59 ` Len Brown
2009-04-07 23:07 ` Harald Welte
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=alpine.LFD.2.00.0904050051330.4821@localhost.localdomain \
--to=lenb@kernel.org \
--cc=laforge@gnumonks.org \
--cc=linux-acpi@vger.kernel.org \
--cc=mato@kotelna.sk \
/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