<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
		<id>http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=%E7%AC%AC%E5%85%AD%E8%AF%BE--MicroWRT_IIS_%E4%BD%BF%E7%94%A8</id>
		<title>第六课--MicroWRT IIS 使用 - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=%E7%AC%AC%E5%85%AD%E8%AF%BE--MicroWRT_IIS_%E4%BD%BF%E7%94%A8"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E7%AC%AC%E5%85%AD%E8%AF%BE--MicroWRT_IIS_%E4%BD%BF%E7%94%A8&amp;action=history"/>
		<updated>2026-04-21T23:54:40Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=%E7%AC%AC%E5%85%AD%E8%AF%BE--MicroWRT_IIS_%E4%BD%BF%E7%94%A8&amp;diff=8572&amp;oldid=prev</id>
		<title>Shengkai81@gmail.com：Created page with &quot;{| style=&quot;width: 800px;&quot; |- | 本教程主要介绍microWRT I2S接口的使用。虽然我们可以通过后面的USB声卡教程，来完成microWRT 播放音乐。但是作...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E7%AC%AC%E5%85%AD%E8%AF%BE--MicroWRT_IIS_%E4%BD%BF%E7%94%A8&amp;diff=8572&amp;oldid=prev"/>
				<updated>2015-06-20T05:23:56Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| style=&amp;quot;width: 800px;&amp;quot; |- | 本教程主要介绍microWRT I2S接口的使用。虽然我们可以通过后面的USB声卡教程，来完成microWRT 播放音乐。但是作...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
本教程主要介绍microWRT I2S接口的使用。虽然我们可以通过后面的USB声卡教程，来完成microWRT 播放音乐。但是作为传统的音频接口，I2S在很多设备中还是有着广范的用途。&lt;br /&gt;
比如流行了百度音乐盒子就是采用了openwrt的系统，通过I2S接口，外接驱动芯片来完成音乐播放的。目前本教程中使用的I2S扩展板，是个私有定制的扩展板。后续我们会推出和&lt;br /&gt;
microWRT配套的I2S扩展模块。玩家可以通过本教程对目前openwrt系统中音频驱动框架进行初步了解。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Linux 声卡驱动==&lt;br /&gt;
&lt;br /&gt;
Linux声卡驱动架构有OSS和ALSA两种架构，目前最常用的架构是ALSA，本文也使用ALSA架构对WM8960驱动进行移植。关于Linux声卡驱动的详细介绍，请玩家自行查找，本教程不详细说明。&lt;br /&gt;
为了支持wm8960 SOC 声卡芯片，我们需要做两件事：&lt;br /&gt;
&lt;br /&gt;
1. 将wm8960的声卡驱动程序移植到linux 驱动代码中，也就是放在如下路径中：&lt;br /&gt;
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/sound/soc/ralink， 具体路径名称取决于你的openwrt版本。&lt;br /&gt;
&lt;br /&gt;
2. 配置openwrt使其支持wm8960 SOC。wm8960使用I2C接口作为声卡的控制接口，用I2S作为声卡的数据接口。所以需要同时使能I2C和I2S接口，还要配置ALSA来支持wm8960。&lt;br /&gt;
为了测试声卡，我们还需要配置一个播放软件madplayer用来播放音乐。具体配置如下：&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Shengkai81@gmail.com</name></author>	</entry>

	</feed>