<?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>MRo Blog &#187; IrDA</title>
	<atom:link href="http://blog.mro.name/tag/irda/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mro.name</link>
	<description>Marcus Rohrmoser mobile Software</description>
	<lastBuildDate>Wed, 23 Jun 2010 11:32:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Linux Kernel 2.6.27 vs. IrDA</title>
		<link>http://blog.mro.name/2009/01/linux-kernel-2627-vs-irda/</link>
		<comments>http://blog.mro.name/2009/01/linux-kernel-2627-vs-irda/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 18:26:23 +0000</pubDate>
		<dc:creator>mro</dc:creator>
				<category><![CDATA[Artikel auf deutsch]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[IrDA]]></category>

		<guid isPermaLink="false">http://blog.mro.name/?p=470</guid>
		<description><![CDATA[Schade, geht nicht: http://bugzilla.kernel.org/show_bug.cgi?id=11795#c3]]></description>
			<content:encoded><![CDATA[<p>Schade, geht nicht: <a href="http://bugzilla.kernel.org/show_bug.cgi?id=11795#c3">http://bugzilla.kernel.org/show_bug.cgi?id=11795#c3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mro.name/2009/01/linux-kernel-2627-vs-irda/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobilfon via IrDA mounten</title>
		<link>http://blog.mro.name/2008/10/mobilfon-mounten/</link>
		<comments>http://blog.mro.name/2008/10/mobilfon-mounten/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 16:01:17 +0000</pubDate>
		<dc:creator>mro</dc:creator>
				<category><![CDATA[Artikel auf deutsch]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[6610]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[IrDA]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[obex]]></category>

		<guid isPermaLink="false">http://blog.mro.name/?p=95</guid>
		<description><![CDATA[Mit obexftp, obexfs und fuse läßt sich ein Mobil-Telephon sogar in&#8217;s Filesystem einhängen. Nachdem das Telephon erreichbar ist, braucht&#8217;s eine Kernel Einstellung: File systems ---&#62; &#60;M&#62; Filesystem in Userspace support und die Installation der Pakete: $ sudo emerge sys-fs/fuse $ sudo emerge app-mobilephone/obexftp $ sudo emerge sys-fs/obexfs Schnell noch die Verbindung getestet (ggf. mehrmals probieren): [...]]]></description>
			<content:encoded><![CDATA[<p>Mit <a href="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp">obexftp</a>, <a href="http://dev.zuckschwerdt.org/openobex/wiki/ObexFs">obexfs</a> und <a href="http://fuse.sourceforge.net">fuse</a> läßt sich ein Mobil-Telephon sogar in&#8217;s Filesystem einhängen.</p>
<p>Nachdem das <a href="/2008/10/nokia-6610-linux-gentoo-stable-amd64/">Telephon erreichbar ist,</a> braucht&#8217;s eine Kernel Einstellung:</p>
<pre>File systems  ---&gt;
        &lt;M&gt; Filesystem in Userspace support</pre>
<p>und die Installation der Pakete:</p>
<pre>$ sudo emerge sys-fs/fuse
$ sudo emerge app-mobilephone/obexftp
$ sudo emerge sys-fs/obexfs</pre>
<p>Schnell noch die Verbindung getestet (ggf. mehrmals probieren):</p>
<pre>$ gammu --identify
$ obexftp -i -l</pre>
<p>Schon läßt sich das Telephon via obexfs &amp; fuse mounten:</p>
<pre>$ obexfs -i mountpoint
$ ls -l mountpoint
$ fusermount -u mountpoint</pre>
<p><strong>Vorsicht!</strong> Während das Telephon gemountet ist, funktioniert gammu nicht!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mro.name/2008/10/mobilfon-mounten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hotplug USB IrDA Dongle (gentoo Linux)</title>
		<link>http://blog.mro.name/2008/10/hotplug-usb-irda-dongle-gentoo-linux/</link>
		<comments>http://blog.mro.name/2008/10/hotplug-usb-irda-dongle-gentoo-linux/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 20:22:36 +0000</pubDate>
		<dc:creator>mro</dc:creator>
				<category><![CDATA[Articles in english]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[IrDA]]></category>
		<category><![CDATA[udev]]></category>

		<guid isPermaLink="false">http://blog.mro.name/?p=53</guid>
		<description><![CDATA[Udev can help to get rid of the ugly $ sudo irattach irda0 -s in my previous blog post. I added the following udev rule: $ cat /etc/udev/rules.d/95-usb-irda.rules # Connect the IRDA USB Dongle # see http://de.gentoo-wiki.com/Udev_Rules # use "$ lsusb -v" to get the details about the dongle ACTION=="add", BUS=="usb", SYSFS{manufacturer}==" Sigmatel Inc ", [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://de.wikipedia.org/wiki/Udev">Udev</a> can help to get rid of the ugly <code>$ sudo irattach irda0 -s</code> in my <a href="/2008/10/nokia-6610-linux-gentoo-stable-amd64/">previous blog post</a>.</p>
<p>I added the following udev rule:</p>
<pre>$ cat /etc/udev/rules.d/95-usb-irda.rules
# Connect the IRDA USB Dongle
# see http://de.gentoo-wiki.com/Udev_Rules
# use "$ lsusb -v" to get the details about the dongle
ACTION=="add", BUS=="usb", SYSFS{manufacturer}==" Sigmatel Inc ", SYSFS{product}==" IrDA/USB Bridge", NAME="%k", RUN+="/usr/local/bin/usb-irda-add.sh"
# ACTION=="remove", BUS=="usb", SYSFS{idVendor}=="066f", SYSFS{idProduct}=="4200", RUN+="/usr/local/bin/usb-irda-remove.sh"</pre>
<p>combined with the script</p>
<pre># cat /usr/local/bin/usb-irda-add.sh
#!/bin/sh
# Init script for /etc/udev/rules.d/95-usb-irda.rules
# modprobe ircomm_tty
irattach irda0 -s
# http://osdir.com/ml/drivers.gnokii/2003-09/msg00014.html
echo 115200 &gt; /proc/sys/net/irda/max_baud_rate</pre>
<p>and voila, the dongle hotplugs.</p>
<p>What&#8217;s puzzling me, is that <code>/var/log/messages</code> shows multiple identical entries:</p>
<pre>Oct  3 22:06:17 sifr irattach: executing: '/sbin/modprobe irda0'
Oct  3 22:06:17 sifr irattach: executing: 'echo sifr &gt; /proc/sys/net/irda/devname'
Oct  3 22:06:17 sifr irattach: executing: '/sbin/modprobe irda0'
Oct  3 22:06:17 sifr irattach: executing: 'echo 1 &gt; /proc/sys/net/irda/discovery'
Oct  3 22:06:17 sifr irattach: executing: '/sbin/modprobe irda0'
Oct  3 22:06:17 sifr irattach: executing: 'echo sifr &gt; /proc/sys/net/irda/devname'
Oct  3 22:06:17 sifr irattach: Starting device irda0
Oct  3 22:06:17 sifr irattach: executing: 'echo 1 &gt; /proc/sys/net/irda/discovery'
Oct  3 22:06:17 sifr irattach: executing: 'echo sifr &gt; /proc/sys/net/irda/devname'
Oct  3 22:06:17 sifr irattach: executing: '/sbin/modprobe irda0'
Oct  3 22:06:17 sifr irattach: Starting device irda0
Oct  3 22:06:17 sifr irattach: executing: 'echo 1 &gt; /proc/sys/net/irda/discovery'
Oct  3 22:06:17 sifr irattach: executing: 'echo sifr &gt; /proc/sys/net/irda/devname'
Oct  3 22:06:17 sifr irattach: Starting device irda0
Oct  3 22:06:17 sifr irattach: executing: 'echo 1 &gt; /proc/sys/net/irda/discovery'
Oct  3 22:06:17 sifr irattach: Starting device irda0</pre>
<p>and that unplugging doesn&#8217;t unload the kernel modules, despite the script</p>
<pre>$ cat /usr/local/bin/usb-irda-remove.sh
#!/bin/sh
# Removal script for /etc/udev/rules.d/95-usb-irda.rules
rmmod ircomm_tty ircomm stir4200 irda crc_ccitt</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.mro.name/2008/10/hotplug-usb-irda-dongle-gentoo-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nokia 6610 &amp; Linux (gentoo stable, amd64)</title>
		<link>http://blog.mro.name/2008/10/nokia-6610-linux-gentoo-stable-amd64/</link>
		<comments>http://blog.mro.name/2008/10/nokia-6610-linux-gentoo-stable-amd64/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 12:42:12 +0000</pubDate>
		<dc:creator>mro</dc:creator>
				<category><![CDATA[Artikel auf deutsch]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[6610]]></category>
		<category><![CDATA[gammu]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[IrDA]]></category>
		<category><![CDATA[Nokia]]></category>

		<guid isPermaLink="false">http://blog.mro.name/?p=42</guid>
		<description><![CDATA[Auch von einem Linux Rechner aus kann man auf Mobiltelefone zugreifen, allerdings sind ein paar Vorbereitungen nötig. Siehe dazu auch die Gentoo IrDA Anleitung. Ausgangspunkt ist ein Nokia 6610 Mobilfon, ein Gentoo AMD64 stable Rechner und ein Cytronix IR-USB Dongle. Zunächst wollen ein paar Kernel Einstellungen gesetzt sein: Networking ---&#62; &#60;M&#62; IrDA (infrared) subsystem support [...]]]></description>
			<content:encoded><![CDATA[<p>Auch von einem Linux Rechner aus kann man auf Mobiltelefone zugreifen, allerdings sind ein paar Vorbereitungen nötig. Siehe dazu auch die <a href="http://gentoo-wiki.com/IrDA">Gentoo IrDA Anleitung</a>.</p>
<p>Ausgangspunkt ist ein <a href="http://www.forum.nokia.com/devices/6610">Nokia 6610</a> Mobilfon, ein <a href="http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml">Gentoo AMD64 stable</a> Rechner und ein <a href="http://www.google.de/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.sigmatel.com%2Fproducts%2Fportable%2Fwireless%2Fstir4200.aspx&amp;ei=xJ3kSNWDDJj20AWv_qH0DA&amp;usg=AFQjCNGjCXaTOxnBzWVhHGA8jHKqvTm-Vw&amp;sig2=wqSL28ar6VUbgWFtClzICw">Cytronix IR-USB Dongle</a>.</p>
<p>Zunächst wollen ein paar Kernel Einstellungen gesetzt sein:</p>
<pre>Networking  ---&gt;
        &lt;M&gt; IrDA (infrared) subsystem support  ---&gt;
           &lt;M&gt; IrCOMM protocol
        Infrared-port device drivers  ---&gt;
             &lt;M&gt; IrDA USB dongles
             &lt;M&gt; SigmaTel STIr4200 bridge (EXPERIMENTAL)</pre>
<p>Damit die Module automatisch geladen werden:</p>
<pre>$ cat /etc/modprobe.d/irda
alias irda0 stir4200
$ sudo update-modules</pre>
<p>Ein paar Pakete installieren:</p>
<pre>$ sudo emerge irda-utils gammu</pre>
<p>und <a href="http://www.gammu.org/">gammu</a> einstellen:</p>
<pre>$ cat ~/.gammurc
[gammu]
name = Nokia 6610
# port=/dev/ircomm0
connection = irdaphonet
synchronizetime = yes
# rsslevel = teststable
startinfo = yes
usephonedb = yes
# UsePhoneDB=yes</pre>
<p>Das Telephon noch auf Infrarot lauschen lassen, und schon sollte es klappen:</p>
<pre>$ sudo irattach irda0 -s;sleep 10;gammu --identify
INFO: there is later testing Gammu (1.20.94 instead of 1.20.0) available!
Manufacturer         : Nokia
Model                : 6610 (NHL-4U)
Firmware             : 5.52 C (19-09-03)
Hardware             : 0660
IMEI                 : 352927001317658
Original IMEI        : 352927/00/131765/8
Manufactured         : 11/2003
Product code         : 0510460
UEM                  : 8</pre>
<p>Das war&#8217;s.</p>
<p>Jetzt läßt sich per gammu das Telephon inspizieren, z.B.</p>
<pre>$ gammu getfilesystem
    c:/1.   SFolder "C (Permanent_memory)"
    c:/5.  HS |-- Folder "Empf. Dateien"
    c:/2.   S |-- Folder "Galerie"
    c:/3.   S |    |-- Folder "Bilder"
   c:/37.     |    |    |-- "Cell.jpg"
   c:/40.     |    |    |-- "Clock.jpg"
   c:/39.     |    |    |-- "Crisp.jpg"
...</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.mro.name/2008/10/nokia-6610-linux-gentoo-stable-amd64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
