From: "Peter V. Saveliev" <peet@altlinux.ru> To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru> Subject: Re: [sisyphus] usb vs. /dev/hands Date: Wed, 2 Jun 2004 16:45:28 +0400 Message-ID: <20040602164528.04b9833b.peet@altlinux.ru> (raw) In-Reply-To: <20040602112328.GA4520@server.by> On Wed, 2 Jun 2004 14:23:28 +0300 Alex Yustasov <snmon@server.by> wrote: > On Wed, Jun 02, 2004 at 01:22:52PM +0400, Peter V. Saveliev wrote: > > ... > > > > Поставил тут Сизифа на acer travelmate 240. Сообразил ему hibernate. И > > вот что интересного: > > Здравствуйте. > Какие ядро, swsusp и hibernate? kernel: 2.4.25, самолепное из alt6 swsusp: 2.0.0.44 hibernate: suspend-0.18-alt1 <skip /> > Раньше у меня была та же проблема на 2.4 ядре, если hibernate был на > acpi events. Запускал hibernate из консоли. Не вариант. Сложно объяснить человеку, что запустить из консоли проще, чем нажать кнопку. Большую кнопку. Честно говоря, я и сам в это не поверю :) > Теперь в сизифе нет service usb. Есть новый hotplug. > Сейчас попробовал - работает. Модуль usbcore не выгружается. > > # lsmod | grep usbcore > usbcore 61440 1 О. А у меня hibernate, если ему руки не обрывать, пытается выгрузить. На чём и обламывается. Руки пришлось оборвать, см. ниже. > > hotplug-2004_03_29-alt1 > kernel-feat-swsusp24-2004.05.20-alt1 (в даедалусе) > suspend-0.18-alt1 > kernel-image-std-smp-2.4.26-alt2.c1 > > Правда другая проблема. Если hibernate вызывается из acpi > то service postfix stop не работает. <skip /> Вот, на самом деле победил. Не стал принуждать к выгрузке usbcore, ограничившись usbmouse в скрипте-обёртке и "auto" на выгрузку в suspend.conf. Всё зажило нормально. Пришлось, правда, руками перезапихивать модули acpi, ну да несложно. Вызывается из acpid. Все сервисы работают нормально -- и останавливаются, и стартуют. Правда, кое-что, не доверив hibernate, опять же, останавливаю/стартую обёрткой. ЗЫ: попутно вопрос, что можно использовать для неюзерного слежения за разрядкой батареи и автоматического hibernate в случае чего? В acpid никаких events о том, насколько батарейка зарядилась/разрядилась, как понятно, не идёт. Apmd использовать уж больно неохота, ну его. Чекать батарейку через/proc по крону, что ли? -- Sincerely, Peter V. Saveliev E-mail: peet@altlinux.ru Jabber: peet@jabber.ru
next prev parent reply other threads:[~2004-06-02 12:45 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-06-02 9:22 Peter V. Saveliev 2004-06-02 11:23 ` Alex Yustasov 2004-06-02 12:45 ` Peter V. Saveliev [this message] 2004-06-03 7:10 ` Denis Ovsienko 2004-06-03 10:42 ` Peter V. Saveliev 2004-06-03 10:52 ` Peter V. Saveliev
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=20040602164528.04b9833b.peet@altlinux.ru \ --to=peet@altlinux.ru \ --cc=sisyphus@altlinux.ru \ /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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git