ALT Linux hardware support
 help / color / mirror / Atom feed
From: Konstantin Lepikhov <lakostis@unsafe.ru>
To: hardware@lists.altlinux.org
Subject: Re: [Hardware] Регулировка яркости подсветки ноутбука
Date: Wed, 19 Aug 2015 11:31:36 +0100
Message-ID: <20150819103136.GA25059@lks.home> (raw)
In-Reply-To: <1439975955.515751517@f399.i.mail.ru>

Hi Петр!

On 08/19/15, at 12:19:15 PM you wrote:

> 
> >> Если перехожу на проприетарный драйвер fglrx,
> >> то указанная во вложении надпись при загрузке исчезает, 
> >> загружается нормально дистрибутив, курсор перестает искажаться, 
> >> под ним пропадает прямоугольник, но в папке /sys/class/backlight 
> >> остается только acpi_video0 и яркость уже не регулируется 
> >> ни клавишами, ни командной строкой, и даже KDE графикой никак 
> >> не реагирует на нажатие горячих клавиш "fn"+ "F5" или "F6".
> 
> >В fglrx вам никто это и не обещал. Для регулировки всех параметров
> >используйте aticonfig. А обработку Fn+.. можно повесить на xbindkeys
> 
> Т.е. отсутствие надписи при загрузке "backlight controller is not found" 
> в случае применения fglrx следует понимать так,что при fglrx он в принципе не ищется? 
> И находящиеся в папке /sys/class/backlight файлы в случае fglrx- 
> простые текстовые файлы, ничем не управляющие? 
> Если это так, почему же KDE не реагирует, как и в случае radeon, 
> изменением процентов на всплывающей полоске?
> Знать бы еще, где эти конфиги: aticonfig и xbindkeys находятся. 
> Тяжеловато слезать с иглы маздая.
fglrx это проприетарный драйвер, где совместимость с /sys/class/backlight
никак не заявлена и не регламентирована, поэтому работать оно там может
только по чистой случайности. aticonfig это утилита из fglrx-tools
(по-крайней мере, была раньше там), которая позволяет управлять GPU
напрямую через драйвер xorg и ядерный модуль.

$ aticonfig --help
...
Display attribute options:
  Following options are used for query and set adjustment of 
  specific attribute for specific display. These options will be 
  effective immediately. Other options on the same command line 
  will be ignored.
  The DISPLAYTYPE in options can be one of the following strings:
        crt1,  lvds,   tv,   cv,   tmds1, crt2,
        tmds2, tmds2i, dfp3, dfp4, dfp5,  dfp6 .
   The ATTRIBTYPE in options can be one of the following strings:
        brightness, contrast, saturation, hue, positionX, 
        positionY, sizeX, sizeY, overscan, videoStandard  
  --query-dispattrib=DISPLAYTYPE,ATTRIBTYPE 
        query the specific adjustment info of the specific display.
        if ATTRIBTYPE is not specified, all supported attribute 
        information will be printed out. 
  --set-dispattrib=DISPLAYTYPE,ATTRIBTYPE:VALUE 
        set the attribute value of the specific display.
...

xbindkeys это отдельное приложение, которое может выполнять произвольные
команды в зависимости от нажатых клавиш:

$ egrep "^[^#]" .xbindkeysrc 
"xbacklight -20"
  XF86MonBrightnessDown
   
"xbacklight +20"
  XF86MonBrightnessUp

-- 
WBR et al.


      reply	other threads:[~2015-08-19 10:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19  8:37 ` Konstantin Lepikhov
2015-08-19  9:19   ` Петр Лонзингер
2015-08-19 10:31     ` Konstantin Lepikhov [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=20150819103136.GA25059@lks.home \
    --to=lakostis@unsafe.ru \
    --cc=hardware@lists.altlinux.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

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

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


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