<?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>Starlight</title>
	<atom:link href="http://joost.damad.be/feed/" rel="self" type="application/rss+xml" />
	<link>http://joost.damad.be</link>
	<description>blog of Joost Yervante Damad</description>
	<lastBuildDate>Fri, 12 Feb 2010 06:39:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Nokia N82 Bluetooth + GPRS/3G</title>
		<link>http://joost.damad.be/2010/02/nokia-n82-bluetooth-gprs3g/</link>
		<comments>http://joost.damad.be/2010/02/nokia-n82-bluetooth-gprs3g/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 06:39:22 +0000</pubDate>
		<dc:creator>Joost Damad</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[lang:en]]></category>

		<guid isPermaLink="false">http://joost.damad.be/?p=182</guid>
		<description><![CDATA[A few months ago I did an interesting discovery about using my cellphone to go on the internet via bluetooth. I had this strange situation before where it just stopped working, and after revisiting all configs it worked again.
What really happens is that my cellphone somehow crashes, after which I power cycle it by removing <a href="http://joost.damad.be/2010/02/nokia-n82-bluetooth-gprs3g/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>A few months ago I did an interesting discovery about using my cellphone to go on the internet via bluetooth. I had this strange situation before where it just stopped working, and after revisiting all configs it worked again.</p>
<p>What really happens is that my cellphone somehow crashes, after which I power cycle it by removing the batteries. The phone then boots again, but here is the twist: the service channels in the phone are re-allocated and apparently in a random order!</p>
<p>This implies that the RFCOMM channel configured in the <em>/etc/bluetooth/rfcomm.conf</em> file is possible wrong now!</p>
<p>Solution: just browse the services again with <em>sdptool browse</em>, adapt the file and it should work again!</p>
]]></content:encoded>
			<wfw:commentRss>http://joost.damad.be/2010/02/nokia-n82-bluetooth-gprs3g/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Morning sun, grote nete</title>
		<link>http://joost.damad.be/2010/01/morning_sun_1/</link>
		<comments>http://joost.damad.be/2010/01/morning_sun_1/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 06:46:20 +0000</pubDate>
		<dc:creator>Joost Damad</dc:creator>
				<category><![CDATA[photo]]></category>

		<guid isPermaLink="false">http://joost.damad.be/?p=165</guid>
		<description><![CDATA[
December 2009, Morning sun at the Grote Nete.
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://joost.damad.be/wp-uploads/2010/01/DSC_47961.jpg"><img class="aligncenter size-full wp-image-164" title="morning sun, grote nete" src="http://joost.damad.be/wp-uploads/2010/01/DSC_47961.jpg" alt="" width="430" height="286" /></a></p>
<p>December 2009, Morning sun at the Grote Nete.</p>
]]></content:encoded>
			<wfw:commentRss>http://joost.damad.be/2010/01/morning_sun_1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>how to set a serial port at MIDI speed in linux</title>
		<link>http://joost.damad.be/2009/05/how-to-set-a-serial-port-at-midi-speed-in-linux/</link>
		<comments>http://joost.damad.be/2009/05/how-to-set-a-serial-port-at-midi-speed-in-linux/#comments</comments>
		<pubDate>Sat, 30 May 2009 08:52:38 +0000</pubDate>
		<dc:creator>Joost Damad</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[lang:en]]></category>

		<guid isPermaLink="false">http://joost.damad.be/?p=159</guid>
		<description><![CDATA[Linux serial ports only work at standard speeds by default. MIDI runs at 31250 baud, which is not a standard speed. However there are tricks to get custom speeds, but documentation is quite fuzzy. This is a simple recipe that worked for me with an FT232 USB-Serial board.
Check the baud base of the device:
$ setserial <a href="http://joost.damad.be/2009/05/how-to-set-a-serial-port-at-midi-speed-in-linux/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Linux serial ports only work at standard speeds by default. MIDI runs at 31250 baud, which is not a standard speed. However there are tricks to get custom speeds, but documentation is quite fuzzy. This is a simple recipe that worked for me with an FT232 USB-Serial board.</p>
<p>Check the baud base of the device:</p>
<p>$ setserial -g -a /dev/ttyUSB0<br />/dev/ttyUSB0, Line 0, UART: unknown, Port: 0&#215;0000, IRQ: 0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Baud_base: 24000000, close_delay: 0, divisor: 0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; closing_wait: infinite<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flags: spd_normal low_latency</p>
<p>As you can see the baud base is 24000000 here.<br />Next calculate the divisor by dividing the baud_base you see here by the speed you want.<br />In my case 24000000/31250=768.</p>
<p>Apply the new setting:</p>
<p>$ setserial -v /dev/ttyUSB0 spd_cust divisor 768</p>
<p>Next start your serial application, you might want to make sure it is already set to the correct speed before you do the above changes else it might destroy your settings. The correct speed is 38400 baud, which is now aliased to 31250.</p>
<p>With minicom just use the menu (CTRL-A Z) to change the settings.</p>
<p>Screen can be used like this:</p>
<p>screen /dev/ttyUSB0 38400</p>
<p>Exit screen by pressing CTRL-A CTRL-\</p>
<p>Sweet.</p>
]]></content:encoded>
			<wfw:commentRss>http://joost.damad.be/2009/05/how-to-set-a-serial-port-at-midi-speed-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>resistence is futile</title>
		<link>http://joost.damad.be/2009/05/resistence-is-futile/</link>
		<comments>http://joost.damad.be/2009/05/resistence-is-futile/#comments</comments>
		<pubDate>Sat, 09 May 2009 20:47:55 +0000</pubDate>
		<dc:creator>Joost Damad</dc:creator>
				<category><![CDATA[lang:en]]></category>
		<category><![CDATA[photo]]></category>

		<guid isPermaLink="false">http://joost.damad.be/?p=158</guid>
		<description><![CDATA[





From public



nikon d300 &#8211; tamron 17-50 f/2.8
]]></description>
			<content:encoded><![CDATA[<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/b3H6YNy5YG_fik1xwa0GYw?feat=embedwebsite"><img src="http://lh4.ggpht.com/_2Exr8a4xFSg/SgXO_0HPLyI/AAAAAAAAA-s/0-CioH9Znnw/s800/20090509-DSC_0373-2.jpg" width="80%" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/andete/Public?feat=embedwebsite">public</a></td>
</tr>
</tbody>
</table>
<p><small><center>nikon d300 &#8211; tamron 17-50 f/2.8</center></small></p>
]]></content:encoded>
			<wfw:commentRss>http://joost.damad.be/2009/05/resistence-is-futile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>usb tiny isp programmer / user accessible</title>
		<link>http://joost.damad.be/2009/04/usb-tiny-isp-programmer-user-accessible/</link>
		<comments>http://joost.damad.be/2009/04/usb-tiny-isp-programmer-user-accessible/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 21:10:26 +0000</pubDate>
		<dc:creator>Joost Damad</dc:creator>
				<category><![CDATA[lang:en]]></category>
		<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://joost.damad.be/?p=157</guid>
		<description><![CDATA[To make an usbtiny programmer usable directly as user from avrdude or the arduino toolkit, add the following line to a new file in /etc/udev/ :
ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c9f", MODE="0664", GROUP="plugdev"
I created a file called /etc/udev/joost.rules with this line.
Reload udev with /etc/init.d/udev reload
]]></description>
			<content:encoded><![CDATA[<p>To make an usbtiny programmer usable directly as user from avrdude or the arduino toolkit, add the following line to a new file in /etc/udev/ :</p>
<p><code>ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c9f", MODE="0664", GROUP="plugdev"</code><br />
I created a file called /etc/udev/joost.rules with this line.<br />
Reload udev with <code>/etc/init.d/udev reload</code></p>
]]></content:encoded>
			<wfw:commentRss>http://joost.damad.be/2009/04/usb-tiny-isp-programmer-user-accessible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>arduino toolkit on x86_64 linux Debian/Ubuntu</title>
		<link>http://joost.damad.be/2009/04/arduino-toolkit-on-x86_64-linux-debianubuntu/</link>
		<comments>http://joost.damad.be/2009/04/arduino-toolkit-on-x86_64-linux-debianubuntu/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 08:20:31 +0000</pubDate>
		<dc:creator>Joost Damad</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[lang:en]]></category>

		<guid isPermaLink="false">http://joost.damad.be/?p=156</guid>
		<description><![CDATA[Update:
I received an email from Ethan Bisset with a much nicer solution: just use the debian provided serial library instead of the one provided with the arduino software.
This is his recipe:
1. Get arduino software2. apt-get install sun-java6-bin binutils-avr avr-libc gcc-avr librxtx-java3. Untar arduino software4. Delete &#60;arduino&#62;/lib/librxtxSerial.so5. Done!
(below is the old entry:)
Download the linux 32-bit arduino <a href="http://joost.damad.be/2009/04/arduino-toolkit-on-x86_64-linux-debianubuntu/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Update:</p>
<p>I received an email from Ethan Bisset with a much nicer solution: just use the debian provided serial library instead of the one provided with the arduino software.</p>
<p><quote>This is his recipe:</p>
<p>1. Get arduino software<br />2. apt-get install sun-java6-bin binutils-avr avr-libc gcc-avr <b>librxtx-java</b><br />3. Untar arduino software<br />4. Delete &lt;arduino&gt;/lib/librxtxSerial.so<br />5. Done!</quote></p>
<p>(below is the old entry:)</p>
<p>Download the linux 32-bit arduino toolkit from <a href="http://arduino.cc/en/Main/Software">the arduino toolkit download page</a> and untar in a directory.</p>
<p>Install the avr tools: apt-get install avr-libc binutils-avr gcc-avr</p>
<p>Install &#8220;ia32-sun-java5-bin&#8221;. ( apt-get install ia32-sun-java5-bin )</p>
<p>Adapt the &#8220;arduino&#8221; startup script script and replace java in it by</p>
<p>/usr/lib/jvm/ia32-java-1.5.0-sun/bin/java</p>
<p>Execute the &#8220;arduino&#8221; startup script. It works just fine now.</p>
<p>Thats all.</p>
<p>Many thanks to the Debian java packagers for providing this 32-bit compatibity jvm!</p>
]]></content:encoded>
			<wfw:commentRss>http://joost.damad.be/2009/04/arduino-toolkit-on-x86_64-linux-debianubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>De Post &#8211; volmachten</title>
		<link>http://joost.damad.be/2009/04/de-post-volmachten/</link>
		<comments>http://joost.damad.be/2009/04/de-post-volmachten/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 10:13:53 +0000</pubDate>
		<dc:creator>Joost Damad</dc:creator>
				<category><![CDATA[grep]]></category>
		<category><![CDATA[lang:nl]]></category>

		<guid isPermaLink="false">http://joost.damad.be/?p=155</guid>
		<description><![CDATA[Blijkbaar heeft De Post een nieuwe melkkoe gevonden: de kleine zelfstandige.
Vandaag stond de postbode aan mijn deur met aan pakketje voor de firma. Hij vertelde me doodleuk dat het niet mag afgeven worden, want ik moet hiervoor een volmacht hebben.Deze volmacht kun je gaan halen op de post en kost elk jaar geld.
De postbode gaf <a href="http://joost.damad.be/2009/04/de-post-volmachten/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Blijkbaar heeft De Post een nieuwe melkkoe gevonden: de kleine zelfstandige.</p>
<p>Vandaag stond de postbode aan mijn deur met aan pakketje voor de firma. Hij vertelde me doodleuk dat het niet mag afgeven worden, want ik moet hiervoor een volmacht hebben.<br />Deze volmacht kun je gaan halen op de post en kost elk jaar geld.</p>
<p>De postbode gaf zelf toe dat dit puur geldklopperij is.</p>
<p>Je bent dus gewaarschuwd: zorg dat verzendingen met de post als geadresseerde je privé gegevens bevatten en niet je firmanaam. Of werk met een andere firma dan De Post.</p>
<p>Ikzelf hang er nu al aan voor dit jaar.</p>
<p>Gelukkig is het zalig weer <img src='http://joost.damad.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://joost.damad.be/2009/04/de-post-volmachten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>grote nete, sunset</title>
		<link>http://joost.damad.be/2009/03/grote-nete-sunset/</link>
		<comments>http://joost.damad.be/2009/03/grote-nete-sunset/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 07:58:31 +0000</pubDate>
		<dc:creator>Joost Damad</dc:creator>
				<category><![CDATA[lang:en]]></category>
		<category><![CDATA[photo]]></category>

		<guid isPermaLink="false">http://joost.damad.be/?p=154</guid>
		<description><![CDATA[





From public



]]></description>
			<content:encoded><![CDATA[<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/oeFfyYHvVYOa1tKvVBA0CQ?feat=embedwebsite"><img width="80%" src="http://lh6.ggpht.com/_2Exr8a4xFSg/SdBds5LqBtI/AAAAAAAAA9g/CxBYK3yZyK8/s800/20090329-DSC_0041.jpg" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/andete/Public?feat=embedwebsite">public</a></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://joost.damad.be/2009/03/grote-nete-sunset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tomato</title>
		<link>http://joost.damad.be/2009/03/tomato/</link>
		<comments>http://joost.damad.be/2009/03/tomato/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 19:39:53 +0000</pubDate>
		<dc:creator>Joost Damad</dc:creator>
				<category><![CDATA[lang:en]]></category>
		<category><![CDATA[photo]]></category>

		<guid isPermaLink="false">http://joost.damad.be/?p=153</guid>
		<description><![CDATA[





From public



]]></description>
			<content:encoded><![CDATA[<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/ntCCogy8Sfpt-mjWVXMg0w?feat=embedwebsite"><img src="http://lh5.ggpht.com/_2Exr8a4xFSg/Scp56spkzdI/AAAAAAAAA8Q/W03dDkC8Mg8/s144/20090325-DSC_0011.jpg" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/andete/Public?feat=embedwebsite">public</a></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://joost.damad.be/2009/03/tomato/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>glibc 2.9 &#8211; maradns</title>
		<link>http://joost.damad.be/2009/03/glibc-2-9-maradns/</link>
		<comments>http://joost.damad.be/2009/03/glibc-2-9-maradns/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 08:17:51 +0000</pubDate>
		<dc:creator>Joost Damad</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[lang:en]]></category>

		<guid isPermaLink="false">http://joost.damad.be/?p=152</guid>
		<description><![CDATA[As Debian has been released my &#8220;unstable&#8221; box recently upgraded to glibc 2.9.This caused DNS resolving to mysteriously fail in some applications.
Turns out that only IPv6 enabled applications suffer.
Apparently libc now fires both an IPv4 and IPv6 DNS resolving request in parallel. It looks like some DNS servers don&#8217;t handle that correctly and answer an <a href="http://joost.damad.be/2009/03/glibc-2-9-maradns/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>As Debian has been released my &#8220;unstable&#8221; box recently upgraded to glibc 2.9.<br />This caused DNS resolving to mysteriously fail in some applications.</p>
<p>Turns out that only IPv6 enabled applications suffer.</p>
<p>Apparently libc now fires both an IPv4 and IPv6 DNS resolving request in parallel. It looks like some DNS servers don&#8217;t handle that correctly and answer an error on the IPv6 request before the IPv4 request even has time to resolve further in the internet.</p>
<p>In my case it was my local NSLU2 running Debian lenny causing the trouble, more specific the maradns local DNS server and DNS proxy running on it.</p>
<p>I manually upgraded maradns to the latest version (&gt; 1.3.10) and things are &#8220;back&#8221; to normal.</p>
<p>Another solution is to disable IPv6 systemwide but I prefer not to do that as I use IPv6 occationally for testing.</p>
<p>I fear that this will cause more trouble for alot of people with routers doing DNS proxying.</p>
]]></content:encoded>
			<wfw:commentRss>http://joost.damad.be/2009/03/glibc-2-9-maradns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
