<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Комментарии на: Настройка медиа клавиш на ноутбуке через acpi</title>
	<atom:link href="http://reonaydo.org.ru/nastrojka-media-klavish-na-noutbuke-cherez-acpi/feed/" rel="self" type="application/rss+xml" />
	<link>http://reonaydo.org.ru/nastrojka-media-klavish-na-noutbuke-cherez-acpi/</link>
	<description></description>
	<lastBuildDate>Sun, 15 Aug 2010 22:24:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>От: Peter Svistunov</title>
		<link>http://reonaydo.org.ru/nastrojka-media-klavish-na-noutbuke-cherez-acpi/comment-page-1/#comment-104</link>
		<dc:creator>Peter Svistunov</dc:creator>
		<pubDate>Mon, 05 Jan 2009 22:12:10 +0000</pubDate>
		<guid isPermaLink="false">http://tuupic.org.ru/?p=215#comment-104</guid>
		<description>Насчет генерить сканкод из acpi эвента:
 Берешь файлик acpi-fakekey.c из дистфайла от acpi-support, компилишь и вешаешь обработчик типа:
&lt;pre&gt;
case &quot;$action&quot; in	
        hotkey)
	
case &quot;$key&quot; in
&quot;HKEY 00000080 00001008&quot;)
	/usr/bin/acpi_fakekey 220	
;;
&quot;HKEY 00000080 00001009&quot;)
	/usr/bin/acpi_fakekey 221
;;	
&quot;HKEY 00000080 00001014&quot;)
	/usr/bin/acpi_fakekey 222
;;		
*)
logger &quot;acpid: $group/$action $key is not defined&quot;
;;
			
esac
;;
*)	
;;	
esac
;;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Насчет генерить сканкод из acpi эвента:<br />
 Берешь файлик acpi-fakekey.c из дистфайла от acpi-support, компилишь и вешаешь обработчик типа:</p>
<pre>
case "$action" in
        hotkey)

case "$key" in
"HKEY 00000080 00001008")
	/usr/bin/acpi_fakekey 220
;;
"HKEY 00000080 00001009")
	/usr/bin/acpi_fakekey 221
;;
"HKEY 00000080 00001014")
	/usr/bin/acpi_fakekey 222
;;
*)
logger "acpid: $group/$action $key is not defined"
;;

esac
;;
*)
;;
esac
;;
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
