<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.llaumgui.com/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title>Le blog de llaumgui - LIRC</title>
  <link>http://www.llaumgui.com/</link>
  <description>Linux en général, Fedora en particulier...</description>
  <language>fr</language>
  <pubDate>Thu, 24 Jul 2008 21:31:14 +0200</pubDate>
  <copyright>http://creativecommons.org/licenses/by-nc-nd/2.5/</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>ATI Remote Wonder II, lirc 0.8.1 et lircd.conf : Enquête</title>
    <link>http://www.llaumgui.com/post/ATI-Remote-Wonder-II-lirc-081-et-lircdconf-%3A-Enquete</link>
    <guid isPermaLink="false">urn:md5:999f8b001f592b9cc215549051230d08</guid>
    <pubDate>Sun, 11 Mar 2007 17:52:00 +0100</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>ATI</category><category>ATI Remote Wonder II</category><category>hardware</category><category>LIRC</category>    
    <description>&lt;p&gt;Le drame à eu lieu ce matin vers 2 heure. Je me regardais pénard un double épisode d'&lt;a href=&quot;http://fr.wikipedia.org/wiki/X-Files,_aux_fronti%C3%A8res_du_r%C3%A9el&quot; hreflang=&quot;fr&quot; title=&quot;X-Files, aux frontières du réel&quot;&gt;X-Files&lt;/a&gt; (&lt;a href=&quot;http://fr.wikipedia.org/wiki/X-Files%2C_aux_fronti%C3%A8res_du_r%C3%A9el_:_liste_des_%C3%A9pisodes#Sixi.C3.A8me_saison_.281998-1999.29&quot; hreflang=&quot;fr&quot; title=&quot;X-Files : Sixième saison&quot;&gt;Zone 51&lt;/a&gt;) tout en dégustant un petit &lt;a href=&quot;http://www.cc-picsaintloup.fr/vie_pratique/produits_et_gastronomie/vignes_et_vins&quot; hreflang=&quot;fr&quot; title=&quot;Une boisson, une histoire&quot;&gt;Pic St Loup&lt;/a&gt;. Entre les 2 épisodes, je lève mon bras pour passer au second via mon &lt;a href=&quot;http://www.llaumgui.com/tag/ATI%20Remote%20Wonder%20II&quot; hreflang=&quot;fr&quot; title=&quot;Tag ATI Remote Wonder II sur llaumgui.com&quot;&gt;ATI Remote Wonder II&lt;/a&gt; quand tout à coup... Rien !&lt;br /&gt;
Désappointer devant cet échec technologique j'ai du prendre mon courage à 2 mains pour me lever de mon canapé et faire passer &lt;a href=&quot;http://www.gnome.org/projects/totem/&quot; hreflang=&quot;en&quot; title=&quot;The official movie player of the GNOME desktop environment based&quot;&gt;Totem&lt;/a&gt; à l'épisode suivant... 2 heure du mat', pas le temps de me lancer dans un investigation...&lt;/p&gt;    &lt;p&gt;Le lendemain (en fait le jour même mais bon), tel &lt;a href=&quot;http://fr.wikipedia.org/wiki/Fox_Mulder&quot; hreflang=&quot;fr&quot; title=&quot;Fox Mulder&quot;&gt;Mulder&lt;/a&gt; et &lt;a href=&quot;http://fr.wikipedia.org/wiki/Dana_Scully&quot; hreflang=&quot;fr&quot; title=&quot;Dana Scully&quot;&gt;Scully&lt;/a&gt; (plutôt Mulder quand même ;-)) je me lance dans une enquête.&lt;br /&gt;
Avant toute chose, je vérifie le bon fonctionnement de mes piles. Cela ne viens pas de là...&lt;/p&gt;


&lt;p&gt;Je lance le service à la main afin de vérifier que tout se passe bien :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;root@enterprise ~&amp;gt; /usr/sbin/lircd --nodaemon&lt;/code&gt;

&lt;p&gt;Puis un petit &lt;a href=&quot;http://www.lirc.org/html/irw.html&quot; hreflang=&quot;en&quot; title=&quot;irw - sends data from Unix domain socket to stdout &quot;&gt;irw&lt;/a&gt; afin de voir si le signal arrive : rien !&lt;/p&gt;


&lt;p&gt;Je tente de vérifier si ma télécommande marche avec le module ati_remote2 :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;root@enterprise ~&amp;gt; rmmod lirc_atiusb &lt;br /&gt;
root@enterprise ~&amp;gt; modprobe ati_remote2&lt;/code&gt;

&lt;p&gt;La télécommande marche bien...&lt;/p&gt;


&lt;p&gt;Il me viens alors une idée : refaire un fichier &lt;a href=&quot;http://www.lirc.org/html/configure.html#lircd.conf_format&quot; hreflang=&quot;en&quot; title=&quot;The lircd.conf file format&quot;&gt;lircd.conf&lt;/a&gt; via &lt;a href=&quot;http://www.lirc.org/html/irrecord.html&quot; hreflang=&quot;en&quot; title=&quot;irrecord - application for recording IR-codes for usage with LIRC&quot;&gt;irrecord&lt;/a&gt;... Et miracle, ça marche !!!&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;&lt;ins&gt;Conclusion&lt;/ins&gt; :&lt;/strong&gt; Une mise à jour de &lt;a href=&quot;http://www.lirc.org/&quot; hreflang=&quot;en&quot; title=&quot;Linux Infrared Remote Control&quot;&gt;lirc&lt;/a&gt; a du faire planter mon fichier de configuration que j'utilise depuis la version 0.7.2 alors qu'aujourd'hui on est sous 0.8.1.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;&lt;ins&gt;Remarque 1&lt;/ins&gt; :&lt;/strong&gt; Je renomme mon ancien fichier en &lt;a href=&quot;http://www.llaumgui.com/public/files/lircd_legacy.conf&quot; hreflang=&quot;fr&quot; title=&quot;Fichier de configuration pour ATI Remote Wonder II et lirc 0.7.x&quot;&gt;lircd_legacy.conf&lt;/a&gt; et je mets à jour mon &lt;a href=&quot;http://www.llaumgui.com/public/files/lircd.conf&quot; hreflang=&quot;fr&quot; title=&quot;Fichier de configuration pour ATI Remote Wonder II et lirc 0.7.x&quot;&gt;lircd.conf&lt;/a&gt; que je vous mets à disposition en annexe.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;&lt;ins&gt;Remarque 2&lt;/ins&gt; :&lt;/strong&gt; Je n'en avais pas parlé, mais depuis quelques mois et une mise à jour du kernel, le module ati_remote2 pour l'ATI Remote Wonder II est directement pris en compte par &lt;a href=&quot;http://en.wikipedia.org/wiki/Linux_kernel#Versions&quot; hreflang=&quot;en&quot; title=&quot;Linux kernel Vanilla&quot;&gt;Vanilla&lt;/a&gt;. Pour utiliser lirc_atiusb à la place de ati_remote2, il faudra passer par un blacklistage :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;root@enterprise ~&amp;gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; /etc/modprobe.d/blacklist | &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; ati&lt;br /&gt;
blacklist ati_remote2&lt;/code&gt;</description>
    
          <enclosure url="http://www.llaumgui.com/public/files/config/lircmd.conf"
      length="554" type="text/plain" />
          <enclosure url="http://www.llaumgui.com/public/files/config/lircd.conf"
      length="2887" type="text/plain" />
          <enclosure url="http://www.llaumgui.com/public/files/config/_.lircrc"
      length="2022" type="text/plain" />
          <enclosure url="http://www.llaumgui.com/public/files/config/lircd_legacy.conf"
      length="2861" type="text/plain" />
    
    
          <comments>http://www.llaumgui.com/post/ATI-Remote-Wonder-II-lirc-081-et-lircdconf-%3A-Enquete#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/ATI-Remote-Wonder-II-lirc-081-et-lircdconf-%3A-Enquete#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/173</wfw:commentRss>
      </item>
    
  <item>
    <title>ATI Remote Wonder II sous Fedora Core 4 via LIRC (2ème partie LIRCMD)</title>
    <link>http://www.llaumgui.com/post/ati-remote-wonder-ii-sous-fedora-core-4-via-lirc-2eme-partie-lircmd</link>
    <guid isPermaLink="false">urn:md5:f6b76ae0c2afe9bb20f95b8bbbdc8bea</guid>
    <pubDate>Mon, 09 Jan 2006 22:16:00 +0000</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>ATI</category><category>ATI Remote Wonder II</category><category>Fedora</category><category>Fedora Core 4</category><category>hardware</category><category>LIRC</category><category>Xorg</category>    
    <description>&lt;p&gt;Si vous avez passé &lt;a href=&quot;http://www.llaumgui.com/post/ati-remote-wonder-ii-sous-fedora-core-4-via-lirc-1ere-partie-lircd&quot; hreflang=&quot;fr&quot;&gt;le premier biller&lt;/a&gt;, vous devez avoir une télécommande ATI Remote Wonder II parfaitement fonctionnelle via LIRC/lircd.
Mais ce qu'il y a de bien avec l'ATI Remote Wonder II, c'est quelle fait aussi souris...&lt;/p&gt;    &lt;h2&gt;Déclarer la nouvelle souris :&lt;/h2&gt;


&lt;p&gt;Dans la section &lt;strong&gt;InputDevice&lt;/strong&gt; de votre &lt;strong&gt;/etc/X11/xorg.conf&lt;/strong&gt;, rajoutez :&lt;/p&gt;

&lt;code class=&quot;bash&quot;&gt;Section &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;InputDevice&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Identifier &amp;nbsp;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;LIRC-Mouse&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Driver &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;mouse&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Device&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;/dev/lircm&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Protocol&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;IntelliMouse&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;SendCoreEvents&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Buttons&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;2&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;ZAxisMapping&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;4 5&amp;quot;&lt;/span&gt;&lt;br /&gt;
EndSection&lt;/code&gt;


&lt;p&gt;Ensuite déclarez votre nouvelle souris dans votre &lt;strong&gt;ServerLayout&lt;/strong&gt; :&lt;/p&gt;

&lt;code class=&quot;bash&quot;&gt;InputDevice &amp;nbsp; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;LIRC-Mouse&amp;quot;&lt;/span&gt;&lt;/code&gt;



&lt;h2&gt;Lancer lircmd avec lircd :&lt;/h2&gt;


&lt;p&gt;Configurez le lancement de lircd pour qu'il lance aussi lircmd. Pour cela, dans &lt;strong&gt;/etc/sysconfig/lirc&lt;/strong&gt;, passez le paramètre &lt;em&gt;ENABLE_LIRCMD&lt;/em&gt; à yes.&lt;/p&gt;



&lt;h2&gt;Configuration de lircmd :&lt;/h2&gt;


&lt;p&gt;Si vous avez bien &lt;em&gt;mapé&lt;/em&gt; votre télécommande, les touches de la souris sont identifiées, il faut maintenant les relier à des actions lircmd via le fichier &lt;strong&gt;/etc/lircm.conf&lt;/strong&gt;.
Pour cela, vous pouvez lire la &lt;a href=&quot;http://www.lirc.org/html/configure.html#lircmd.conf_format&quot; hreflang=&quot;en&quot; title=&quot;Documentation LIRC&quot;&gt;doc&lt;/a&gt;, ou bien &lt;a href=&quot;http://www.llaumgui.com/public/files/lircmd.conf&quot; hreflang=&quot;fr&quot;&gt;vous inspirer du mien&lt;/a&gt;.&lt;/p&gt;

&lt;fieldset class=&quot;links&quot;&gt;
&lt;legend&gt;Poursuivre l'aventure : &lt;/legend&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://llaumgui.com/post/ati-remote-wonder-ii-sous-fedora-core-4-via-lirc-1ere-partie-lircd&quot; hreflang=&quot;fr&quot;&gt;ATI Remote Wonder II sous Fedora Core 4 via LIRC (1ère partie LIRCD)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;ATI Remote Wonder II sous Fedora Core 4 via LIRC (2ème partie LIRCMD)&lt;/li&gt;
&lt;/ol&gt;
&lt;/fieldset&gt;</description>
    
          <enclosure url="http://www.llaumgui.com/public/files/config/lircmd.conf"
      length="554" type="text/plain" />
    
    
          <comments>http://www.llaumgui.com/post/ati-remote-wonder-ii-sous-fedora-core-4-via-lirc-2eme-partie-lircmd#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/ati-remote-wonder-ii-sous-fedora-core-4-via-lirc-2eme-partie-lircmd#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/36</wfw:commentRss>
      </item>
    
  <item>
    <title>ATI Remote Wonder II sous Fedora Core 4 via LIRC (1ère partie LIRCD)</title>
    <link>http://www.llaumgui.com/post/ati-remote-wonder-ii-sous-fedora-core-4-via-lirc-1ere-partie-lircd</link>
    <guid isPermaLink="false">urn:md5:7fdc32441432447322ddf30d5917fdc7</guid>
    <pubDate>Sat, 07 Jan 2006 17:21:00 +0000</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>ATI</category><category>ATI Remote Wonder II</category><category>Fedora</category><category>Fedora Core 4</category><category>hardware</category><category>kmod</category><category>LIRC</category>    
    <description>&lt;p&gt;Pour ceux qui ont suivie mes aventures sur #fedora-fr|, je me suis récemment (reçue le 26/11/2005 tout de même) acheté une télécommande infra rouge pour ma station de travail.
Après avoir parcouru les différents commentaires, mon choix c'est tourné vers une &lt;a href=&quot;http://www.ldlc.com/fiche/PB00025627.html&quot; hreflang=&quot;fr&quot;&gt;ATI Remote Wonder II&lt;/a&gt; pour la principale raison que la version I était parfaitement compatible et reconnue sous Linux... Malheureusement pour moi, ce n'est absolument pas le cas de la version II qui n'est pas reconnue par le module &lt;a href=&quot;http://gatos.sourceforge.net/ati_remote.php&quot; hreflang=&quot;en&quot;&gt;ati_remote&lt;/a&gt; &lt;img src=&quot;/themes/default/smilies/sad.png&quot; alt=&quot;:-(&quot; class=&quot;smiley&quot; /&gt; (de base dans les kernel Linux &amp;gt; 2.6.14).&lt;/p&gt;    &lt;p&gt;J'ai donc entrepris de parcourir les différentes littératures et d'essayer les différentes techniques allant du module &lt;a href=&quot;http://gatos.sourceforge.net/ati_remote.php&quot; hreflang=&quot;en&quot;&gt;ati_remote&lt;/a&gt; à &lt;a href=&quot;http://www.lirc.org&quot; hreflang=&quot;en&quot;&gt;LIRC&lt;/a&gt;, en passant par &lt;a href=&quot;http://fr.wikipedia.org/wiki/Hardware_abstraction_layer&quot; hreflang=&quot;fr&quot;&gt;HAL&lt;/a&gt;, mais sans succès. C'est essentiellement grâce au &lt;a href=&quot;http://benimbus.dyndns.org/blog&quot; hreflang=&quot;fr&quot;&gt;blog de Ludovic Drouard&lt;/a&gt; et à quelques échanges par mails avec son auteur que j'ai compris où était mon problème : &lt;strong&gt;l'absence du module lirc_atiusb&lt;/strong&gt;.&lt;/p&gt;


&lt;p&gt;Je vais donc reprendre pas à pas dans ce billet la technique que j'ai utilisé pour faire fonctionner mon &lt;strong&gt;ATI Remote Wonder II&lt;/strong&gt; sous &lt;strong&gt;Fedora Core 4&lt;/strong&gt; en utilisant le daemon &lt;strong&gt;LIRCD&lt;/strong&gt;.&lt;/p&gt;



&lt;h2&gt;Les logiciels, modules et daemons nécessaires :&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;http://doc.fedora-fr.org/YUM_:_Configuration_du_gestionnaire_de_paquets&quot; hreflang=&quot;fr&quot;&gt;Si votre yum est bien configuré&lt;/a&gt;, vous ne devrez pas avoir de problème pour télécharger lirc (s'il n'est pas déjà installé) ainsi que lirc-devices et lirc-kmdl-2.6.14-x.xxxx. C'est ce dernier qui me manquait :-).
&lt;strong&gt;Attention cependant lirc-devices et lirc-kmdl sont présents dans le dépôt &lt;a href=&quot;http://doc.fedora-fr.org/D%C3%A9p%C3%B4t_atrpms&quot; hreflang=&quot;fr&quot;&gt;ATrpms&lt;/a&gt; réservé aux experts&lt;/strong&gt;, faites donc attention de ne pas mettre tout votre système à jour à partir de ce dernier car des conflits pourrez apparaître. Contentez vous d'y prendre ces 2 paquets.&lt;/p&gt;



&lt;h2&gt;Lancement de LIRCD :&lt;/h2&gt;

&lt;p&gt;Votre télécommande est-elle bien reconnue sous Fedora :&lt;/p&gt;

&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;llaumgui&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt; ~&amp;gt; /sbin/lsusb&lt;br /&gt;
Bus &lt;span style=&quot;color: #000000;&quot;&gt;003&lt;/span&gt; Device &lt;span style=&quot;color: #000000;&quot;&gt;003&lt;/span&gt;: ID 046d:c308 Logitech, Inc. Internet Navigator Keyboard&lt;br /&gt;
Bus &lt;span style=&quot;color: #000000;&quot;&gt;003&lt;/span&gt; Device &lt;span style=&quot;color: #000000;&quot;&gt;002&lt;/span&gt;: ID 046d:c025 Logitech, Inc. MX500 Optical Mouse&lt;br /&gt;
Bus &lt;span style=&quot;color: #000000;&quot;&gt;003&lt;/span&gt; Device &lt;span style=&quot;color: #000000;&quot;&gt;001&lt;/span&gt;: ID &lt;span style=&quot;color: #000000;&quot;&gt;0000&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;0000&lt;/span&gt;&lt;br /&gt;
Bus &lt;span style=&quot;color: #000000;&quot;&gt;002&lt;/span&gt; Device &lt;span style=&quot;color: #000000;&quot;&gt;003&lt;/span&gt;: ID 04a9:108d Canon, Inc.&lt;br /&gt;
Bus &lt;span style=&quot;color: #000000;&quot;&gt;002&lt;/span&gt; Device &lt;span style=&quot;color: #000000;&quot;&gt;002&lt;/span&gt;: ID &lt;span style=&quot;color: #000000;&quot;&gt;0471&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;0602&lt;/span&gt; Philips&lt;br /&gt;
Bus &lt;span style=&quot;color: #000000;&quot;&gt;002&lt;/span&gt; Device &lt;span style=&quot;color: #000000;&quot;&gt;001&lt;/span&gt;: ID &lt;span style=&quot;color: #000000;&quot;&gt;0000&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;0000&lt;/span&gt;&lt;br /&gt;
Bus &lt;span style=&quot;color: #000000;&quot;&gt;001&lt;/span&gt; Device &lt;span style=&quot;color: #000000;&quot;&gt;001&lt;/span&gt;: ID &lt;span style=&quot;color: #000000;&quot;&gt;0000&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;0000&lt;/span&gt;&lt;/code&gt;


&lt;p&gt;Pas de panique, votre ATI est bien identifiée mais sous le nom de Philips, fabriquant du contrôleur IR :-).
Ensuite, chargeons le module lirc_atiusb :&lt;/p&gt;

&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;llaumgui&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt; ~&amp;gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;su&lt;/span&gt;&lt;br /&gt;
Password:&lt;br /&gt;
&lt;span style=&quot;color: #000000;&quot;&gt;17&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;58&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;18&lt;/span&gt; up &lt;span style=&quot;color: #000000;&quot;&gt;2&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;42&lt;/span&gt;, &lt;span style=&quot;color: #000000;&quot;&gt;2&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;users&lt;/span&gt;, load average: &lt;span style=&quot;color: #000000;&quot;&gt;0.10&lt;/span&gt;, &lt;span style=&quot;color: #000000;&quot;&gt;0.25&lt;/span&gt;, &lt;span style=&quot;color: #000000;&quot;&gt;0.39&lt;/span&gt;&lt;br /&gt;
Kernel: &lt;span style=&quot;color: #000000;&quot;&gt;2.6&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.14&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;-1&lt;/span&gt;.1653_FC4 &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;#&lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt; Tue Dec &lt;span style=&quot;color: #000000;&quot;&gt;13&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;21&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;32&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;09&lt;/span&gt; EST &lt;span style=&quot;color: #000000;&quot;&gt;2005&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;root&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt; /home/llaumgui&amp;gt; /sbin/modprobe lirc_atiusb&lt;/code&gt;


&lt;p&gt;Puis, lançon lircd :&lt;/p&gt;

&lt;code class=&quot;bash&quot;&gt;/usr/sbin/lircd --nodaemon -D&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6709&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: started server socket&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6709&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: parsing remote&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6709&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: parsing /etc/lircd.conf remote&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6709&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: config &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;file&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;read&lt;/span&gt;&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6709&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: lircd&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;any&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt; ready&lt;/code&gt;


&lt;p&gt;Dans une autre fenêtre lançons &lt;a href=&quot;http://www.lirc.org/html/irw.html&quot; hreflang=&quot;en&quot;&gt;irw&lt;/a&gt; et appuyons sur des touches de la télécommande, une réaction doit se passer dans la première fenêtre. Votre télécommande est alors reconnue.
Il ne vous reste plus qu'a &lt;em&gt;maper&lt;/em&gt; toutes vos touches avec &lt;a href=&quot;http://www.lirc.org/html/irrecord.html&quot; hreflang=&quot;en&quot;&gt;irrecord&lt;/a&gt; (irrecord /etc/lircd.conf) ou à utiliser mon fichier &lt;a href=&quot;http://www.llaumgui.com/public/files/lircd.conf&quot; hreflang=&quot;fr&quot;&gt;/etc/lircd.conf&lt;/a&gt;.&lt;/p&gt;



&lt;h2&gt;Utilisation de LIRC dans vos applications :&lt;/h2&gt;

&lt;p&gt;Tout d'abord, comment savoir si une application est compatible LIRC :
Si la doc ne vous donne rien, lancez lircd en mode débug et regardez si votre application s'y connecte, dans le cas de &lt;a href=&quot;http://www.gnome.org/projects/totem/&quot; hreflang=&quot;en&quot;&gt;Totem&lt;/a&gt; :&lt;/p&gt;

&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;root&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt; /home/llaumgui&amp;gt; /usr/sbin/lircd --nodaemon -D&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6899&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: started server socket&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6899&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: parsing remote&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6899&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: parsing /etc/lircd.conf remote&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6899&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: config &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;file&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;read&lt;/span&gt;&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6899&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: lircd&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;any&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt; ready&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6899&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: registering &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;local&lt;/span&gt; client&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6899&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: accepted new client on /dev/lircd&lt;br /&gt;
lircd&lt;span style=&quot;color: #000000;&quot;&gt;-0.7&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.2&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;6899&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;: driver supports receiving&lt;/code&gt;


&lt;p&gt;Totem est donc bien compatible avec LIRC. Ensuite si vous avez bien &lt;em&gt;mapé&lt;/em&gt; votre télécommande, chaque touches a un nom associé dans votre fichier /etc/lircd.conf. Pour utiliser votre télécommande dans Totem, il suffit d'associer le nom d'une touche à une action.
Pour cela, vous pouvez vous inspirez de mon fichier &lt;a href=&quot;http://www.llaumgui.com/public/files/_.lircrc&quot; hreflang=&quot;fr&quot;&gt;~/.lircrc.conf&lt;/a&gt; et l'adapter en consultant la &lt;a href=&quot;http://www.lirc.org/html/configure.html#lircrc_format&quot; hreflang=&quot;en&quot; title=&quot;Documentation de LIRC&quot;&gt;doc&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Il existe un petit utilitaire bien sympathique, &lt;a href=&quot;http://www.lirc.org/html/irexec.html&quot; hreflang=&quot;en&quot; title=&quot;irexec&quot;&gt;irexec&lt;/a&gt; qui permet de lancer une ligne de commande à partir de votre télécommande ainsi, chez moi, la touche &lt;em&gt;DVD&lt;/em&gt; lance Totem alors que la touche ''TV' lancera &lt;a href=&quot;http://tvtime.sourceforge.net/&quot; hreflang=&quot;en&quot; title=&quot;tvtime&quot;&gt;tvtime&lt;/a&gt;.
LIRC contient plusieurs petits applicatifs du même genre, et vous pouvez en voir la liste &lt;a href=&quot;http://www.lirc.org/html/programs.html&quot; hreflang=&quot;en&quot;&gt;ici&lt;/a&gt;.&lt;/p&gt;



&lt;h2&gt;Lancer lircd et irrexec au démarrage :&lt;/h2&gt;

&lt;p&gt;Pour lancer irexec au démarrage, utilisez le gestionnaire de session : &amp;quot;&lt;em&gt;Bureau / Préférences / Sessions&lt;/em&gt;&amp;quot;, onglet &amp;quot;&lt;em&gt;Programmes au démarrage&lt;/em&gt;&amp;quot;.&lt;/p&gt;


&lt;p&gt;Pour lancer lircd au démarrage, vous pouvez aussi utiliser l'interface graphique : &amp;quot;&lt;em&gt;Bureau / Paramètres système / Paramètres de serveurs / Services&lt;/em&gt; ou bien la commande &lt;em&gt;chkconfig&lt;/em&gt;.&lt;/p&gt;

&lt;fieldset class=&quot;links&quot;&gt;
&lt;legend&gt;Quelques liens utilies :&lt;/legend&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.lirc.org&quot; hreflang=&quot;en&quot;&gt;Site officiel de LIRC&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.lirc.org/html/index.html&quot; hreflang=&quot;en&quot;&gt;Documentation de LIRC.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://benimbus.dyndns.org/blog/index.php/2005/04/29/13-ati-remote-wonder-2-sur-la-gentoo-linux&quot; hreflang=&quot;fr&quot;&gt;Ati remote wonder 2 sur la Gentoo Linux (kernel 2.6)&lt;/a&gt; (chez &lt;a href=&quot;http://benimbus.dyndns.org/blog/&quot; hreflang=&quot;fr&quot;&gt;Ludovic Drouard&lt;/a&gt;) .&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://benimbus.dyndns.org/blog/index.php/2005/04/18/11-support-de-la-telecommande-ati-remote-wonder-2&quot; hreflang=&quot;fr&quot;&gt;Support de la télécommande ATI Remote Wonder 2&lt;/a&gt; (chez &lt;a href=&quot;http://benimbus.dyndns.org/blog/&quot; hreflang=&quot;fr&quot;&gt;Ludovic Drouard&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://fedoranews.org/contributors/youssef_makki/remotewonder/&quot; hreflang=&quot;en&quot;&gt;Installing and Using an ATI USB Remote Wonder&lt;/a&gt; (chez &lt;a href=&quot;http://www.fedoranews.org/&quot; hreflang=&quot;en&quot;&gt;FedoraNews&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;/fieldset&gt;
&lt;fieldset class=&quot;links&quot;&gt;
&lt;legend&gt;Poursuivre l'aventure : &lt;/legend&gt;
&lt;ol&gt;
&lt;li&gt;ATI Remote Wonder II sous Fedora Core 4 via LIRC (1ère partie LIRCD)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://llaumgui.com/post/ati-remote-wonder-ii-sous-fedora-core-4-via-lirc-2eme-partie-lircmd&quot; hreflang=&quot;fr&quot;&gt;ATI Remote Wonder II sous Fedora Core 4 via LIRC (2ème partie LIRCMD)&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/fieldset&gt;</description>
    
          <enclosure url="http://www.llaumgui.com/public/files/config/lircd.conf"
      length="2887" type="text/plain" />
          <enclosure url="http://www.llaumgui.com/public/files/config/_.lircrc"
      length="2022" type="text/plain" />
    
    
          <comments>http://www.llaumgui.com/post/ati-remote-wonder-ii-sous-fedora-core-4-via-lirc-1ere-partie-lircd#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/ati-remote-wonder-ii-sous-fedora-core-4-via-lirc-1ere-partie-lircd#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/59</wfw:commentRss>
      </item>
    
</channel>
</rss>