From: "Denis G. Samsonenko" <d.g.samsonenko@gmail.com> To: hardware@lists.altlinux.org Subject: Re: [Hardware] EeePC 1000H, acpi, powersaved, etc Date: Thu, 20 Nov 2008 17:12:29 +0600 Message-ID: <957265820811200312j60c828bdqf1b2029cadf45668@mail.gmail.com> (raw) In-Reply-To: <4924150C.7030401@rambler.ru> [-- Attachment #1: Type: text/plain, Size: 2357 bytes --] Привет! 19 ноября 2008 г. 19:30 Kharitonov A. Dmitry написал: > У меня идеи закончились. У меня работает. > Попробуйте в начале скрипта вставить > > set -o xtrace > exec > /tmp/video1.log 2>/tmp/video2.log > set > >> Монитор так и не гаснет по Fn+F7. Так же не переключает режимы по >> Fn+F8 (внешний монитор подключил). > > Ну тоже с exec Вставил в скрипт eeepc_900-video.sh. Прикладываю логи. В файле FnF8.tar.gz вывод при нажатии на Fn+F8. В файле shell.tar.gz -- вывод при ручном запуске скрипта в konsole из под рута. Покопавшись ещё немного нашёл следующее: если делать service acpid restart в текстовой консоли (Alt+F1), то скрипты не работают, при это выдают такую ругань (по Fn+F7, например): ++ set ++ who ++ grep -q :0 +++ fgconsole ++ '[' 7 == 7 ']' ++ export DISPLAY=:0 ++ DISPLAY=:0 ++ /usr/bin/xset -display :0.0 -q ++ grep -q 'Monitor is Off' No protocol specified /usr/bin/xset: unable to open display ":0.0" ++ xset -display :0.0 dpms force off No protocol specified xset: unable to open display ":0.0" Если же рестатровать сервис acpid в konsole через sudo -H, то скрипты начинают нормально отрабатывать, при этом в логе: ++ set ++ who ++ grep -q :0 +++ fgconsole ++ '[' 7 == 7 ']' ++ export DISPLAY=:0 ++ DISPLAY=:0 ++ /usr/bin/xset -display :0.0 -q ++ grep -q 'Monitor is Off' ++ xset -display :0.0 dpms force off Если посмотреть на вывод video1.log в обоих случаях, то видно, что окружение совершенно разное, в частности во втором случае установлена переменная DISPLAY=:0.0, а в первом случае такая переменная не установлена. >> Если же вручную запускать скрипт /etc/acpi/eeepc_900-video.sh, то >> переключение происходит, но только до 1024x768, хотя монитор позволяет >> 1280x1024. > > Ну да, там в скрипте таблица есть, с теми значениями разрешения, которые и > пробуются. Добавьте, те, которые вам нужны и сообщите мне, я добавлю в > пакет. Я думаю, что не стоит статически прописывать таблицу. Просто сделать вначале xrandr -q и далее следовать полученному списку режимов, потому как в зависимости от того, что подключается режимы могут быть разными. Например, если у меня при подключении монитора говорит, что чожно 1280x1024, то хотелось бы получить именно это разрешение на мониторе в первую очередь. А если подключается проектор, то там 800x600 или 1024x768, в зависимости от проектора. -- Всего доброго, Денис. [-- Attachment #2: FnF8.tar.gz --] [-- Type: application/x-gzip, Size: 1448 bytes --] [-- Attachment #3: shell.tar.gz --] [-- Type: application/x-gzip, Size: 1364 bytes --]
next prev parent reply other threads:[~2008-11-20 11:12 UTC|newest] Thread overview: 129+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-11-06 5:52 ` Kharitonov A. Dmitry 2008-11-06 6:10 ` Denis G. Samsonenko 2008-11-06 9:03 ` Kharitonov A. Dmitry 2008-11-06 6:34 ` Denis G. Samsonenko 2008-11-06 6:42 ` Vladimir A. Svyatoshenko 2008-11-06 6:52 ` Denis G. Samsonenko 2008-11-06 7:14 ` Denis G. Samsonenko 2008-11-07 4:49 ` Kharitonov A. Dmitry 2008-11-07 20:47 ` Denis G. Samsonenko 2008-11-07 20:56 ` Михаил Якушин 2008-11-08 7:04 ` Kharitonov A. Dmitry 2008-11-06 7:40 ` Vladimir A. Svyatoshenko 2008-11-06 9:17 ` Kharitonov A. Dmitry 2008-11-06 9:42 ` Denis G. Samsonenko 2008-11-06 10:20 ` Kharitonov A. Dmitry 2008-11-06 11:10 ` Denis G. Samsonenko 2008-11-06 11:41 ` Kharitonov A. Dmitry 2008-11-06 13:11 ` Denis G. Samsonenko 2008-11-06 13:35 ` Kharitonov A. Dmitry 2008-11-06 13:45 ` Denis G. Samsonenko 2008-11-06 13:57 ` Kharitonov A. Dmitry 2008-11-06 14:04 ` Denis G. Samsonenko 2008-11-06 14:50 ` Kharitonov A. Dmitry 2008-11-06 13:29 ` Denis G. Samsonenko 2008-11-06 13:49 ` Kharitonov A. Dmitry 2008-11-06 15:20 ` Slava Dubrovskiy 2008-11-06 15:25 ` Kharitonov A. Dmitry 2008-11-09 14:50 ` Kharitonov A. Dmitry 2008-11-06 17:09 ` Denis G. Samsonenko 2008-11-06 19:17 ` Kharitonov A. Dmitry 2008-11-10 9:23 ` Kharitonov A. Dmitry 2008-11-10 19:30 ` Denis G. Samsonenko 2008-11-10 20:06 ` Kharitonov A. Dmitry 2008-11-11 9:14 ` Denis G. Samsonenko 2008-11-11 10:51 ` Kharitonov A. Dmitry 2008-11-11 13:05 ` Kharitonov A. Dmitry 2008-11-11 19:01 ` Denis G. Samsonenko 2008-11-11 19:07 ` Denis G. Samsonenko 2008-11-12 5:43 ` Kharitonov A. Dmitry 2008-11-12 6:50 ` Denis G. Samsonenko 2008-11-12 17:58 ` Kharitonov A. Dmitry 2008-11-13 3:50 ` Denis G. Samsonenko 2008-11-13 4:54 ` Kharitonov A. Dmitry 2008-11-13 7:23 ` Denis G. Samsonenko 2008-11-13 15:39 ` Kharitonov A. Dmitry 2008-11-14 8:50 ` Denis G. Samsonenko 2008-11-14 10:30 ` Kharitonov A. Dmitry 2008-11-14 19:52 ` Denis G. Samsonenko 2008-11-14 19:54 ` Denis G. Samsonenko 2008-11-16 8:10 ` Kharitonov A. Dmitry 2008-11-16 7:41 ` Kharitonov A. Dmitry 2008-11-16 18:55 ` Denis G. Samsonenko 2008-11-16 20:52 ` Kharitonov A. Dmitry 2008-11-17 4:36 ` Kharitonov A. Dmitry 2008-11-17 12:28 ` Denis G. Samsonenko 2008-11-17 13:42 ` Kharitonov A. Dmitry 2008-11-17 18:01 ` Denis G. Samsonenko 2008-11-17 19:10 ` Kharitonov A. Dmitry 2008-11-17 11:59 ` Denis G. Samsonenko 2008-11-17 13:25 ` Kharitonov A. Dmitry 2008-11-17 14:09 ` Ivan Petrov 2008-11-17 15:56 ` Kharitonov A. Dmitry 2008-11-17 16:01 ` Ivan Petrov 2008-11-17 16:20 ` Kharitonov A. Dmitry 2008-11-17 18:10 ` Denis G. Samsonenko 2008-11-18 5:29 ` Alexey Novikov 2008-11-18 5:50 ` Kharitonov A. Dmitry 2008-11-18 16:59 ` Ivan Petrov 2008-11-19 6:27 ` Alexey Novikov 2008-11-19 11:14 ` Denis G. Samsonenko 2008-11-19 11:46 ` Alexey Novikov 2008-11-17 18:08 ` Denis G. Samsonenko 2008-11-17 19:21 ` Kharitonov A. Dmitry 2008-11-17 15:21 ` Kharitonov A. Dmitry 2008-11-17 21:26 ` Kharitonov A. Dmitry 2008-11-19 4:24 ` Denis G. Samsonenko 2008-11-19 13:30 ` Kharitonov A. Dmitry 2008-11-20 11:12 ` Denis G. Samsonenko [this message] 2008-11-20 19:52 ` Kharitonov A. Dmitry 2008-11-21 4:17 ` Denis G. Samsonenko 2008-11-24 7:55 ` Kharitonov A. Dmitry 2008-11-24 9:50 ` Denis G. Samsonenko 2008-11-24 14:30 ` Kharitonov A. Dmitry 2008-11-24 8:11 ` Kharitonov A. Dmitry 2008-11-24 8:14 ` Владимир 2008-11-24 8:23 ` Kharitonov A. Dmitry 2008-11-24 8:26 ` Denis G. Samsonenko 2008-11-24 8:31 ` Kharitonov A. Dmitry 2008-11-24 16:30 ` Michael Shigorin 2008-11-24 17:45 ` Kharitonov A. Dmitry 2008-11-24 18:37 ` Michael Shigorin 2008-11-24 18:53 ` Aleksey Avdeev 2008-11-24 19:23 ` Kharitonov A. Dmitry 2008-11-24 20:10 ` Aleksey Avdeev 2008-11-25 5:02 ` Kharitonov A. Dmitry 2008-11-25 6:06 ` Aleksey Avdeev 2008-11-25 7:55 ` Kharitonov A. Dmitry 2008-11-25 8:31 ` Aleksey Avdeev 2008-11-25 8:43 ` Kharitonov A. Dmitry 2008-11-25 8:58 ` Aleksey Avdeev 2008-11-25 9:34 ` Kharitonov A. Dmitry 2008-11-25 8:06 ` Michael Shigorin 2008-11-25 8:48 ` Kharitonov A. Dmitry 2008-11-24 19:19 ` Kharitonov A. Dmitry 2008-11-24 20:13 ` Vyatcheslav Perevalov 2008-11-24 20:28 ` Aleksey Avdeev 2008-11-25 5:04 ` Kharitonov A. Dmitry 2008-11-25 6:09 ` Aleksey Avdeev 2008-11-25 8:36 ` Kharitonov A. Dmitry 2008-11-25 9:01 ` Aleksey Avdeev 2008-11-12 5:57 ` Kharitonov A. Dmitry 2008-11-12 7:12 ` Denis G. Samsonenko 2008-11-12 17:58 ` Kharitonov A. Dmitry 2008-11-13 3:42 ` Denis G. Samsonenko 2008-11-13 4:55 ` Kharitonov A. Dmitry 2008-11-13 6:56 ` Denis G. Samsonenko 2008-11-06 6:37 ` Denis G. Samsonenko 2008-11-06 10:21 ` Kharitonov A. Dmitry 2008-11-06 7:54 ` Denis G. Samsonenko 2008-11-06 10:02 ` Kharitonov A. Dmitry 2008-11-06 11:06 ` Denis G. Samsonenko 2008-11-06 14:47 ` Kharitonov A. Dmitry 2008-11-06 14:54 ` Denis G. Samsonenko 2008-11-06 14:59 ` Kharitonov A. Dmitry 2008-11-06 16:57 ` Denis G. Samsonenko 2008-11-06 19:00 ` Kharitonov A. Dmitry 2008-11-06 19:21 ` Denis G. Samsonenko 2008-11-06 19:45 ` Kharitonov A. Dmitry 2008-11-08 19:04 ` Denis G. Samsonenko
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=957265820811200312j60c828bdqf1b2029cadf45668@mail.gmail.com \ --to=d.g.samsonenko@gmail.com \ --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