From: Roeland M. <roe...@te...> - 2004-09-22 13:57:07
|
On Wed, Sep 22, 2004 at 03:10:21PM +0200, Roeland Moors wrote: > > > > yes, the lircd deamon is running > > If the lirc modules are loaded and the lircd deamon is running > and you have fulll permissions to /dev/lircd then I'm out of > ideas. > > You could try starting lircd in debug mode, check log files, ... > > I'm thinking of creating a test script to test all of the above. > This could be usefull for more people with trouble. > > I'll post a message if it's finished. > I created a small test script: http://rlirc.rubyforge.org/lirc_test.rb You need ruby installed. Don't shoot me if the script doesn't works. It's quick and uggly code. -- Roeland > > > > > Op woensdag 22 september 2004 14:01, schreef Roeland Moors: > > > On Wed, Sep 22, 2004 at 12:06:31PM +0200, Alien wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > noone has any idea? > > > > allthough i seemed to have it responsive, it doesn't start any programs > > > > or anything... > > > > > > > > and the ircat and irexec are still connection refused... > > > > > > > > what should i do? > > > > > > did you check if the lircd daemon is running? > > > > > > > Op maandag 20 september 2004 14:42, schreef Alien: > > > > > nevermind, i see that it should execute the ~/.lircrc file > > > > > > > > > > it doesn't do it, though... > > > > > > > > > > Op maandag 20 september 2004 12:40, schreef Alien: > > > > > > ok, i tried irrecord, it seemed like the remote was inresponsive... > > > > > > > > > > > > here's what i did: > > > > > > > > > > > > now i'd like one of you to tell me that the remote is working or that > > > > > > it's not working at all... > > > > > > > > > > > > I had to react pretty fast, too fast for me, i didn't press some > > > > > > buttons in time, i think... > > > > > > > > > > > > anyone help me please? > > > > > > > > > > > > if it is working, how do i use it? > > > > > > > > > > > > Maarten > > > > > > > > > > > > [root@queen lirc]# irrecord test > > > > > > > > > > > > irrecord - application for recording IR-codes for usage with lirc > > > > > > > > > > > > Copyright (C) 1998,1999 Christoph Bartelmus(li...@ba...) > > > > > > > > > > > > This program will record the signals from your remote control > > > > > > and create a config file for lircd. > > > > > > > > > > > > > > > > > > A proper config file for lircd is maybe the most vital part of this > > > > > > package, so you should invest some time to create a working config > > > > > > file. Although I put a good deal of effort in this program it is > > > > > > often not possible to automatically recognize all features of a > > > > > > remote control. Often short-comings of the receiver hardware make it > > > > > > nearly impossible. If you have problems to create a config file READ > > > > > > THE DOCUMENTATION of this package, especially section "Adding new > > > > > > remote controls" for how to get help. > > > > > > > > > > > > If there already is a remote control of the same brand available at > > > > > > http://www.lirc.org/remotes/ you might also want to try using such a > > > > > > remote as a template. The config files already contain all > > > > > > parameters of the protocol used by remotes of a certain brand and > > > > > > knowing these parameters makes the job of this program much > > > > > > easier. There are also template files for the most common protocols > > > > > > available in the remotes/generic/ directory of the source > > > > > > distribution of this package. You can use a template files by > > > > > > providing the path of the file as command line parameter. > > > > > > > > > > > > Please send the finished config files to <li...@ba...> so that > > > > > > I can make them available to others. Don't forget to put all > > > > > > information that you can get about the remote control in the header > > > > > > of the file. > > > > > > > > > > > > Press RETURN to continue. > > > > > > > > > > > > > > > > > > Hold down an arbitrary button. > > > > > > ..................................................................... > > > > > >.... .. ..... Found gap length: 202969 > > > > > > Now enter the names for the buttons. > > > > > > > > > > > > Please enter the name for the next button (press <ENTER> to finish > > > > > > recording) txt > > > > > > > > > > > > Now hold down button "txt". > > > > > > > > > > > > Please enter the name for the next button (press <ENTER> to finish > > > > > > recording) mute > > > > > > > > > > > > Now hold down button "mute". > > > > > > > > > > > > Please enter the name for the next button (press <ENTER> to finish > > > > > > recording) preview > > > > > > > > > > > > Now hold down button "preview". > > > > > > > > > > > > Please enter the name for the next button (press <ENTER> to finish > > > > > > recording) mode > > > > > > > > > > > > Now hold down button "mode". > > > > > > > > > > > > Please enter the name for the next button (press <ENTER> to finish > > > > > > recording) snapshot > > > > > > > > > > > > Now hold down button "snapshot". > > > > > > > > > > > > Please enter the name for the next button (press <ENTER> to finish > > > > > > recording) stop > > > > > > > > > > > > Now hold down button "stop". > > > > > > > > > > > > Please enter the name for the next button (press <ENTER> to finish > > > > > > recording) play > > > > > > > > > > > > Now hold down button "play". > > > > > > > > > > > > Please enter the name for the next button (press <ENTER> to finish > > > > > > recording) pause > > > > > > > > > > > > Now hold down button "pause". > > > > > > > > > > > > Please enter the name for the next button (press <ENTER> to finish > > > > > > recording) record > > > > > > > > > > > > Now hold down button "record". > > > > > > > > > > > > Please enter the name for the next button (press <ENTER> to finish > > > > > > recording) > > > > > > > > > > > > Checking for toggle bit. > > > > > > Please press an arbitrary button repeatedly as fast as possible > > > > > > (don't hold it down!). > > > > > > .............................. > > > > > > Invalid toggle bit. > > > > > > Successfully written config file. > > > > > > [root@queen lirc]# cat test > > > > > > > > > > > > # Please make this file available to others > > > > > > # by sending it to <li...@ba...> > > > > > > # > > > > > > # this config file was automatically generated > > > > > > # using lirc-0.6.6(any) on Mon Sep 20 12:33:44 2004 > > > > > > # > > > > > > # contributed by > > > > > > # > > > > > > # brand: test > > > > > > # model no. of remote control: > > > > > > # devices being controlled by this remote: > > > > > > # > > > > > > > > > > > > begin remote > > > > > > > > > > > > name test > > > > > > bits 16 > > > > > > eps 30 > > > > > > aeps 100 > > > > > > > > > > > > one 0 0 > > > > > > zero 0 0 > > > > > > pre_data_bits 16 > > > > > > pre_data 0x61D6 > > > > > > gap 202969 > > > > > > min_repeat 34 > > > > > > toggle_bit 0 > > > > > > > > > > > > > > > > > > begin codes > > > > > > txt 0x00000000000048B7 > > > > > > mute 0x00000000000008F7 > > > > > > preview 0x000000000000C837 > > > > > > mode 0x000000000000F906 > > > > > > snapshot 0x000000000000F906 > > > > > > stop 0x00000000000050AF > > > > > > play 0x000000000000F906 > > > > > > pause 0x000000000000F906 > > > > > > record 0x000000000000F906 > > > > > > end codes > > > > > > > > > > > > end remote > > > > > > > > > > > > > > > > > > [root@queen lirc]# cat /etc/lircd.conf > > > > > > # > > > > > > # this config file was automatically generated > > > > > > # using lirc-0.6.6(any) on Mon Oct 6 01:10:14 2003 > > > > > > # > > > > > > # contributed by Dimitris Michail <dmichail|yahoo.com> > > > > > > # > > > > > > # brand: Hercules > > > > > > # model no. of remote control: unknown > > > > > > # devices being controlled by this remote: Hercules SmartTV Stereo > > > > > > # > > > > > > # Works with module lirc_i2c, reports PV951 IR > > > > > > > > > > > > begin remote > > > > > > > > > > > > name HERCULES_SMARTTV_STEREO > > > > > > bits 16 > > > > > > eps 30 > > > > > > aeps 100 > > > > > > > > > > > > one 0 0 > > > > > > zero 0 0 > > > > > > pre_data_bits 16 > > > > > > pre_data 0x61D6 > > > > > > gap 199964 > > > > > > toggle_bit 0 > > > > > > > > > > > > > > > > > > begin codes > > > > > > POWER 0x00000000000048B7 > > > > > > MUTE 0x000000000000C837 > > > > > > PREVIEW 0x000000000000F00F > > > > > > FULLSCREEN 0x00000000000038C7 > > > > > > AV/TV 0x0000000000008877 > > > > > > TELETEXT 0x00000000000008F7 > > > > > > 1 0x000000000000807F > > > > > > 2 0x00000000000040BF > > > > > > 3 0x000000000000C03F > > > > > > 4 0x00000000000020DF > > > > > > 5 0x000000000000A05F > > > > > > 6 0x000000000000609F > > > > > > 7 0x000000000000E01F > > > > > > 8 0x00000000000010EF > > > > > > 9 0x000000000000906F > > > > > > 0 0x00000000000000FF > > > > > > SNAPSHOT 0x00000000000050AF > > > > > > 100+ 0x000000000000E817 > > > > > > CH+ 0x00000000000058A7 > > > > > > CH- 0x0000000000007887 > > > > > > VOL+ 0x000000000000D827 > > > > > > VOL- 0x000000000000F807 > > > > > > PAUSE 0x000000000000B04F > > > > > > RECORD 0x000000000000708F > > > > > > STOP 0x000000000000B847 > > > > > > PLAY 0x0000000000009867 > > > > > > TV_REPLAY 0x0000000000006897 > > > > > > TIME_SHIFT 0x00000000000028D7 > > > > > > SEEK_BACK 0x00000000000018E7 > > > > > > SEEK_FWD 0x00000000000030CF > > > > > > end codes > > > > > > > > > > > > end remote > > > > > > > > - -- > > > > AL13N is my name and head-biting is my game > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: GnuPG v1.2.4 (GNU/Linux) > > > > > > > > iD8DBQFBUU6nuBWKXETrtdcRAo02AJ0WOLeroRRASQjoifnzN1TKNVhTHQCglRNK > > > > KSZ1mEWh2HO3zwR/RzzQxxE= > > > > =PPok > > > > -----END PGP SIGNATURE----- > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > > > > Project Admins to receive an Apple iPod Mini FREE for your judgement on > > > > who ports your project to Linux PPC the best. Sponsored by IBM. > > > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > > > Project Admins to receive an Apple iPod Mini FREE for your judgement on > > > who ports your project to Linux PPC the best. Sponsored by IBM. > > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > > > > - -- > > AL13N is my name and head-biting is my game > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.4 (GNU/Linux) > > > > iD8DBQFBUXH5uBWKXETrtdcRAqs7AJ9HWx0zN90yDWjxf1mVUsRWyb/4cwCfSFJh > > lzKL7iGfEjPY8/FX3gvHK9E= > > =5OdC > > -----END PGP SIGNATURE----- > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > > Project Admins to receive an Apple iPod Mini FREE for your judgement on > > who ports your project to Linux PPC the best. Sponsored by IBM. > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > |