The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Gene Pavlovsky <heilong@bluebottle.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: RFE: console_blank_hook that calls userspace helper
Date: Tue, 02 Aug 2005 18:01:27 +0400	[thread overview]
Message-ID: <42EF7CB7.5090403@bluebottle.com> (raw)
In-Reply-To: <20050802110418.GB1390@elf.ucw.cz>

I can try to do this, but it will have to wait, I've got too much work now.
Don't you think the userspace solution deserves a try?

Pavel Machek wrote:
> Hi!
> 
> 
>>http://bugzilla.kernel.org/show_bug.cgi?id=4767:
>>
>>Bugzilla Bug 4767 	RFE: console_blank_hook that can call userspace
>>program
>>Submitter:   	heilong@bluebottle.com (Eugene Pavlovsky)
>>
>>I think it'd be very good to have a console_blank_hook handler that
>>would call a
>>userspace program/script/generate hotplug event whatever. Currently,
>>the console
>>can only be blanked using APM, so no options exist for people using
>>ACPI. I've
>>got a Radeon graphics chip on my laptop, and the LCD backlight can be
>>controlled
>>(on/off) using radeontool. If there was a userspace callback
>>interface
>>to
>>console blanking, I would just make a callback script that calls
>>"radeontool
>>light off" on blank and "radeontool light on" on unblank - really
>>easy. I think
>>this userspace console_blank_hook handler is very simple to put into
>>kernel, but
>>I'm not a kernel developer myself, so wouldn't risk sending any
>>patches (that
>>call system("some_script")), because I probably won't make things as
>>they should
>>be in the kernel.
> 
> 
> Radeonfb should blank console automatically, without userspace
> helper. Send a patch to do that ;-).
> 
> 								Pavel
> 

-- 
The human knowledge belongs to the world

  reply	other threads:[~2005-08-02 14:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-01 10:22 RFE: console_blank_hook that calls userspace helper Eugene Pavlovsky
2005-08-02 11:04 ` Pavel Machek
2005-08-02 14:01   ` Gene Pavlovsky [this message]
2005-08-02 14:05     ` Pavel Machek

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=42EF7CB7.5090403@bluebottle.com \
    --to=heilong@bluebottle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /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