ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Владимир Гусев" <vova1971@narod.ru>
To: sp_archer@meta.ua,
	"ALT Linux Community general discussions"
	<community@lists.altlinux.org>
Subject: Re: [Comm] Чем регулировать яркость дисплея в ноутбуке? [SOLVED]
Date: Thu, 23 Sep 2010 16:38:58 +0400
Message-ID: <op.vjhj282kglg102@post.cnt.ru> (raw)
In-Reply-To: <46339.194.44.242.194.1285244090.metamail@webmail.meta.ua>

>>> Всё гениальное просто.
>>> setpci
>>> Простое и изящное решение, абсолютно удовлетворяющее моему любимому
>>> принципу разумной достаточности.
>>
>> А подробнее?
>
> Ну если коротко то наваял скрипт в котором kdialog через выпадающий  
> список
> предлагает установить яркость экрана от 10% до 100% с шагом 10%.
> И setpci -s <устройство> F4.B=<яркость>
>
> Разумеется setpci запускается через sudo (в /etc/sudoers соответствующее
> разрешение для пользователя прописал).
>
> <устройство> узнается через lspci.
> <яркость> задается в шестнадцатиричке от 00 до FF.
>
> ПРимер.
> У меня
>  sudo  /usr/bin/setpci -s 00:02.0 F4.B=B3
> ставит яркость в 70%
>
> Сделал для скрипта ярлык, поместил на рабочий стол. Всё.

Спасибо :-)



-- 
С уважением,
Владимир Гусев


      reply	other threads:[~2010-09-23 12:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-04 16:42 [Comm] Чем регулировать яркость дисплея в ноутбуке? Olexander Chernetskyy
2010-09-04 16:49 ` Andrey Rahmatullin
2010-09-04 16:55   ` Olexander Chernetskyy
2010-09-04 16:58     ` Dmitriy Kruglikov
2010-09-04 17:03       ` Olexander Chernetskyy
2010-09-04 17:11         ` Andrey Rahmatullin
2010-09-04 17:28           ` Olexander Chernetskyy
2010-09-04 17:37             ` Andrey Rahmatullin
2010-09-04 16:58     ` Andrey Rahmatullin
2010-09-04 17:32     ` Michael Shigorin
2010-09-04 18:20       ` Olexander Chernetskyy
2010-09-05 21:19     ` Aeliya Grevnyov
2010-09-06  6:14       ` Olexander Chernetskyy
2010-09-06 10:40         ` Aeliya Grevnyov
2010-09-07  5:12           ` [Comm] Чем регулировать яркость дисплея в ноутбуке? [SOLVED] Olexander Chernetskyy
2010-09-23  9:45             ` Владимир Гусев
2010-09-23 12:14               ` Olexander Chernetskyy
2010-09-23 12:38                 ` Владимир Гусев [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=op.vjhj282kglg102@post.cnt.ru \
    --to=vova1971@narod.ru \
    --cc=community@lists.altlinux.org \
    --cc=sp_archer@meta.ua \
    /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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git