<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>船長日誌 &#187; lirc</title>
	<atom:link href="http://www.cslog.cn/tag/lirc/feed/zh-hant/" rel="self" type="application/rss+xml" />
	<link>http://www.cslog.cn</link>
	<description>最讓我激動的是不知道下一個星球上能發現什麼...</description>
	<lastBuildDate>Wed, 30 Jul 2025 16:06:05 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>linux下使用lirc紅外程序組萬能遙控器拯救或遠程控制家電</title>
		<link>http://www.cslog.cn/Content/lirc-remote-control/zh-hant/</link>
		<comments>http://www.cslog.cn/Content/lirc-remote-control/zh-hant/#comments</comments>
		<pubDate>Fri, 27 Sep 2013 16:39:21 +0000</pubDate>
		<dc:creator>船長</dc:creator>
				<category><![CDATA[其它]]></category>
		<category><![CDATA[lirc]]></category>
		<category><![CDATA[電子]]></category>
		<category><![CDATA[電工]]></category>
		<category><![CDATA[硬件維修]]></category>
		<category><![CDATA[遙控器]]></category>

		<guid isPermaLink="false">http://www.cslog.cn/?p=1202</guid>
		<description><![CDATA[lirc是linux平台上一個用來收發紅外信號的程序包。使用它，加上帶有紅外硬件 &#8230; <a href="http://www.cslog.cn/Content/lirc-remote-control/zh-hant/">繼續閱讀 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lirc.org/">lirc</a>是linux平台上一個用來收發紅外信號的程序包。使用它，加上帶有紅外硬件的n900可以組成強大的萬能遙控器。<a href="http://lirc.sourceforge.net/remotes/">http://lirc.sourceforge.net/remotes/</a>有大量的家電遙控器代碼表，可以直接使用到lirc程序上。如果家電的遙控器丟了，可以使用lirc解決問題。普通的電腦要外接紅外發射器，而諾基亞手機N900自帶了紅外發射器，所以我使用它做實驗。設置後N900變成幾乎萬能的遙控器，電視、音響、投影、空調、遊戲機、電視接機頂收盒、風扇、紅外開關等等<br />
因為n900可以使用ssh連接遠程控制，這樣就可以使用n900構建簡便的遠程遙控家電系統。</p>
<p>詳細的使用方法是這樣的，首先，在n900上安裝lirc。 n900的源上有這個程序包。安裝好之後，從<a href="http://lirc.sourceforge.net/remotes/">http://lirc.sourceforge.net/remotes/</a>下載遙控器的配置文件，以佳能350D、450D、550D、650D等單反相機的遙控器RC-1或RC-5為例，它的配置文件是<a href="http://lirc.sourceforge.net/remotes/canon/RC-1_RC-5">http://lirc.sourceforge.net/remotes/canon/RC-1_RC-5</a>。設下載後存放到n900的/home/user/MyDocs/remotes/RC-1_RC-5 路徑。</p>
<p>然後編輯/etc/lircd.conf文件，加入這個配置文件的路徑<br />
<code>include "/home/user/MyDocs/qtirreco/Devices/RC-1_RC-5"</code></p>
<p>然後啟動lircd<br />
<code>/etc/init.d/lirc start</code><br />
現在，讓n900的紅外窗口對着開啟遙控功能的佳能單反相機，運行<br />
<code>irsend SEND_ONCE CANON-RC1/RC5 S</code><br />
相機就會被遙控拍照了。上面命令中的CANON-RC1/RC5必須與RC-1_RC-5配置文件中的name值一致，而S將是拍照這個編碼的名稱。</p>
<div style="margin-top: 15px; font-style: italic">
<p>轉載請註明: 轉自<a href="http://www.cslog.cn/">船長日誌</a>, 本文鏈接地址: <a href="http://www.cslog.cn/Content/lirc-remote-control/zh-hant/">http://www.cslog.cn/Content/lirc-remote-control/zh-hant/</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cslog.cn/Content/lirc-remote-control/feed/zh-hant/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- WP Chinese Conversion Full Page Converted -->