https://www.linux.fi/w/index.php?title=Kaukos%C3%A4%C3%A4timet&feed=atom&action=history
Kaukosäätimet - Muutoshistoria
2024-03-29T13:35:31Z
Tämän sivun muutoshistoria
MediaWiki 1.41.0
https://www.linux.fi/w/index.php?title=Kaukos%C3%A4%C3%A4timet&diff=17037&oldid=prev
Pb: pieni siistintä
2007-09-20T19:57:26Z
<p>pieni siistintä</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="fi">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Vanhempi versio</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Versio 20. syyskuuta 2007 kello 22.57</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Rivi 1:</td>
<td colspan="2" class="diff-lineno">Rivi 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Käytettäessä linuxia tv:n katseluun </del>on <del style="font-weight: bold; text-decoration: none;">kaukosäätimen käyttö kätevää</del>.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Kaukosäätimiä voi Linuxissa käyttää useammallakin tavalla. Tyypillisesti kuitenkin käytetään Lirc-nimistä ohjelmaa toteuttamaan kaukosäädintuki. Joitakin kaukosäätimiä [[ydin]] tukee suoraan. Tällöin kaukosäädin näkyy [[laitetiedostot|laitetiedostona]] <tt>/dev/input/eventX</tt> (X </ins>on <ins style="font-weight: bold; text-decoration: none;">numero alkaen nollasta). Twinhan DTV Alpha -[[USB]]-viritinkortti on yksi tälläinen laite</ins>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Esimerkiksi Twinhan Alpha DTV usb</del>-<del style="font-weight: bold; text-decoration: none;">viritinkortin mukana tulee kaukosäädin</del>. <del style="font-weight: bold; text-decoration: none;">Itse digivastaanottimessa </del>on <del style="font-weight: bold; text-decoration: none;">ir</del>-<del style="font-weight: bold; text-decoration: none;">vastaanotin</del>.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><tt>/dev/input/eventX</tt></ins>-<ins style="font-weight: bold; text-decoration: none;">tyyppisten kaukosäätimien käyttöön voi käyttää lircd:tä, mutta Lircillä on puutteita näiden hoitamiseen</ins>. <ins style="font-weight: bold; text-decoration: none;">Toinen vaihtoehto </ins>on <ins style="font-weight: bold; text-decoration: none;">käyttää esimerkiksi evRouter-nimistä ohjelmistoa. Ohjelma osaa muuttaa event</ins>-<ins style="font-weight: bold; text-decoration: none;">rajapinnasta tulevat viestit esimerkiksi näppäimenpainalluksiksi</ins>. </div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Kaukosäätimiä voi linuxissa käyttää useammallakin tavalla. Tyypillisesti kuitenkin käytetään lirc nimistä ohjelmaa toteuttamaan kaukosäädintuki. Joitakin kaukosäätimiä linux kernel tukee suoraan. Tällöin kaukosäädin näkyy ''</del>/dev/input/eventX<del style="font-weight: bold; text-decoration: none;">'' -nimellä (X on joku numero). TwinhanDTV Alpha on yksi tälläinen laite.</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Yksi Lircin ongelmista <tt></ins>/dev/input/eventX<ins style="font-weight: bold; text-decoration: none;"><</ins>/<ins style="font-weight: bold; text-decoration: none;">tt></ins>-laitteiden kanssa on se, että <ins style="font-weight: bold; text-decoration: none;">Lircin </ins>mukana tuleva irrecord<ins style="font-weight: bold; text-decoration: none;">-</ins>ohjelma ei osaa oppia uusia koodeja event-tyyppisiltä kaukosäätimiltä.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">''/dev/input</del>/<del style="font-weight: bold; text-decoration: none;">eventX'' -tyyppisten kaukosäätimien käyttöön voi käyttää lircd:tä, mutta lircillä on puutteita näiden hoitamiseen. Toinen vaihtoehto on käyttää esimerkiksi </del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">evRouter -nimistä ohjelmistoa. Ohjelma osaa muuttaa event</del>-<del style="font-weight: bold; text-decoration: none;">rajapinnasta tulevat viestit esimerkiksi näppäimenpainalluksiksi. </del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Yksi lirc:n ongelmista ''/dev/input/eventX' </del>laitteiden kanssa on se, että <del style="font-weight: bold; text-decoration: none;">lircin </del>mukana tuleva irrecord ohjelma ei osaa oppia uusia koodeja event -tyyppisiltä kaukosäätimiltä.</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Lirc==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Lirc==</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Lirc:n kotisivulta löytyy useille kaukosäätimille valmis <del style="font-weight: bold; text-decoration: none;">konfiguraatiotiedosto</del>. Lircin käyttöön tarvitaan käynnissä oleva lircd -ohjelma ja kaukosäätimelle sopiva <del style="font-weight: bold; text-decoration: none;">konfiguraatiotiedosto</del>, joka kertoo merkityksen kullekin kaukosäätimen näppäimelle.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Lirc:n kotisivulta löytyy useille kaukosäätimille valmis <ins style="font-weight: bold; text-decoration: none;">[[asetustiedosto]]</ins>. Lircin käyttöön tarvitaan käynnissä oleva lircd-ohjelma ja kaukosäätimelle sopiva <ins style="font-weight: bold; text-decoration: none;">asetustiedosto</ins>, joka kertoo merkityksen kullekin kaukosäätimen näppäimelle.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Mikäli <del style="font-weight: bold; text-decoration: none;">lirc:n </del>kanssa halutaan käyttää <del style="font-weight: bold; text-decoration: none;">''</del>/dev/input/eventX<del style="font-weight: bold; text-decoration: none;">'' </del>rajapintaa, tulee lircd käynnistää esimerkiksi näin: <del style="font-weight: bold; text-decoration: none;">''</del>lircd -H dev/input -d /dev/input/event5<del style="font-weight: bold; text-decoration: none;">''.</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Mikäli <ins style="font-weight: bold; text-decoration: none;">Lircin </ins>kanssa halutaan käyttää <ins style="font-weight: bold; text-decoration: none;"><tt></ins>/dev/input/eventX<ins style="font-weight: bold; text-decoration: none;"></tt>-</ins>rajapintaa, tulee lircd käynnistää esimerkiksi näin: </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins>lircd -H dev/input -d /dev/input/event5</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==evRouter==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==evRouter==</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">evRouter on ohjelma, joka kuuntelee <tt>/dev/input/eventX</tt>-rajapintaa ja suorittaa komentoja tai syöttää [[X Window System]]ille eventtejä asetustiedostonsa mukaisesti.</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">evRouter on komento, joka kuuntelee ''/dev/input/eventX'' rajapintaa ja suorittaa komentoja tai syöttää ikkunointiympäristölle (X11) eventtejä konfiguraatiotiedostonsa mukaisesti.</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Kaukosäätimen tapauksessa voi olla kätevää, että evRouter muuttaa kaukosäätimen näppäimet esimerkiksi <ins style="font-weight: bold; text-decoration: none;">[[</ins>MythTV<ins style="font-weight: bold; text-decoration: none;">]]</ins>:n pikanäppäimiä vastaaviksi komennoiksi.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Kaukosäätimen tapauksessa voi olla kätevää, että evRouter muuttaa kaukosäätimen näppäimet esimerkiksi MythTV:n pikanäppäimiä vastaaviksi komennoiksi.</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Katso myös ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Katso myös ==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*[[Linux ja digi-tv]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*[[Linux ja digi-tv]]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>==<ins style="font-weight: bold; text-decoration: none;">Aiheesta muualla</ins>==</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>==<del style="font-weight: bold; text-decoration: none;">Linkit</del>==</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bedroomlan.org/~alexios/coding_evrouter.html <ins style="font-weight: bold; text-decoration: none;">EvRouterin </ins>kotisivu]</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.bedroomlan.org/~alexios/coding_evrouter.html <del style="font-weight: bold; text-decoration: none;">EvRouter </del>kotisivu]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.lirc.org/ <ins style="font-weight: bold; text-decoration: none;">Lircin </ins>kotisivu]</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [http://www.lirc.org/ <del style="font-weight: bold; text-decoration: none;">Lirc:n </del>kotisivu]</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Luokka: Laitteisto]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Luokka: Laitteisto]]</div></td></tr>
</table>
Pb
https://www.linux.fi/w/index.php?title=Kaukos%C3%A4%C3%A4timet&diff=10036&oldid=prev
Odie (8. huhtikuuta 2006 kello 13.20)
2006-04-08T13:20:29Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="fi">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Vanhempi versio</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Versio 8. huhtikuuta 2006 kello 16.20</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l22">Rivi 22:</td>
<td colspan="2" class="diff-lineno">Rivi 22:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Kaukosäätimen tapauksessa voi olla kätevää, että evRouter muuttaa kaukosäätimen näppäimet esimerkiksi MythTV:n pikanäppäimiä vastaaviksi komennoiksi.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Kaukosäätimen tapauksessa voi olla kätevää, että evRouter muuttaa kaukosäätimen näppäimet esimerkiksi MythTV:n pikanäppäimiä vastaaviksi komennoiksi.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== Katso myös ==</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">*[[Linux ja digi-tv]]</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Linkit==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Linkit==</div></td></tr>
</table>
Odie
https://www.linux.fi/w/index.php?title=Kaukos%C3%A4%C3%A4timet&diff=10035&oldid=prev
Odie (8. huhtikuuta 2006 kello 13.18)
2006-04-08T13:18:21Z
<p></p>
<p><b>Uusi sivu</b></p><div>Käytettäessä linuxia tv:n katseluun on kaukosäätimen käyttö kätevää.<br />
<br />
Esimerkiksi Twinhan Alpha DTV usb-viritinkortin mukana tulee kaukosäädin. Itse digivastaanottimessa on ir-vastaanotin.<br />
<br />
Kaukosäätimiä voi linuxissa käyttää useammallakin tavalla. Tyypillisesti kuitenkin käytetään lirc nimistä ohjelmaa toteuttamaan kaukosäädintuki. Joitakin kaukosäätimiä linux kernel tukee suoraan. Tällöin kaukosäädin näkyy ''/dev/input/eventX'' -nimellä (X on joku numero). TwinhanDTV Alpha on yksi tälläinen laite.<br />
<br />
<br />
''/dev/input/eventX'' -tyyppisten kaukosäätimien käyttöön voi käyttää lircd:tä, mutta lircillä on puutteita näiden hoitamiseen. Toinen vaihtoehto on käyttää esimerkiksi <br />
evRouter -nimistä ohjelmistoa. Ohjelma osaa muuttaa event-rajapinnasta tulevat viestit esimerkiksi näppäimenpainalluksiksi. <br />
<br />
<br />
Yksi lirc:n ongelmista ''/dev/input/eventX' laitteiden kanssa on se, että lircin mukana tuleva irrecord ohjelma ei osaa oppia uusia koodeja event -tyyppisiltä kaukosäätimiltä.<br />
<br />
==Lirc==<br />
Lirc:n kotisivulta löytyy useille kaukosäätimille valmis konfiguraatiotiedosto. Lircin käyttöön tarvitaan käynnissä oleva lircd -ohjelma ja kaukosäätimelle sopiva konfiguraatiotiedosto, joka kertoo merkityksen kullekin kaukosäätimen näppäimelle.<br />
<br />
Mikäli lirc:n kanssa halutaan käyttää ''/dev/input/eventX'' rajapintaa, tulee lircd käynnistää esimerkiksi näin: ''lircd -H dev/input -d /dev/input/event5''.<br />
<br />
==evRouter==<br />
<br />
evRouter on komento, joka kuuntelee ''/dev/input/eventX'' rajapintaa ja suorittaa komentoja tai syöttää ikkunointiympäristölle (X11) eventtejä konfiguraatiotiedostonsa mukaisesti.<br />
<br />
Kaukosäätimen tapauksessa voi olla kätevää, että evRouter muuttaa kaukosäätimen näppäimet esimerkiksi MythTV:n pikanäppäimiä vastaaviksi komennoiksi.<br />
<br />
==Linkit==<br />
* [http://www.bedroomlan.org/~alexios/coding_evrouter.html EvRouter kotisivu]<br />
* [http://www.lirc.org/ Lirc:n kotisivu]<br />
<br />
[[Luokka: Laitteisto]]</div>
Odie