<?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>Comments on: GPIO on ALIX.3D3</title>
	<atom:link href="http://www.twam.info/linux/gpio-on-alix3d3/feed" rel="self" type="application/rss+xml" />
	<link>http://www.twam.info/linux/gpio-on-alix3d3</link>
	<description>My computer, physics, electronics &#38; photography blog</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:17:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ricardo</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-2434</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Thu, 26 May 2011 15:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-2434</guid>
		<description>&lt;a href=&quot;#comment-2433&quot; rel=&quot;nofollow&quot;&gt;@twam&lt;/a&gt; 
thanks for the prompt answer
So I have no idea what to do now with this, as unfortunately the included Geode doesn&#039;t even support the serial port handshake signals (for the PPS people often use the DCD signal). If you have any suggestion (other than polling some port), it would be really welcome!

Thanks
Ricardo</description>
		<content:encoded><![CDATA[<p><a href="#comment-2433" rel="nofollow">@twam</a><br />
thanks for the prompt answer<br />
So I have no idea what to do now with this, as unfortunately the included Geode doesn&#8217;t even support the serial port handshake signals (for the PPS people often use the DCD signal). If you have any suggestion (other than polling some port), it would be really welcome!</p>
<p>Thanks<br />
Ricardo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: twam</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-2433</link>
		<dc:creator>twam</dc:creator>
		<pubDate>Thu, 26 May 2011 15:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-2433</guid>
		<description>&lt;a href=&quot;#comment-2432&quot; rel=&quot;nofollow&quot;&gt;@Ricardo&lt;/a&gt; 
As far as I know it is not possible to use them as a real interrupt source.</description>
		<content:encoded><![CDATA[<p><a href="#comment-2432" rel="nofollow">@Ricardo</a><br />
As far as I know it is not possible to use them as a real interrupt source.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-2432</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Thu, 26 May 2011 15:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-2432</guid>
		<description>&lt;a href=&quot;#comment-288&quot; rel=&quot;nofollow&quot;&gt;@twam&lt;/a&gt; 

Hi!
I&#039;ve been working with the Alix.3d3 for a while now but only lately I had the need to use external interrupts.
I can understand that by polling one of the GPIO pins frequently enough, it could &quot;almost&quot; work as an interrupt. However, in my case, a &quot;real&quot; interrupt is necessary because I&#039;m trying to connect a GPS PPS signal to this board (which in turn gives me precision for message time-stamping purposes). Do you know of any way to use the already &quot;visible&quot; pins on this board and make them interrupt inputs?

Thanks a lot
Ricardo</description>
		<content:encoded><![CDATA[<p><a href="#comment-288" rel="nofollow">@twam</a> </p>
<p>Hi!<br />
I&#8217;ve been working with the Alix.3d3 for a while now but only lately I had the need to use external interrupts.<br />
I can understand that by polling one of the GPIO pins frequently enough, it could &#8220;almost&#8221; work as an interrupt. However, in my case, a &#8220;real&#8221; interrupt is necessary because I&#8217;m trying to connect a GPS PPS signal to this board (which in turn gives me precision for message time-stamping purposes). Do you know of any way to use the already &#8220;visible&#8221; pins on this board and make them interrupt inputs?</p>
<p>Thanks a lot<br />
Ricardo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-1200</link>
		<dc:creator>l</dc:creator>
		<pubDate>Tue, 21 Dec 2010 14:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-1200</guid>
		<description>hi.
can you please provide step-by-step tutorials on how to compile the kernel? i am having errors. please help.</description>
		<content:encoded><![CDATA[<p>hi.<br />
can you please provide step-by-step tutorials on how to compile the kernel? i am having errors. please help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-289</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Mon, 27 Sep 2010 11:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-289</guid>
		<description>Ok, thanks for your help.
I try this solution.

Thank you.
Best regards,Marco</description>
		<content:encoded><![CDATA[<p>Ok, thanks for your help.<br />
I try this solution.</p>
<p>Thank you.<br />
Best regards,Marco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: twam</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-288</link>
		<dc:creator>twam</dc:creator>
		<pubDate>Mon, 27 Sep 2010 11:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-288</guid>
		<description>&lt;a href=&quot;#comment-287&quot; rel=&quot;nofollow&quot;&gt;@Marco&lt;/a&gt; 
The switch is connected to a GPIO pin. So you can use it as long as your are polling it frequently enough.</description>
		<content:encoded><![CDATA[<p><a href="#comment-287" rel="nofollow">@Marco</a><br />
The switch is connected to a GPIO pin. So you can use it as long as your are polling it frequently enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-287</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Mon, 27 Sep 2010 11:00:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-287</guid>
		<description>Ok.thanks.
But Can I use the signal on the switch for status change...?
Or isn&#039;t there  a possible solution...?

thanks.

Marco</description>
		<content:encoded><![CDATA[<p>Ok.thanks.<br />
But Can I use the signal on the switch for status change&#8230;?<br />
Or isn&#8217;t there  a possible solution&#8230;?</p>
<p>thanks.</p>
<p>Marco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: twam</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-286</link>
		<dc:creator>twam</dc:creator>
		<pubDate>Mon, 27 Sep 2010 10:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-286</guid>
		<description>&lt;a href=&quot;#comment-285&quot; rel=&quot;nofollow&quot;&gt;@Marco&lt;/a&gt; 
As far as I know, there is no support for pin change notifications in the GPIO interface yet. So your programm would need to poll the pin very often and your signal must be long enough.</description>
		<content:encoded><![CDATA[<p><a href="#comment-285" rel="nofollow">@Marco</a><br />
As far as I know, there is no support for pin change notifications in the GPIO interface yet. So your programm would need to poll the pin very often and your signal must be long enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-285</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Mon, 27 Sep 2010 10:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-285</guid>
		<description>Hi twam, thanks for your tutorial. It&#039;s very best...:)
But I have a question, in fact I have a problem. I built a power supply from use as battery, this system send a
electric signal on CTS pin of the COM1, but this PIN is not enabled on CS5536 (alix6e2), I read this on the manual.
I had an idea reading your tutorial, but I need help.
Can I send a electric signal on the switch, and can I read the change status...???
Also what would be the ideal power of the electrical signal...???

Can you help me, please...???

Thanks.

Marco</description>
		<content:encoded><![CDATA[<p>Hi twam, thanks for your tutorial. It&#8217;s very best&#8230;:)<br />
But I have a question, in fact I have a problem. I built a power supply from use as battery, this system send a<br />
electric signal on CTS pin of the COM1, but this PIN is not enabled on CS5536 (alix6e2), I read this on the manual.<br />
I had an idea reading your tutorial, but I need help.<br />
Can I send a electric signal on the switch, and can I read the change status&#8230;???<br />
Also what would be the ideal power of the electrical signal&#8230;???</p>
<p>Can you help me, please&#8230;???</p>
<p>Thanks.</p>
<p>Marco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bula</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-266</link>
		<dc:creator>Bula</dc:creator>
		<pubDate>Fri, 17 Sep 2010 13:51:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-266</guid>
		<description>OK thanks, it is what I was thinking but I was not sure cause of difference in buffer types between modeswitch and leds GPIO ports. Only thing I need now is external 3V :)</description>
		<content:encoded><![CDATA[<p>OK thanks, it is what I was thinking but I was not sure cause of difference in buffer types between modeswitch and leds GPIO ports. Only thing I need now is external 3V <img src='http://www.twam.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: twam</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-265</link>
		<dc:creator>twam</dc:creator>
		<pubDate>Fri, 17 Sep 2010 13:15:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-265</guid>
		<description>&lt;a href=&quot;#comment-264&quot; rel=&quot;nofollow&quot;&gt;@Bula &lt;/a&gt; 
&lt;a href=&quot;http://www.pcengines.ch/schema/alix3d.pdf&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; you can find the schematic of the ALIX.3D3. You should connect the LED to same way as the other 3 LEDs.</description>
		<content:encoded><![CDATA[<p><a href="#comment-264" rel="nofollow">@Bula </a><br />
<a href="http://www.pcengines.ch/schema/alix3d.pdf" rel="nofollow">here</a> you can find the schematic of the ALIX.3D3. You should connect the LED to same way as the other 3 LEDs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bula</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-264</link>
		<dc:creator>Bula</dc:creator>
		<pubDate>Fri, 17 Sep 2010 13:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-264</guid>
		<description>For now I need only one LED so - do you mean to connect diode thru pull-up resistor on external 3V or directly on 3.3V that I get on the modeswitch pins?</description>
		<content:encoded><![CDATA[<p>For now I need only one LED so &#8211; do you mean to connect diode thru pull-up resistor on external 3V or directly on 3.3V that I get on the modeswitch pins?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: twam</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-263</link>
		<dc:creator>twam</dc:creator>
		<pubDate>Fri, 17 Sep 2010 11:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-263</guid>
		<description>&lt;a href=&quot;#comment-262&quot; rel=&quot;nofollow&quot;&gt;@Bula &lt;/a&gt; 
I think you could use the modeswitch GPIO Port for an LED if you connect to thru a resistor to 3V. But I would recommend to use an I²C Port Extender if you need more GPIO Pins.</description>
		<content:encoded><![CDATA[<p><a href="#comment-262" rel="nofollow">@Bula </a><br />
I think you could use the modeswitch GPIO Port for an LED if you connect to thru a resistor to 3V. But I would recommend to use an I²C Port Extender if you need more GPIO Pins.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bula</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-262</link>
		<dc:creator>Bula</dc:creator>
		<pubDate>Fri, 17 Sep 2010 11:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-262</guid>
		<description>Hi twam, thank you for your help. Leds trough gpio are working ok but I have questions about modeswitch: is it safe to use it as output for another led? I see that its buffer type is smb and not gp24 as the ones for leds?</description>
		<content:encoded><![CDATA[<p>Hi twam, thank you for your help. Leds trough gpio are working ok but I have questions about modeswitch: is it safe to use it as output for another led? I see that its buffer type is smb and not gp24 as the ones for leds?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: twam</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-240</link>
		<dc:creator>twam</dc:creator>
		<pubDate>Wed, 09 Jun 2010 16:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-240</guid>
		<description>&lt;a href=&quot;#comment-239&quot; rel=&quot;nofollow&quot;&gt;@Yago Fernandez Hansen &lt;/a&gt; 
I never used the old device module as I is not compatible with the GPIO interface of the kernel. Also this will be removed in future kernel version, so it is better not to use it in new projects.</description>
		<content:encoded><![CDATA[<p><a href="#comment-239" rel="nofollow">@Yago Fernandez Hansen </a><br />
I never used the old device module as I is not compatible with the GPIO interface of the kernel. Also this will be removed in future kernel version, so it is better not to use it in new projects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yago Fernandez Hansen</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-239</link>
		<dc:creator>Yago Fernandez Hansen</dc:creator>
		<pubDate>Wed, 09 Jun 2010 14:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-239</guid>
		<description>Dear twam:

Thank you for your wonderfull articles about alix.3d3 board. I am working in a project in Voyage Linux for this board, and I am very pleased of how everything works with release 0.6.5. Very small bugs with a very good functionallity. I have readed your articles about LEDS, GPIO, etc... and they helped much. The problem I have, as I readed in one of your articles is that I want to use the gpio24 for a switch and I have asked about it and If I don&#039;t want to compile the kernell (I hate that) I can now use and load with modprobe the cs5535 as this:

voyage:~# modprobe cs5535_gpio

voyage:~# dmesg &#124; grep gpio
[   14.847516] cs5535_gpio: base=0x6100 mask=0xb003c66 major=253

voyage:~# lsmod &#124; grep gpio
cs5535_gpio             3744  0

voyage:~# ls -l /dev/cs5535*
crw-rw---- 1 root root 253,  1 Jun  6 21:37 /dev/cs5535_gpio1
crw-rw---- 1 root root 253, 10 Jun  6 21:37 /dev/cs5535_gpio10
crw-rw---- 1 root root 253, 11 Jun  6 21:37 /dev/cs5535_gpio11
crw-rw---- 1 root root 253, 12 Jun  6 21:37 /dev/cs5535_gpio12
crw-rw---- 1 root root 253, 13 Jun  6 21:37 /dev/cs5535_gpio13
crw-rw---- 1 root root 253,  2 Jun  6 21:37 /dev/cs5535_gpio2
crw-rw---- 1 root root 253, 24 Jun  6 21:37 /dev/cs5535_gpio24
crw-rw---- 1 root root 253, 25 Jun  6 21:37 /dev/cs5535_gpio25
crw-rw---- 1 root root 253, 27 Jun  6 21:37 /dev/cs5535_gpio27
crw-rw---- 1 root root 253,  5 Jun  6 21:37 /dev/cs5535_gpio5
crw-rw---- 1 root root 253,  6 Jun  6 21:37 /dev/cs5535_gpio6

And it&#039;s very easy and is ok. But just a stupid question. How can I read when I want or as is changed the value of the switch: 0/1? Can you help me?

Thank you

Yago</description>
		<content:encoded><![CDATA[<p>Dear twam:</p>
<p>Thank you for your wonderfull articles about alix.3d3 board. I am working in a project in Voyage Linux for this board, and I am very pleased of how everything works with release 0.6.5. Very small bugs with a very good functionallity. I have readed your articles about LEDS, GPIO, etc&#8230; and they helped much. The problem I have, as I readed in one of your articles is that I want to use the gpio24 for a switch and I have asked about it and If I don&#8217;t want to compile the kernell (I hate that) I can now use and load with modprobe the cs5535 as this:</p>
<p>voyage:~# modprobe cs5535_gpio</p>
<p>voyage:~# dmesg | grep gpio<br />
[   14.847516] cs5535_gpio: base=0&#215;6100 mask=0xb003c66 major=253</p>
<p>voyage:~# lsmod | grep gpio<br />
cs5535_gpio             3744  0</p>
<p>voyage:~# ls -l /dev/cs5535*<br />
crw-rw&#8212;- 1 root root 253,  1 Jun  6 21:37 /dev/cs5535_gpio1<br />
crw-rw&#8212;- 1 root root 253, 10 Jun  6 21:37 /dev/cs5535_gpio10<br />
crw-rw&#8212;- 1 root root 253, 11 Jun  6 21:37 /dev/cs5535_gpio11<br />
crw-rw&#8212;- 1 root root 253, 12 Jun  6 21:37 /dev/cs5535_gpio12<br />
crw-rw&#8212;- 1 root root 253, 13 Jun  6 21:37 /dev/cs5535_gpio13<br />
crw-rw&#8212;- 1 root root 253,  2 Jun  6 21:37 /dev/cs5535_gpio2<br />
crw-rw&#8212;- 1 root root 253, 24 Jun  6 21:37 /dev/cs5535_gpio24<br />
crw-rw&#8212;- 1 root root 253, 25 Jun  6 21:37 /dev/cs5535_gpio25<br />
crw-rw&#8212;- 1 root root 253, 27 Jun  6 21:37 /dev/cs5535_gpio27<br />
crw-rw&#8212;- 1 root root 253,  5 Jun  6 21:37 /dev/cs5535_gpio5<br />
crw-rw&#8212;- 1 root root 253,  6 Jun  6 21:37 /dev/cs5535_gpio6</p>
<p>And it&#8217;s very easy and is ok. But just a stupid question. How can I read when I want or as is changed the value of the switch: 0/1? Can you help me?</p>
<p>Thank you</p>
<p>Yago</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: twam</title>
		<link>http://www.twam.info/linux/gpio-on-alix3d3#comment-187</link>
		<dc:creator>twam</dc:creator>
		<pubDate>Fri, 18 Dec 2009 07:23:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.twam.info/?p=497#comment-187</guid>
		<description>The cs5535-gpio support via the GPIO interface is in kernel mainline since version 2.6.33-rc1. Commits are &lt;a href=&quot;http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5f0a96b044d8edaee20f4a32ef6c393599ca55f8&quot; rel=&quot;nofollow&quot;&gt;5f0a96b044d8edaee20f4a32ef6c393599ca55f8&lt;/a&gt; and &lt;a href=&quot;http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1ea3fa7bbfbe81cfbdcc35748a57c35f9b32c5d6&quot; rel=&quot;nofollow&quot;&gt;1ea3fa7bbfbe81cfbdcc35748a57c35f9b32c5d6&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>The cs5535-gpio support via the GPIO interface is in kernel mainline since version 2.6.33-rc1. Commits are <a href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5f0a96b044d8edaee20f4a32ef6c393599ca55f8" rel="nofollow">5f0a96b044d8edaee20f4a32ef6c393599ca55f8</a> and <a href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1ea3fa7bbfbe81cfbdcc35748a57c35f9b32c5d6" rel="nofollow">1ea3fa7bbfbe81cfbdcc35748a57c35f9b32c5d6</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

