<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[6410中斷問題]]></title>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381]]></link>
 <description><![CDATA[Latest 20 replies of 6410中斷問題]]></description>
 <copyright><![CDATA[Copyright(C) ]]></copyright>
 <generator><![CDATA[PHPWind Forums by PHPWind Studio]]></generator>
 <lastBuildDate><![CDATA[Sun, 26 Jul 2026 13:48:27 +0000]]></lastBuildDate>
  <image>
 <url><![CDATA[images/rss.gif]]></url>
 <title><![CDATA[PHPWind Board]]></title>
 <link><![CDATA[http://www.aiothome.net]]></link>
 <description><![CDATA[]]></description>
  </image>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[樓上兩位正解! 之前一直以為int的設定有誤，所以動不了。

實際上用IRQ_EINT(9)是可以的，是申請irq方面出現錯誤，
我將它改為只有 IRQF_TRIGGER_FALLING就能用了～

感謝兩位～]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#98473]]></link>
 <author><![CDATA[deathwd]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Thu, 30 Jun 2011 05:57:30 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第10楼deathwd于2011-06-27 14:41发表的&nbsp;&nbsp;:
申請中斷:

err = request_threaded_irq(irq, NULL, light_irq,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n ..]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#98035]]></link>
 <author><![CDATA[ulookme]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Tue, 28 Jun 2011 15:15:24 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[IRQF_TRIGGER_FALLING | IRQF_TRIGGER_LOW 
这是有问题的, 可以看看 mach-s3c64xx/irq-eint.c 就明白了]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#97590]]></link>
 <author><![CDATA[911gt3]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Mon, 27 Jun 2011 06:59:12 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[用IRQ_EINT(9) 应该是没有问题的
关键是怎么request_irq的]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#97589]]></link>
 <author><![CDATA[911gt3]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Mon, 27 Jun 2011 06:58:29 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[申請中斷:

err = request_threaded_irq(irq, NULL, light_irq,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IRQF_TRIGGER_FALLING | IRQF_TRIGGER_LOW | IRQF ..]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#97577]]></link>
 <author><![CDATA[deathwd]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Mon, 27 Jun 2011 06:41:49 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第7楼deathwd于2011-06-27 11:23发表的&nbsp;&nbsp;:
加了ulookme版友的申請中斷碼後再試，還是失敗了。

回應如下：

/udisk # insmod light.ko
.......
[/quote]

IRQ type 10？你用什么参数申请中断的？

interrupt.h里的type定义：

#define IRQF_TRIGGER_RISING&nbsp;&nbsp;&nbsp;&nbsp; 0x00000001
#def ..]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#97570]]></link>
 <author><![CDATA[ulookme]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Mon, 27 Jun 2011 06:33:58 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第6楼deathwd于2011-06-27 09:54发表的&nbsp;&nbsp;:
[s:14]　因為剛好沒有s3c6410的數據手冊
但我有在&nbsp;arch/arm/mach-s3c6400/include/mach/gpio.h 中找到相關設定。
EINT9看原理圖的確是GPN9無誤，想請問你的觸控面板驅動在kernel有修改設定嗎?我目前修改如下:
(在linux/arch/arm/mach-s3c64xx/mach-mi ..]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#97568]]></link>
 <author><![CDATA[ulookme]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Mon, 27 Jun 2011 06:30:11 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[加了ulookme版友的申請中斷碼後再試，還是失敗了。

回應如下：

/udisk # insmod light.ko
No such irq type 10
setting trigger mode 10 for irq 110 failed (s3c_irq_eint_set_type+0x0/0xfc)
light: probe of 0-0038 failed with error -1]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#97528]]></link>
 <author><![CDATA[deathwd]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Mon, 27 Jun 2011 03:23:06 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[s:14]　因為剛好沒有s3c6410的數據手冊
但我有在&#160;arch/arm/mach-s3c6400/include/mach/gpio.h 中找到相關設定。
EINT9看原理圖的確是GPN9無誤，想請問你的觸控面板驅動在kernel有修改設定嗎?我目前修改如下:
(在linux/arch/arm/mach-s3c64xx/mach-mini6410.c中)
static struct i2c_board_info i2c_devs0[] __initda ..]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#97487]]></link>
 <author><![CDATA[deathwd]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Mon, 27 Jun 2011 01:54:50 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[看数据手册啊，EINT9应该是S3C64XX_GPN(9)]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#97205]]></link>
 <author><![CDATA[ulookme]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Sat, 25 Jun 2011 14:47:13 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[請問 S3C64XX_GPL(10) 指的是哪個pin?
又這些資料可以在何處查詢? 感謝回答~]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#97057]]></link>
 <author><![CDATA[deathwd]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Sat, 25 Jun 2011 06:08:57 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[应该用GPIO得到中断号，然后申请中断，因为它是复用的，系统里有管理机制。
我接电容触摸屏的用法是这样的：

#define TOUCH_INT_PIN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S3C64XX_GPL(10)
irq = gpio_to_irq(TOUCH_INT_PIN);
if(irq&lt;0){
&nbsp;&nbsp;&nbsp;&nbsp;PRINT(&quot;Can&#39;t get irq number f ..]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#96926]]></link>
 <author><![CDATA[ulookme]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Fri, 24 Jun 2011 10:38:26 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[將 IRQ_ENT9 改成 IRQ_EINT(9)後，
insmod時出現錯誤訊息如下:

/udisk # insmod light.ko
No such irq type 10
setting trigger mode 10 for irq 110 failed (s3c_irq_eint_set_type+0x0/0xfc)
light 0-0038: ret: -1, could not get IRQ 110
light: probe of 0-0038 failed with error -1]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#96902]]></link>
 <author><![CDATA[deathwd]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Fri, 24 Jun 2011 08:57:18 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[IRQ_EINT(9)]]></description>
 <link><![CDATA[http://www.aiothome.net/read.php?tid=13381#96890]]></link>
 <author><![CDATA[ulookme]]></author>
 <category><![CDATA[Android技术交流区]]></category>
 <pubdate><![CDATA[Fri, 24 Jun 2011 08:31:14 +0000]]></pubdate>
</item>
</channel></rss>