ALT Linux hardware support
 help / color / mirror / Atom feed
From: Guest007 <guest007@gmail.com>
To: hardware@lists.altlinux.org
Subject: [Hardware] acpi-события
Date: Fri, 7 Mar 2008 13:06:37 +0300
Message-ID: <200803071306.37328.trash4@yandex.ru> (raw)

Приветствую!

Чем ловить / обрабатывать события нажатия на кнопки в ноуте (ASUS A8Sr)?

Т.е кнопка bluetooth корректно включает и выключает оный девайс, яркость 
регулитруется, а вот остальные кнопки лишь оставляют след на 12-й консоли.
Примерно вот так:

Mar  7 12:43:43 vbg acpid: received event "hotkey ATKD 0000007e 00000008"
Mar  7 12:43:43 vbg acpid: notifying client 7470[0:0]
Mar  7 12:43:43 vbg acpid: notifying client 7046[111:122]
Mar  7 12:43:43 vbg acpid: completed event "hotkey ATKD 0000007e 00000008"
Mar  7 12:43:43 vbg powersave-hotkey_handler[21820]: WARNING: EV_ID: 463, 
unclean exit or 
unconverted script, please read the powersaved manual (
chapter 11) if this is a customized event script
Mar  7 12:43:43 vbg kernel: usb 4-1: USB disconnect, address 2
Mar  7 12:43:43 vbg hcid[21780]: HCI dev 0 down
Mar  7 12:43:43 vbg hcid[21780]: Stopping security manager 0
Mar  7 12:43:43 vbg hcid[21780]: Device hci0 has been disabled
Mar  7 12:43:43 vbg bluetooth: rfcomm startup succeeded
Mar  7 12:43:43 vbg hcid[21780]: Stopping SDP server
Mar  7 12:43:43 vbg hcid[21780]: Unregister path: /org/bluez/hci0
Mar  7 12:43:43 vbg hcid[21780]: Unregister path: /org/bluez
Mar  7 12:43:43 vbg hcid[21780]: Shutting down local server
Mar  7 12:43:43 vbg hcid[21780]: Exit
Mar  7 12:43:43 vbg bluetooth: hcid shutdown succeeded
Mar  7 12:43:49 vbg acpid: received event "hotkey ATKD 0000005d 0000000a"
Mar  7 12:43:49 vbg acpid: notifying client 7470[0:0]
Mar  7 12:43:49 vbg acpid: notifying client 7046[111:122]
Mar  7 12:43:49 vbg acpid: completed event "hotkey ATKD 0000005d 0000000a"
Mar  7 12:43:49 vbg powersave-hotkey_handler[21870]: WARNING: EV_ID: 464, 
unclean exit or 
unconverted script, please read the powersaved manual (
chapter 11) if this is a customized event script

Это я сначала выключил bluetooth соотв. кнопкой, а потом нажал кнопку рядом 
(включение wi-fi карточки). 


И как переназначить имеющееся (например Fn-F1 поидее должна переводить в 
ждущий режим (suspend-to-RAM) а на самом деле засыпает ноут на диск.

klaptop  и kpowersaver доплняют или конкурируют друг с другом?

и почему у меня прописано ТРИ сетевых интерфейса (кроме lo)? один -- провода 
(eth0), а остальные -- wlan0 и wmaster0, причём в /etc/net есть только wlan0.

================================
ifconfig
-----------
eth0      Link encap:Ethernet  HWaddr 00:1D:60:55:2B:4F
          inet addr:192.168.6.234  Bcast:192.168.6.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4642 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2119 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1310237 (1.2 MiB)  TX bytes:461465 (450.6 KiB)
          Interrupt:217 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:19203 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19203 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:996251 (972.9 KiB)  TX bytes:996251 (972.9 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:13:E8:97:7D:97
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wmaster0  Link encap:UNSPEC  HWaddr 
00-13-E8-97-7D-97-F4-5F-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

==============================================
iwconfig
-------------
lo        no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11g  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.


Заранее благодарен


             reply	other threads:[~2008-03-07 10:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-07 10:06 Guest007 [this message]
2008-03-07 11:59 ` ABATAPA
2008-03-07 21:17 ` Michael Pozhidaev
2008-03-12 11:35     ` Guest007

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=200803071306.37328.trash4@yandex.ru \
    --to=guest007@gmail.com \
    --cc=hardware@lists.altlinux.org \
    --cc=trash4@yandex.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 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