ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Epiphanov Sergei <serpiph@entek.ru>
To: community@altlinux.ru
Subject: Re: [Comm] acpid
Date: Tue, 9 Dec 2003 10:52:38 +0300
Message-ID: <200312091052.39049.serpiph@nikiet.ru> (raw)
In-Reply-To: <20031208195707.GA1802@sirius.home>

В сообщении от 8 Декабрь 2003 22:57 Sergey Vlasov написал:
> On Mon, Dec 08, 2003 at 10:49:50AM +0300, Epiphanov Sergei wrote:
> > У меня стоит сейчас ядро 2.4.22-alt12, перестала откликаться кнопка
> > (нет никаких event от неё), с ядром 2.4.22-alt5 всё работало.
> > Материнка ASUS P4B533. Модуль button грузится. Аналогично с материнкой
> > ASUS P4S8X после установки ядра 2.4.22-alt11 (до этого работало). Что
> > же правили в стороне ACPI? (в логах загрузки  ACPI запускается).
>
> Много чего правилось...
>
> Какие опции передаются ядру при загрузке?

Или apic, или ничего.

> Что появляется в /proc/acpi/button/ после загрузки модуля button?

Появляется файл /proc/acpi/button/power/PWRF/info, в нем строка:

type:                    Power Button (FF)

> Посмотрите в /proc/interrupts - на каком прерывании находится acpi,
> увеличивается ли счётчик при нажатии на кнопку?  (Хотя при разделяемых
> прерываниях, возможно, это проверить не удастся.)

Файл /proc/interrupts:

           CPU0
  0:     115093    IO-APIC-edge  timer
  1:       2516    IO-APIC-edge  keyboard
  2:          0          XT-PIC  cascade
  8:          1    IO-APIC-edge  rtc
 14:      18083    IO-APIC-edge  ide0
 15:          8    IO-APIC-edge  ide1
 16:      89937   IO-APIC-level  nvidia
 18:          1   IO-APIC-level  SiS SI7012
 19:       1722   IO-APIC-level  eth0
 20:          0   IO-APIC-level  acpi, usb-ohci
 21:          0   IO-APIC-level  usb-ohci
 22:      15822   IO-APIC-level  usb-ohci
 23:          0   IO-APIC-level  ehci_hcd
NMI:          0
LOC:     115046
ERR:          0
MIS:          0

Оказалось, нигде...

> Можно проверить, какие события выдаются ядром при нажатии на кнопку -
> для этого остановите acpid, запустите cat /proc/acpi/event и смотрите,
> что будет появляться в выводе при нажатии на кнопку.

Ничего не идет, сколько не нажимай. Кстати, на другой материнке (старой) 
вместо строки "button/power" появляется строка "on/power".

> В некоторых случаях проблемы с прерываниями устраняются опцией ядра
> acpi_irq_nobalance.  Также иногда приходится делать acpi_pic_sci=level
> или acpi_pic_sci=edge (на разных системах по-разному).  До pci=noacpi,
> думаю, в данном случае дело дойти не должно.

пробовал acpi_pic_sci менять - ноль эмоций. Попробую acpi_irq_nobalance.

-- 
С уважением, Епифанов Сергей


  reply	other threads:[~2003-12-09  7:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-03 16:41 Andrey Novoselov
2003-12-03 16:53 ` Andrey Rahmatullin
2003-12-04  8:14 ` Epiphanov Sergei
2003-12-05 20:49   ` Pavel Tsybulin
2003-12-05 21:21     ` Lebedev Sergey
2003-12-06 18:52       ` Pavel Tsybulin
2003-12-06 19:02         ` Sergey Vlasov
2003-12-07  8:00           ` Lebedev Sergey
2003-12-07 17:45             ` Pavel Tsybulin
2003-12-07 17:57               ` Sergey Vlasov
2003-12-08 21:58                 ` Pavel Tsybulin
2003-12-07 18:10               ` Lebedev Sergey
2003-12-08  7:49       ` Epiphanov Sergei
2003-12-08 19:57         ` Sergey Vlasov
2003-12-09  7:52           ` Epiphanov Sergei [this message]
2003-12-10  9:25             ` Epiphanov Sergei
2003-12-04 10:24 ` [Comm] вопрос знатокам bttv -можно ли впихнуть два и более tv-tuner pci? Victor Kasatkin

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=200312091052.39049.serpiph@nikiet.ru \
    --to=serpiph@entek.ru \
    --cc=community@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 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