<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/hongjiujing" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/hongjiujing" type="application/rss+xml"></fs:self_link><lastBuildDate>Tue, 30 Jun 2009 08:59:00 GMT</lastBuildDate><title>hongjiujing的专栏</title><description>小成于智,大成于德</description><link>http://blog.csdn.net/hongjiujing/</link><item><title>嵌入式培训</title><link>http://blog.csdn.net/hongjiujing/archive/2009/06/30/4308538.aspx</link><wfw:comment>http://blog.csdn.net/hongjiujing/comments/4308538.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hongjiujing/comments/commentRss/4308538.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4308538</trackback:ping><description>南京地区或者周边需要嵌入式培训的联系我，南航老师带队。联系QQ：346832029 &lt;img src =&quot;http://blog.csdn.net/hongjiujing/aggbug/4308538.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238890445/hongjiujing/csdn.net/s.gif?r=http://blog.csdn.net/hongjiujing/archive/2009/06/30/4308538.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/hongjiujing/238890445/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/hongjiujing/238890445/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 30 Jun 2009 16:59:00 +0800</pubDate><author>hongjiujing</author><comments>http://blog.csdn.net/hongjiujing/archive/2009/06/30/4308538.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hongjiujing/archive/2009/06/30/4308538.aspx</guid><dc:creator>hongjiujing</dc:creator><fs:srclink>http://blog.csdn.net/hongjiujing/archive/2009/06/30/4308538.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/hongjiujing/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/hongjiujing/~1049635/238890445/1049635</fs:itemid></item><item><title>几种常用的像素混合方法</title><link>http://blog.csdn.net/hongjiujing/archive/2009/06/25/4297063.aspx</link><wfw:comment>http://blog.csdn.net/hongjiujing/comments/4297063.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hongjiujing/comments/commentRss/4297063.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4297063</trackback:ping><description>&lt;br /&gt;几种常用的像素混合方法&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
前两天为大家介绍了处理透明光影效果的 Alpha-Blending 技术，今次我将再为大家介绍其它几种常用的像素混合方法，这些方法一般在游戏中被用来处理光影效果。&lt;br /&gt;&lt;br /&gt;
『Alpha-Blending』&lt;br /&gt;&lt;br /&gt;
前次已经说了，所谓 Alpha-Blending，其实就是按照“Alpha”混合向量的值来混合源像素和目标像素，一般用来处理半透明效果。&lt;br /&gt;&lt;br /&gt;
『Additive-Blending』&lt;br /&gt;&lt;br /&gt;
至于 Additive-Blending，就是用饱和相加的方法来混合源像素和目标像素的颜色分量。一般用来处理光源，比如说爆炸的火光等等。下面就来看看两个像素间的 Additive-Blending 过程。&lt;br /&gt;&lt;br /&gt;
第一步，先把源像素和目标像素的 RGB 三个颜色分量分离，然后把对应颜色分量相加，如果某分量的结果超出了该分量的最大值，则对该分量作饱和运算（即如果结果超出了允许的最大值则取结果为允许的最大值），最后把三个颜色分量&lt;img src =&quot;http://blog.csdn.net/hongjiujing/aggbug/4297063.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238890446/hongjiujing/csdn.net/s.gif?r=http://blog.csdn.net/hongjiujing/archive/2009/06/25/4297063.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/hongjiujing/238890446/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/hongjiujing/238890446/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 25 Jun 2009 19:51:00 +0800</pubDate><author>hongjiujing</author><comments>http://blog.csdn.net/hongjiujing/archive/2009/06/25/4297063.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hongjiujing/archive/2009/06/25/4297063.aspx</guid><dc:creator>hongjiujing</dc:creator><fs:srclink>http://blog.csdn.net/hongjiujing/archive/2009/06/25/4297063.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/hongjiujing/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/hongjiujing/~1049635/238890446/1049635</fs:itemid></item><item><title>Alpha-Blending 技术简介</title><link>http://blog.csdn.net/hongjiujing/archive/2009/06/25/4297046.aspx</link><wfw:comment>http://blog.csdn.net/hongjiujing/comments/4297046.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hongjiujing/comments/commentRss/4297046.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4297046</trackback:ping><description>&lt;br /&gt;Alpha-Blending 
技术简介&lt;br /&gt;&lt;br /&gt;
  　　现在的游戏，不管是 2D 还是 
3D 
的，为了追求透明光影效果，通常都会使用到 
Alpha-Blending 技术。下面，我们将谈论什么是 
Alpha-Blending 技术并简单介绍 Alpha-Blending 
技术的具体算法。&lt;br /&gt;&lt;br /&gt;
  　　所谓 Alpha-Blending，其实就是按照“Alpha”混合向量的值来混合源像素和目标像素。为了便于理解，我们就从两个像素间的 
Alpha-Blending 过程谈起吧。&lt;br /&gt;&lt;br /&gt;
  　　第一步，先把源像素和目标像素的 RGB 
三个颜色分量分离，然后把源像素的三个颜色分量分别乘上 
Alpha 
的值，并把目标像素的三个颜色分量分别乘上 
Alpha 
的反值，接下来把结果按对应颜色分量相加，再对最后求得的每个分量结果除以 
Alpha 
的最大值（通常这一步都是用移位来完成，这亦是 
Alpha 
的最大值为何总是二的幂的原因），最后把三个颜色分量重新合成为一个像素&lt;img src =&quot;http://blog.csdn.net/hongjiujing/aggbug/4297046.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238890447/hongjiujing/csdn.net/s.gif?r=http://blog.csdn.net/hongjiujing/archive/2009/06/25/4297046.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/hongjiujing/238890447/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/hongjiujing/238890447/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 25 Jun 2009 19:49:00 +0800</pubDate><author>hongjiujing</author><comments>http://blog.csdn.net/hongjiujing/archive/2009/06/25/4297046.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hongjiujing/archive/2009/06/25/4297046.aspx</guid><dc:creator>hongjiujing</dc:creator><fs:srclink>http://blog.csdn.net/hongjiujing/archive/2009/06/25/4297046.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/hongjiujing/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/hongjiujing/~1049635/238890447/1049635</fs:itemid></item><item><title>如何批量建立软链接</title><link>http://blog.csdn.net/hongjiujing/archive/2009/06/16/4274305.aspx</link><wfw:comment>http://blog.csdn.net/hongjiujing/comments/4274305.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hongjiujing/comments/commentRss/4274305.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4274305</trackback:ping><description>&lt;br /&gt;方法一：&lt;br /&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;
FILELIST=`ls ../`&lt;br /&gt;
for FILENAME in $FILELIST&lt;br /&gt;
do&lt;br /&gt;
ln -s pwd&quot;/&quot;$FILENAME $FILENAME&quot;_link&quot;&lt;br /&gt;
done&lt;br /&gt;&lt;br /&gt;方法二：&lt;br /&gt;ls A|xargs -i ln -s {} /path/B/{}&lt;img src =&quot;http://blog.csdn.net/hongjiujing/aggbug/4274305.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238890448/hongjiujing/csdn.net/s.gif?r=http://blog.csdn.net/hongjiujing/archive/2009/06/16/4274305.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/hongjiujing/238890448/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/hongjiujing/238890448/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 17 Jun 2009 03:23:00 +0800</pubDate><author>hongjiujing</author><comments>http://blog.csdn.net/hongjiujing/archive/2009/06/16/4274305.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hongjiujing/archive/2009/06/16/4274305.aspx</guid><dc:creator>hongjiujing</dc:creator><fs:srclink>http://blog.csdn.net/hongjiujing/archive/2009/06/16/4274305.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/hongjiujing/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/hongjiujing/~1049635/238890448/1049635</fs:itemid></item><item><title>关于6410 HSMMC 驱动的bug</title><link>http://blog.csdn.net/hongjiujing/archive/2009/06/11/4260192.aspx</link><wfw:comment>http://blog.csdn.net/hongjiujing/comments/4260192.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hongjiujing/comments/commentRss/4260192.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4260192</trackback:ping><description>&lt;br /&gt;问题：&lt;br /&gt;
为了配合电源管理以及WIFI多次重新加载需求，测试HSMMC驱动。发现&lt;br /&gt;
rmmod s3c-hsmmc.ko出现kernel OOPS，系统崩溃。&lt;br /&gt;&lt;br /&gt;
解决方法：&lt;br /&gt;
重写s3c_hsmmc_remove函数。&lt;br /&gt;
static int s3c_hsmmc_remove(struct platform_device *dev)&lt;br /&gt;
{&lt;br /&gt;
        int i ;&lt;br /&gt;
        struct s3c_hsmmc_host *s3c_host = global_host[dev-&gt;id];&lt;br /&gt;
        struct mmc_host *mmc = s3c_host-&gt;mmc;&lt;br /&gt;&lt;br /&gt;
        mmc_remove_host(s3c_host-&gt;mmc);&lt;br /&gt;&lt;br /&gt;
        s3c_hsmmc_reset(s3c_host, S3C_HSMMC_RESET_ALL);&lt;br /&gt;&lt;br /&gt;&lt;img src =&quot;http://blog.csdn.net/hongjiujing/aggbug/4260192.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238890449/hongjiujing/csdn.net/s.gif?r=http://blog.csdn.net/hongjiujing/archive/2009/06/11/4260192.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/hongjiujing/238890449/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/hongjiujing/238890449/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 11 Jun 2009 20:45:00 +0800</pubDate><author>hongjiujing</author><comments>http://blog.csdn.net/hongjiujing/archive/2009/06/11/4260192.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hongjiujing/archive/2009/06/11/4260192.aspx</guid><dc:creator>hongjiujing</dc:creator><fs:srclink>http://blog.csdn.net/hongjiujing/archive/2009/06/11/4260192.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/hongjiujing/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/hongjiujing/~1049635/238890449/1049635</fs:itemid></item><item><title>关于linux2.6.24 UBIFS的移植</title><link>http://blog.csdn.net/hongjiujing/archive/2009/06/03/4238872.aspx</link><wfw:comment>http://blog.csdn.net/hongjiujing/comments/4238872.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hongjiujing/comments/commentRss/4238872.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4238872</trackback:ping><description>&lt;br /&gt;&lt;br /&gt;    因项目的需要，文件系统需要变换为UBIFS。UBIFS从设计以及性能都优越于YAFFS2，特别是工作在大页MLC NAND FLASH上面。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   由于手上有一份君正的2.6.24的BSP，里面有ubifs相关，就移植了相关代码，但是最后从ubifs 卷启动发现错误：&lt;br /&gt;   UBIFS error (pid 1): ubifs_get_sb: cannot open &quot;/dev/root&quot;, error -22&lt;br /&gt;&lt;br /&gt;   经过分析应该是Kernel CMD LINE传的参数，Kernel不认。&lt;br /&gt;&lt;br /&gt; 解决方法：&lt;br /&gt;    进入Kernel/init/do_mounts.c&lt;br /&gt;    进入prepare_namespace函数：&lt;br /&gt;&lt;br /&gt;将    if (saved_root_name[0]) {&lt;br /&gt;
        root_device_name = saved_root_name;&lt;br /&gt;
        if (&lt;img src =&quot;http://blog.csdn.net/hongjiujing/aggbug/4238872.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238890450/hongjiujing/csdn.net/s.gif?r=http://blog.csdn.net/hongjiujing/archive/2009/06/03/4238872.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/hongjiujing/238890450/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/hongjiujing/238890450/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 03 Jun 2009 21:52:00 +0800</pubDate><author>hongjiujing</author><comments>http://blog.csdn.net/hongjiujing/archive/2009/06/03/4238872.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hongjiujing/archive/2009/06/03/4238872.aspx</guid><dc:creator>hongjiujing</dc:creator><fs:srclink>http://blog.csdn.net/hongjiujing/archive/2009/06/03/4238872.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/hongjiujing/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/hongjiujing/~1049635/238890450/1049635</fs:itemid></item><item><title>How to setup pskey to csr-bc4 chip</title><link>http://blog.csdn.net/hongjiujing/archive/2009/05/31/4228448.aspx</link><wfw:comment>http://blog.csdn.net/hongjiujing/comments/4228448.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hongjiujing/comments/commentRss/4228448.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4228448</trackback:ping><description>&lt;br /&gt;设置bcsp的baud rate，网上查了一下需要 bccmd&lt;br /&gt;只能重新cross compile bluez-4.18，增加--enable-bccmd选项&lt;br /&gt;
./configure
--host=arm-xscale-linux-gnu --prefix=/usr/arm-xscale-linux-gnu
--disable-audio --enable-test --enable-debug --enable-bccmd&lt;br /&gt;生成bccmd命令&lt;br /&gt;&lt;br /&gt;2.新建blue_core4.psr&lt;br /&gt;编辑并拷贝到板子上&lt;br /&gt;
// PSKEY_ANA_FTRIM&lt;br /&gt;
&amp;01f6 = 0025&lt;br /&gt;
// PSKEY_ANA_FREQ&lt;br /&gt;
&amp;01fe = 0004&lt;br /&gt;// PSKEY_HOST_INTERFACE&lt;br /&gt;
&amp;01f9 = 0001&lt;br /&gt;
//CSR_PSKEY_HOSTIO_MAP_SCO_PCM&lt;br /&gt;
&amp;01AB = 0001&lt;br /&gt;&lt;img src =&quot;http://blog.csdn.net/hongjiujing/aggbug/4228448.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238890451/hongjiujing/csdn.net/s.gif?r=http://blog.csdn.net/hongjiujing/archive/2009/05/31/4228448.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/hongjiujing/238890451/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/hongjiujing/238890451/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 31 May 2009 22:58:00 +0800</pubDate><author>hongjiujing</author><comments>http://blog.csdn.net/hongjiujing/archive/2009/05/31/4228448.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hongjiujing/archive/2009/05/31/4228448.aspx</guid><dc:creator>hongjiujing</dc:creator><fs:srclink>http://blog.csdn.net/hongjiujing/archive/2009/05/31/4228448.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/hongjiujing/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/hongjiujing/~1049635/238890451/1049635</fs:itemid></item><item><title>Linux I/O资源 (ZZ)</title><link>http://blog.csdn.net/hongjiujing/archive/2009/05/25/4215079.aspx</link><wfw:comment>http://blog.csdn.net/hongjiujing/comments/4215079.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hongjiujing/comments/commentRss/4215079.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4215079</trackback:ping><description>&lt;br /&gt;  Linux I/O资源 (ZZ)&lt;br /&gt;&lt;br /&gt;
3．1 Linux对I/O资源的描述&lt;br /&gt;
3．2 Linux对I/O资源的管理&lt;br /&gt;
    3．2．1 I/O资源的申请&lt;br /&gt;
    3．2．2 资源的释放&lt;br /&gt;
    3．2．3 检查资源是否已被占用&lt;br /&gt;
    3．2．4 寻找可用资源&lt;br /&gt;
    3．2．5 分配接口allocate_resource()&lt;br /&gt;
    3．2．6 获取资源的名称列表&lt;br /&gt;
3．3 管理I/O Region资源&lt;br /&gt;
    3．3．1 I/O Region的分配&lt;br /&gt;
    3．3．2 I/O Region的释放&lt;br /&gt;
    3．3．3 检查指定的I/O Region是否已被占用&lt;br /&gt;
3．4 管理I/O端口资源&lt;br /&gt;
    3．4．1 资源根节点的定义&lt;br /&gt;
    3．4．2 对I/O端口空间的操作&lt;br /&gt;
    3．4．3 对I/O内存资源的操作&lt;br /&gt;
    3．&lt;img src =&quot;http://blog.csdn.net/hongjiujing/aggbug/4215079.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238890452/hongjiujing/csdn.net/s.gif?r=http://blog.csdn.net/hongjiujing/archive/2009/05/25/4215079.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/hongjiujing/238890452/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/hongjiujing/238890452/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 26 May 2009 02:48:00 +0800</pubDate><author>hongjiujing</author><comments>http://blog.csdn.net/hongjiujing/archive/2009/05/25/4215079.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hongjiujing/archive/2009/05/25/4215079.aspx</guid><dc:creator>hongjiujing</dc:creator><fs:srclink>http://blog.csdn.net/hongjiujing/archive/2009/05/25/4215079.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/hongjiujing/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/hongjiujing/~1049635/238890452/1049635</fs:itemid></item><item><title>Linux下如何模拟按键输入和模拟鼠标?</title><link>http://blog.csdn.net/hongjiujing/archive/2009/05/25/4214268.aspx</link><wfw:comment>http://blog.csdn.net/hongjiujing/comments/4214268.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hongjiujing/comments/commentRss/4214268.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4214268</trackback:ping><description>&lt;br /&gt;转贴请注明出处: blog.csdn.net/chenzhixin&lt;br /&gt;查看/dev/input/eventX是什么类型的事件， cat /proc/bus/input/devices&lt;br /&gt;&lt;br /&gt;
 设备有着自己特殊的按键键码，我需要将一些标准的按键，比如0－9，X－Z等模拟成标准按键，比如KEY_0,KEY-Z等，所以需要用到按键
模拟，具体方法就是操作/dev/input/event1文件，向它写入个input_event结构体就可以模拟按键的输入了。&lt;br /&gt;&lt;br /&gt;
linux/input.h中有定义，这个文件还定义了标准按键的编码等&lt;br /&gt;&lt;br /&gt;
struct input_event {&lt;br /&gt;
    struct timeval time;  //按键时间&lt;br /&gt;
    __u16 type; //类型，在下面有定义&lt;br /&gt;
    __u16 code; //要模拟成什么按键&lt;br /&gt;
    __s32 value;//是按下还是释放&lt;br /&gt;
};&lt;br /&gt;&lt;br /&gt;
code：&lt;img src =&quot;http://blog.csdn.net/hongjiujing/aggbug/4214268.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238890453/hongjiujing/csdn.net/s.gif?r=http://blog.csdn.net/hongjiujing/archive/2009/05/25/4214268.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/hongjiujing/238890453/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/hongjiujing/238890453/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 25 May 2009 22:29:00 +0800</pubDate><author>hongjiujing</author><comments>http://blog.csdn.net/hongjiujing/archive/2009/05/25/4214268.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hongjiujing/archive/2009/05/25/4214268.aspx</guid><dc:creator>hongjiujing</dc:creator><fs:srclink>http://blog.csdn.net/hongjiujing/archive/2009/05/25/4214268.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/hongjiujing/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/hongjiujing/~1049635/238890453/1049635</fs:itemid></item><item><title>关于网卡驱动的分析</title><link>http://blog.csdn.net/hongjiujing/archive/2009/05/16/4192933.aspx</link><wfw:comment>http://blog.csdn.net/hongjiujing/comments/4192933.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hongjiujing/comments/commentRss/4192933.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4192933</trackback:ping><description>&lt;br /&gt;http://blog.21ic.com/user1/1066/archives/2007/40727.html&lt;img src =&quot;http://blog.csdn.net/hongjiujing/aggbug/4192933.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238890454/hongjiujing/csdn.net/s.gif?r=http://blog.csdn.net/hongjiujing/archive/2009/05/16/4192933.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/hongjiujing/238890454/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/hongjiujing/238890454/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 17 May 2009 01:05:00 +0800</pubDate><author>hongjiujing</author><comments>http://blog.csdn.net/hongjiujing/archive/2009/05/16/4192933.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hongjiujing/archive/2009/05/16/4192933.aspx</guid><dc:creator>hongjiujing</dc:creator><fs:srclink>http://blog.csdn.net/hongjiujing/archive/2009/05/16/4192933.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/hongjiujing/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/hongjiujing/~1049635/238890454/1049635</fs:itemid></item></channel></rss>