public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Where does /sys/class/backlight/intel_backlight come from?
Date: Fri, 16 Mar 2012 14:18:57 -0600	[thread overview]
Message-ID: <CADPrc82igwbJqtoJfmXFvBiActkAWLTTrdc2C4Tm9HgjBpNq-w@mail.gmail.com> (raw)
In-Reply-To: <CAN0CFw2+yrNn03fazU4HSwAUpDNfN47xmzvVTa-zScXE2iQ+7g@mail.gmail.com>

On Fri, Mar 16, 2012 at 2:14 PM, Grant <emailgrant@gmail.com> wrote:
> Does anyone know which kernel option would be responsible for
> /sys/class/backlight/intel_backlight?  I've disabled some backlight
> stuff in the kernel but the directory still appears.  I get screen
> backlight control on my laptop if I do:
>
> echo 0 > /sys/class/backlight/intel_backlight/brightness
>
> but if xlockmore blanks my screen, I have to issue the above again
> before screen backlight control works again.  I also have acpi_video0
> in /sys/class/backlight and I think removing intel_backlight might fix
> the problem.
>
> I could try deleting the directory.  Is that safe?  Are the files and
> folders in /sys generated dynamically at boot?

The /sys directory is like /proc; it's a virtual directory which
serves as interface to several kernel knobs. I don't think you can
remove any dir from it, and if you do, next boot it will show up
again.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



  reply	other threads:[~2012-03-16 20:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16 20:14 [gentoo-user] Where does /sys/class/backlight/intel_backlight come from? Grant
2012-03-16 20:18 ` Canek Peláez Valdés [this message]
2012-03-17  0:12   ` Grant
2012-03-16 21:31 ` Paul Hartman
2012-03-17  2:32   ` Grant
2012-03-17 16:36     ` Grant

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=CADPrc82igwbJqtoJfmXFvBiActkAWLTTrdc2C4Tm9HgjBpNq-w@mail.gmail.com \
    --to=caneko@gmail.com \
    --cc=gentoo-user@lists.gentoo.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