Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: MartinP 11 Ledna 2015, 12:14:54

Název: Resetování jasu displeje po probuzení ze spánku
Přispěvatel: MartinP 11 Ledna 2015, 12:14:54
Ahoj,
mám takový problém s notebookem. Resetuje se mi jas při probuzení/detekci monitorů přes xrandr. U mého notebooku je minimální jas roven vypnutému podsvícení, takže když se mi to stane a nereaguje klávesová zkratka na přidání jasu, musim si na displej svítit baterkou, abych něco viděl  ::).

Stane se to třeba když připojím druhý monitor, když spustím Minecraft a dám ho na fullscreen nebo ho ukončím, když se notebook probudí z režimu spánku, upravím rozložení monitorů v nastavení...

Nevím, kde mám hledat chybu. Notebook je Lenovo Ideapad S210 Touch.
Kód: [Vybrat]
$ dpkg -l | grep xorg
ii  python-xkit                                                 0.4.2.3build1                                   library for the manipulation of the xorg.conf
ii  xorg                                                        1:7.6+12ubuntu2                                 X.Org X Window System
ii  xorg-docs-core                                              1:1.6-1ubuntu2                                  Core documentation for the X.org X Window System
ii  xorg-sgml-doctools                                          1:1.10-1                                        Common tools for building X.Org SGML documentation
ii  xserver-xorg                                                1:7.6+12ubuntu2                                 X.Org X server
ii  xserver-xorg-core                                           2:1.11.4-0ubuntu10.16                           Xorg X server - core server
ii  xserver-xorg-input-all                                      1:7.6+12ubuntu2                                 X.Org X server -- input driver metapackage
ii  xserver-xorg-input-evdev                                    1:2.7.0-0ubuntu1.2                              X.Org X server -- evdev input driver
ii  xserver-xorg-input-mouse                                    1:1.7.1-1build3                                 X.Org X server -- mouse input driver
ii  xserver-xorg-input-synaptics                                1.6.2-1ubuntu1~precise2                         Synaptics TouchPad driver for X.Org server
ii  xserver-xorg-input-vmmouse                                  1:12.9.0-0ubuntu0.1                             X.Org X server -- VMMouse input driver to use with VMWare
ii  xserver-xorg-input-wacom                                    1:0.14.0-0ubuntu2.1                             X.Org X server -- Wacom input driver
ii  xserver-xorg-video-all                                      1:7.6+12ubuntu2                                 X.Org X server -- output driver metapackage
ii  xserver-xorg-video-ati                                      1:6.14.99~git20111219.aacbd629-0ubuntu2         X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-cirrus                                   1:1.3.2-4build1                                 X.Org X server -- Cirrus display driver
ii  xserver-xorg-video-fbdev                                    1:0.4.2-4ubuntu2                                X.Org X server -- fbdev display driver
ii  xserver-xorg-video-intel                                    2:2.17.0-1ubuntu4.4                             X.Org X server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-mach64                                   6.9.0-1build2                                   X.Org X server -- ATI Mach64 display driver
ii  xserver-xorg-video-mga                                      1:1.4.13.dfsg-4build2                           X.Org X server -- MGA display driver
ii  xserver-xorg-video-neomagic                                 1:1.2.5-2build2                                 X.Org X server -- Neomagic display driver
ii  xserver-xorg-video-nouveau                                  1:0.0.16+git20111201+b5534a1-1build3            X.Org X server -- Nouveau display driver
ii  xserver-xorg-video-openchrome                               1:0.2.904+svn1050-1ubuntu0.1                    X.Org X server -- VIA display driver
ii  xserver-xorg-video-qxl                                      0.0.16-2ubuntu0.1                               X.Org X server -- QXL display driver
ii  xserver-xorg-video-r128                                     6.8.1-5build2                                   X.Org X server -- ATI r128 display driver
ii  xserver-xorg-video-radeon                                   1:6.14.99~git20111219.aacbd629-0ubuntu2         X.Org X server -- AMD/ATI Radeon display driver
ii  xserver-xorg-video-s3                                       1:0.6.3-4build2                                 X.Org X server -- legacy S3 display driver
ii  xserver-xorg-video-savage                                   1:2.3.3-1ubuntu1                                X.Org X server -- Savage display driver
ii  xserver-xorg-video-siliconmotion                            1:1.7.5-1build2                                 X.Org X server -- SiliconMotion display driver
ii  xserver-xorg-video-sis                                      1:0.10.3-3build2                                X.Org X server -- SiS display driver
ii  xserver-xorg-video-sisusb                                   1:0.9.4-2build2                                 X.Org X server -- SiS USB display driver
ii  xserver-xorg-video-tdfx                                     1:1.4.3-4build2                                 X.Org X server -- tdfx display driver
ii  xserver-xorg-video-trident                                  1:1.3.4-2build2                                 X.Org X server -- Trident display driver
ii  xserver-xorg-video-vesa                                     1:2.3.0-7build2                                 X.Org X server -- VESA display driver
ii  xserver-xorg-video-vmware                                   1:12.0.1-1ubuntu1.1                             X.Org X server -- VMware display driver
Kód: [Vybrat]
$ uname -a
Linux 3.13.0-43-generic #72~precise1-Ubuntu SMP Tue Dec 9 12:14:18 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Kód: [Vybrat]
$ lsb_release -a
No LSB modules are available.
Distributor ID: elementary OS
Description: elementary OS Luna
Release: 0.2.1
Codename: luna
Kód: [Vybrat]
$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="thinkpad-acpi.brightness_enable=0 acpi_backlight=vendor pcie_aspm=force"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Nevíte, čím by to mohlo být? Nemůžu kvůli tomu mít zaheslovaný NB, protože když se probudí ze spánku a zobrazí se tabulka na vložení hesla, nereaguje klávesová zkratka na jas a tak nevidím, co píšu.
Název: Re:Resetování jasu displeje po probuzení ze spánku
Přispěvatel: Dano V 11 Ledna 2015, 13:46:49
http://forum.ubuntu.cz/index.php?topic=69121.msg496418#msg496418 (http://forum.ubuntu.cz/index.php?topic=69121.msg496418#msg496418)  ;)

alebo http://ubuntuhandbook.org/index.php/2014/04/save-screen-brightness-settings-in-ubuntu-14-04/ (http://ubuntuhandbook.org/index.php/2014/04/save-screen-brightness-settings-in-ubuntu-14-04/)
Název: Re:Resetování jasu displeje po probuzení ze spánku
Přispěvatel: MartinP 11 Ledna 2015, 14:03:18
Ani jedno neřeší můj problém.

Mám grafiku Intel HD 4000. Po probuzení se displej rozsvítí na plný jas, zobrazí se normálně plocha, okna apod. a za 0,5 až 1s se nastaví jas na minimum. Sem tam se stane, že jas zůstane na plno a nesníží se. Vypadá to, že se něco spouští po probuzení a já nemůžu přijít na to, co.
Název: Re:Resetování jasu displeje po probuzení ze spánku
Přispěvatel: Cuore 11 Ledna 2015, 14:44:58
otestuj můj program pro nastavení jasu, třeba to pořešíš takhle.