Re: [Freevo-users] lirc : irw say nothing .

2008-09-07 Thread patric...@laposte.net
Le Sat, 6 Sep 2008 23:52:25 +0200,
Andreas Dick [EMAIL PROTECTED] a écrit :

 Andreas

it  work fine . thanks Andreas . 


-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-06 Thread Andreas Dick
Am Freitag, 5. September 2008 15.38:01 schrieb [EMAIL PROTECTED]:
 Le Fri, 5 Sep 2008 11:16:17 +0200 (CEST),
 Andreas Dick [EMAIL PROTECTED] a écrit :

 thanks

  changing the mode will chang pulses with spaces

 [EMAIL PROTECTED] patrick]# killall lircd
 [EMAIL PROTECTED] patrick]# rmmod lirc_serial
 [EMAIL PROTECTED] patrick]# modprobe lirc_serial sense=0
 [EMAIL PROTECTED] patrick]# mode2 -d /dev/lirc/0
 pulse 2215268
 space 8526
 pulse 4138
 space 609
 pulse 1500
 space 611
 pulse 1502
 space 608
 pulse 447
 space 608
 pulse 448
 space 610
 pulse 1499
 space 610
 pulse 447
 space 607
 pulse 1503
 space 609
 pulse 1503
 space 608
 pulse 445
 space 611
 pulse 446
 space 608
 pulse 1504
 space 607
 pulse 1502
 space 609
 pulse 446
 space 611
 pulse 445
 space 609
 pulse 447
 space 610
 pulse 444
 space 610
 pulse 21351
 space 630
 pulse 1486
 space 630
 pulse 1483
 space 604
 pulse 446
 space 608
 pulse 447
 space 609
 pulse 1502
 space 609
 pulse 446
 space 609
 pulse 1503
 space 608
 pulse 1502
 space 608
 pulse 446
 space 609
 pulse 447
 space 609
 pulse 1502
 space 610
 pulse 1501
 space 611
 pulse 444
 space 608
 pulse 448
 space 609
 pulse 445
 space 611
 pulse 446
 space 633
 pulse 21702
 space 608
 pulse 1501
 space 609
 pulse 1503
 space 608
 pulse 445
 space 610
 pulse 447
 space 608
 pulse 1502
 space 609
 pulse 447
 space 608
 pulse 1503
 space 609
 pulse 1501
 space 611
 pulse 444
 space 633
 pulse 423
 space 609
 pulse 1502
 space 609
 pulse 1501
 space 611
 pulse 444
 space 610
 pulse 447
 space 607
 pulse 448
 space 609
 pulse 446
 space 609
 pulse 21733
 space 602
 pulse 1499
 space 610
 pulse 1503
 space 608
 pulse 446
 space 609
 pulse 446
 space 610
 pulse 1502
 space 608
 pulse 447
 space 608
 pulse 1503
 space 608
 pulse 1502
 space 610
 pulse 446
 space 607
 pulse 448
 space 609
 pulse 1501
 space 610
 pulse 1501
 space 609
 pulse 446
 space 610
 pulse 446
 space 609
 pulse 447
 space 608
 pulse 446
 space 610
 pulse 21732
 space 602
 pulse 1501
 space 610
 pulse 1502
 space 608
 pulse 446
 space 608
 pulse 448
 space 609
 pulse 1502
 space 608
 pulse 447
 space 608
 pulse 1503
 space 608
 pulse 1502
 space 610
 pulse 446
 space 608
 pulse 447
 space 609
 pulse 1502
 space 608
 pulse 1502
 space 610
 pulse 445
 space 608
 pulse 448
 space 609
 pulse 446
 space 611
 pulse 446
 space 607
hei. if you compare the numbers here, they seems matching the ones in a normal 
RC5 config file:
   one   610  1500
   zero  610   444


 [EMAIL PROTECTED] patrick]# dmesg | grep lirc
 lirc_dev: IR Remote Control driver registered, major 61
 lirc_serial: auto-detected active low receiver
 lirc_dev: lirc_register_plugin: sample_rate: 0
 lirc_serial: Manually using active high receiver
 lirc_dev: lirc_register_plugin: sample_rate: 0
 lirc_serial: ignoring spike: 1 0 48baaea5 48baaea5 1600f 15feb
 [EMAIL PROTECTED] patrick]#




 # Please make this file available to others
 # by sending it to [EMAIL PROTECTED]
 #
 # this config file was automatically generated
 # using lirc-0.8.3-CVS(default) on Sun Aug 31 12:13:11 2008
 #
 # contributed by
 #
 # brand:   /home/patrick/lircd.conf
 # model no. of remote control:
 # devices being controlled by this remote:
 #

 begin remote

   name  JVC RM-V720U
   bits8
   flags SPACE_ENC|NO_HEAD_REP|CONST_LENGTH
   eps30
   aeps  100

   header   8525  4139
   one   610  1500
   zero  610   444
   ptrail609
   pre_data_bits   8
   pre_data   0xCB
   gap  46603
   min_repeat  6
   toggle_bit_mask 0x0

   begin codes
   pause0xB0
   slowgauche   0xA0
   slowdroit0x10
   play 0x30
   retour   0xE0
   avance   0x60
   stop 0xC0
   start/stop   0x9A
   end codes

 end remote


 it's appear ok no ?
 not sure i understand good .
is this lircd.conf working? start lircd and usw irw to check.
else try to build your own now with irrecord as described allready. this 
should find now a valid pattern
Andreas


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-06 Thread patric...@laposte.net
Le Sat, 6 Sep 2008 08:47:07 +0200,
Andreas Dick [EMAIL PROTECTED] a écrit :

 is this lircd.conf working? start lircd and usw irw to check.
 else try to build your own now with irrecord as described allready.
 this should find now a valid pattern
 Andreas

hi,
i think now i understand all :) ( tnx agn )
i build yesterday a new lircd.conf with irrecord
( not in lirc website, i can send leather )
irw is good, and display the information .
is this momment i just not understand in lircrc
the fonction to go up / go down in the freevo menu :(

and for the mod :
rmmod lirc_serial
modprobe lirc_serial sense=0
do you know the file in mandriva i must change
when isn t good in start up .
modules.conf ?




-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-06 Thread patric...@laposte.net
Le Sat, 6 Sep 2008 09:48:10 +0200,
[EMAIL PROTECTED] [EMAIL PROTECTED] a écrit :

 is this momment i just not understand in lircrc
 the fonction to go up / go down in the freevo menu :(

hummm, RTFM :) it's ok now .



just the mod isn't good .
i stop and go to work ...

-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-06 Thread Andreas Dick
 hi,
 i think now i understand all :) ( tnx agn )
wow!

 i build yesterday a new lircd.conf with irrecord
 ( not in lirc website, i can send leather )
 irw is good, and display the information .
 is this momment i just not understand in lircrc
 the fonction to go up / go down in the freevo menu :(

 and for the mod :
 rmmod lirc_serial
 modprobe lirc_serial sense=0
 do you know the file in mandriva i must change
 when isn t good in start up .
 modules.conf ?
I use a debian system and created the new file: /etc/modprobe.d/lirc
it contains just one line:
- /etc/modprobe.d/lirc-
options lirc_serial sense=0
-
this should do it in mandriva too. you can test it with
$ rmmod lirc_serial
$ modprobe lirc_serial
check the dmesg output. if it works like that, it will work after reboot as 
well.



Andreas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-05 Thread Andreas Dick
 Press RETURN now to start recording.
 
 Found const length: 106415
 Please keep on pressing buttons like described above.
 
 RC-5 remote control found.
 No header found.
 No lead pulse found.
 No repeat code found.
 Signals are biphase encoded.
 Signal length is 26
 Now enter the names for the buttons.

 Please enter the name for the next button (press ENTER to finish
 recording) suivant

 Now hold down button suivant.
 Something went wrong. Please try again. (9 retries left)
 Something went wrong. Please try again. (8 retries left)
 Something went wrong. Please try again. (7 retries left)
 Something went wrong. Please try again. (6 retries left)
 Something went wrong. Please try again. (5 retries left)
 Something went wrong. Please try again. (4 retries left)
 Something went wrong. Please try again. (3 retries left)
 Something went wrong. Please try again. (2 retries left)
 Something went wrong. Please try again. (1 retries left)
 Something went wrong.
 Try using the -f option.
 [EMAIL PROTECTED] patrick]#


 begin remote

   name  /home/patrick/lircd.conf
   bits   26
   flags RC5|CONST_LENGTH
   eps30
   aeps  100

   one   503   383
   zero  503   383
   gap  106415
   toggle_bit_mask 0x0

   begin codes
   end codes

 end remote


 it's use rc5 ? it's a IR standart i know .
yes. this looks like ok.

I go back now to your posted mode2 output:
[EMAIL PROTECTED] patrick]# mode2 -d /dev/lirc/0
space 16777215
pulse 280
space 2851
pulse 279
space 9994
pulse 281
space 2848
pulse 281
space 9992
pulse 284
space 2847
pulse 282
space 9992
pulse 281
space 2848
pulse 280
space 6423
pulse 279
space 6423
pulse 281
space 2847

this numbers have to correspond with the numbers in your lircd.conf
one thing could be that lirc is using a wrong driver situation, active
low/high instaed of active high/low.
check
$ modinfo lirc_serial for how to set the module options
normally, changing the mode will chang pulses with spaces

its because i think the puls lenght is very low. later (at home) I can
compare it with the on of my remote (RC5 as well)

Andreas





 --
 Patrick.
 envoye depuis le monde libre ...
 par un Pc sous Mandriva 2008 Spring !

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-04 Thread patric...@laposte.net
Le Tue, 02 Sep 2008 10:04:37 +0200,
Andrea Magatti [EMAIL PROTECTED] a écrit :

 irw listen events on /dev/lirc, so you need a symbolic link  
 /dev/lircd/0 called /dev/lirc, or

i forget to create the symbolic links ! :(
but lircd file exist : ( lircd socket . canal de communication  )

[EMAIL PROTECTED] patrick]# ln -s /dev/lirc/0 /dev/lircd
ln: creating symbolic link `/dev/lircd': Le fichier existe.
[EMAIL PROTECTED] patrick]#

i'm wrong ? 

-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-04 Thread Andreas Dick
 Le Tue, 02 Sep 2008 10:04:37 +0200,
 Andrea Magatti [EMAIL PROTECTED] a écrit :

 irw listen events on /dev/lirc, so you need a symbolic link
 /dev/lircd/0 called /dev/lirc, or

 i forget to create the symbolic links ! :(
 but lircd file exist : ( lircd socket . canal de communication  )

 [EMAIL PROTECTED] patrick]# ln -s /dev/lirc/0 /dev/lircd
 ln: creating symbolic link `/dev/lircd': Le fichier existe.
 [EMAIL PROTECTED] patrick]#

 i'm wrong ?
you do not need this symlink, because your device is ok:
lirc acts in 3 stages:
1) the kernel driver creates /dev/lirc/0 (usualy /dev/lirc or /dev/lirc0)
2) the lircd daemon which reads from /dev/lirc/0 and compares the input
with the keys defined in lircd.conf
-irrecord acts as well in this stage (therfore has it allmost the same
arguments as lircd)
lircd create a socket /dev/lircd and infroms clients in the next stage
about keys.
3) irw, lircrcd and also freevo are reading the lircrc file and connect to
the /dev/lircd socket and do something when a button is pressed...

if you understand this scematic, you understand lirc.

your next will be to use irrecord. for now i point to the help here
http://lirc.org/html/install.html#testing
http://lirc.org/html/irrecord.html
http://winlirc.sourceforge.net/technicaldetails.html

tell me if you have problems. the docu is not the best and maybe you have
to climb even higher... :-)

Andreas


 --
 Patrick.
 envoye depuis le monde libre ...
 par un Pc sous Mandriva 2008 Spring !

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-04 Thread patric...@laposte.net
Le Thu, 4 Sep 2008 11:42:44 +0200 (CEST),
Andreas Dick [EMAIL PROTECTED] a écrit :

 tell me if you have problems. the docu is not the best and maybe you
 have to climb even higher... :-)
 
 Andreas

Press RETURN now to start recording.

Found const length: 106415
Please keep on pressing buttons like described above.

RC-5 remote control found.
No header found.
No lead pulse found.
No repeat code found.
Signals are biphase encoded.
Signal length is 26
Now enter the names for the buttons.

Please enter the name for the next button (press ENTER to finish
recording) suivant

Now hold down button suivant.
Something went wrong. Please try again. (9 retries left)
Something went wrong. Please try again. (8 retries left)
Something went wrong. Please try again. (7 retries left)
Something went wrong. Please try again. (6 retries left)
Something went wrong. Please try again. (5 retries left)
Something went wrong. Please try again. (4 retries left)
Something went wrong. Please try again. (3 retries left)
Something went wrong. Please try again. (2 retries left)
Something went wrong. Please try again. (1 retries left)
Something went wrong.
Try using the -f option.
[EMAIL PROTECTED] patrick]#


begin remote

  name  /home/patrick/lircd.conf
  bits   26
  flags RC5|CONST_LENGTH
  eps30
  aeps  100

  one   503   383
  zero  503   383
  gap  106415
  toggle_bit_mask 0x0

  begin codes
  end codes

end remote


it's use rc5 ? it's a IR standart i know .




-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-03 Thread John Molohan
[EMAIL PROTECTED] wrote:
 Le Wed, 03 Sep 2008 00:40:38 +0100,
 John Molohan [EMAIL PROTECTED] a écrit :

   
 Shouldn't you just use lircd -d /dev/lirc/0 ?

 John
 

 i can :

 [EMAIL PROTECTED] patrick]# lircd -d /dev/lirc/0
 [EMAIL PROTECTED] patrick]# irw -d /dev/lirc/0
 irw: invalid option -- d
 unrecognized option: -d
 Try `irw 0.8.3-CVS --help' for more information.
 [EMAIL PROTECTED] patrick]#

 curious no ?

   
I never really used irw and I'm not at a linux box to test at the moment 
but I thought all you need is lircd running. You could test it with 
ircat instead.

John

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-03 Thread Andreas Dick
 i can :

 [EMAIL PROTECTED] patrick]# lircd -d /dev/lirc/0
 [EMAIL PROTECTED] patrick]# irw -d /dev/lirc/0
 irw: invalid option -- d
 unrecognized option: -d
 Try `irw 0.8.3-CVS --help' for more information.
 [EMAIL PROTECTED] patrick]#

 curious no ?
N, not at all, not if you have read my last post!
- irw do not have a -d option... it just read the soket created trough
lircd at /dev/lircd

and lircd only runs if the config file is valid. and you get no error from
lircd because it is a daemon! unless you use the nodaemon option:

$ lircd -n -d /dev/lirc/0 /path/to/lircd.conf
if you get errors, you have to fix them first!

I suppose you do not have a valid lircd.conf... can you please post it?

Andreas


 --
 Patrick.
 envoye depuis le monde libre ...
 par un Pc sous Mandriva 2008 Spring !

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-03 Thread [EMAIL PROTECTED]
Le Wed, 3 Sep 2008 15:04:20 +0200 (CEST),
Andreas Dick [EMAIL PROTECTED] a écrit :

 N, not at all, not if you have read my last post!

sorry :(  I didn't understand something ...

- irw do not have a -d option... it just read the soket created
 trough lircd at /dev/lircd
 
 and lircd only runs if the config file is valid. and you get no error
 from lircd because it is a daemon! unless you use the nodaemon option:
 
 $ lircd -n -d /dev/lirc/0 /path/to/lircd.conf
 if you get errors, you have to fix them first!

[EMAIL PROTECTED] patrick]# lircd -n -d /dev/lirc/0 /etc/lircd.conf
lircd-0.8.3-CVS[7805]: lircd(userspace) ready
 
 I suppose you do not have a valid lircd.conf... can you please post
 it?
 
 Andreas

my lircd.conf :   http://photos-click.com/freevo/lircd.conf
i have this in etc/  do i have one in /home/patrick/.freevo ?


thank all for patience .


-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-03 Thread [EMAIL PROTECTED]
Le Tue, 2 Sep 2008 11:22:19 +0200 (CEST),
Andreas Dick [EMAIL PROTECTED] a écrit :



 next you should have a propper lircd.conf file, maybe you find one for
 your remote in your distro or even at
 http://lirc.sourceforge.net/remotes/

i think is ok . see http://photos-click.com/freevo/lircd.conf
 
 else you have to train your remote (I think this is allways better)
 $ irrecord -d /dev/lirc/0 lircd.conf
 this sould generate you a valid lircd.conf file (sometimes its then
 called lircd.conf.conf)

i don't try

 
 then try to start the lircd daemon in nodaemon mode:
 $ lircd -n -d /dev/lirc/0 lircd.conf
 you see now the output of lircd

[EMAIL PROTECTED] patrick]# lircd -n -d /dev/lirc/0 /etc/lircd.conf
lircd-0.8.3-CVS[8562]: lircd(userspace) ready

 
 try to run now irw in annother terminal
 $ irw

2nd terminal :
[EMAIL PROTECTED] patrick]# irw

1nd terminal say :
[EMAIL PROTECTED] patrick]# lircd -n -d /dev/lirc/0 /etc/lircd.conf
lircd-0.8.3-CVS[8562]: lircd(userspace) ready
lircd-0.8.3-CVS[8562]: accepted new client on /dev/lircd

 
 then you can copy your valid lircd.conf to /etc/ or to /etc/lirc, and
 try to start the daemon in the distros way:
 $ /etc/init.d/lircd start (or similar)

in 3nd terminal : ( another active )

[EMAIL PROTECTED] patrick]# /etc/init.d/lircd start
Lancement du service pour télécommande infrarouge (lircd) : [ÉCHEC ]
[EMAIL PROTECTED] patrick]#

 translation = ( Launching the service for remote infrared
[FAILURE ]  )


 
 if this works, your remot is up at every reboot.
 
 its a long way, but it is hard to install a general setup such that
 every remote out there would work plug n play :-)
 
 Andreas



-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-03 Thread Andreas Dick
Am Mittwoch, 3. September 2008 19.17:39 schrieb [EMAIL PROTECTED]:
 Le Wed, 3 Sep 2008 15:04:20 +0200 (CEST),

 Andreas Dick [EMAIL PROTECTED] a écrit :
  N, not at all, not if you have read my last post!

 sorry :(  I didn't understand something ...
no problem. I know, understanding lirc is a mess for beginners. once it was 
the same for me... :-)


 - irw do not have a -d option... it just read the soket created

  trough lircd at /dev/lircd
 
  and lircd only runs if the config file is valid. and you get no error
  from lircd because it is a daemon! unless you use the nodaemon option:
 
  $ lircd -n -d /dev/lirc/0 /path/to/lircd.conf
  if you get errors, you have to fix them first!

 [EMAIL PROTECTED] patrick]# lircd -n -d /dev/lirc/0 /etc/lircd.conf
 lircd-0.8.3-CVS[7805]: lircd(userspace) ready
ok. your lircd seems to be up and running


  I suppose you do not have a valid lircd.conf... can you please post
  it?
 
  Andreas

 my lircd.conf :   http://photos-click.com/freevo/lircd.conf
hmmm. I had no success with the RAW method. have you this lircd.conf made with 
irrecord or got it from somewhere?
I propose you to try to create a normal lircd.conf with irrecord... this can 
become a mess as well... I was successful when I tried to train just one 
button first. If you have then the parameters for this you can start with 
this valid config for the others. 

 i have this in etc/  do i have one in /home/patrick/.freevo ?
It do not depend where it is, I believe default is /etc/lircd.conf 
or /etc/lirc/lircd.conf (distro dependend)
but for tests you can use a test.conf somewhere in your home and pass it as 
argument to lircd and irrecord

 thank all for patience .
wellcome in the club of linux hackers... everyday standing in front of another 
even bigger wall, but never giving up to climb :-)

Andreas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-03 Thread [EMAIL PROTECTED]
Le Wed, 3 Sep 2008 21:44:51 +0200,
[EMAIL PROTECTED] [EMAIL PROTECTED] a écrit :

 in 3nd terminal : ( another active )
 
 [EMAIL PROTECTED] patrick]# /etc/init.d/lircd start
 Lancement du service pour télécommande infrarouge (lircd) :
 [ÉCHEC ] [EMAIL PROTECTED] patrick]#
 
  translation = ( Launching the service for remote infrared
 [FAILURE ]  )

lirc running :)
if i try ...
[EMAIL PROTECTED] patrick]# /etc/init.d/lircd restart
Arrêt de l'émulation de la souris par télécommande infrarouge (l[ÉCHEC ]
Arrêt du service pour télécommande infrarouge (lircd) : [  OK  ]
Lancement du service pour télécommande infrarouge (lircd) : [  OK  ]
Lancement de l'émulation de la souris par télécommande
infraroug[  OK  ]d) : [EMAIL PROTECTED] patrick]#



-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-03 Thread Andreas Dick
Am Mittwoch, 3. September 2008 23.10:06 schrieb [EMAIL PROTECTED]:
 Le Wed, 3 Sep 2008 21:44:51 +0200,

 [EMAIL PROTECTED] [EMAIL PROTECTED] a écrit :
  in 3nd terminal : ( another active )
 
  [EMAIL PROTECTED] patrick]# /etc/init.d/lircd start
  Lancement du service pour télécommande infrarouge (lircd) :
  [ÉCHEC ] [EMAIL PROTECTED] patrick]#
 
   translation = ( Launching the service for remote infrared
  [FAILURE ]  )

 lirc running :)
 if i try ...
 [EMAIL PROTECTED] patrick]# /etc/init.d/lircd restart
 Arrêt de l'émulation de la souris par télécommande infrarouge (l[ÉCHEC ]
 Arrêt du service pour télécommande infrarouge (lircd) : [  OK  ]
 Lancement du service pour télécommande infrarouge (lircd) : [  OK  ]
 Lancement de l'émulation de la souris par télécommande
 infraroug[  OK  ]d) : [EMAIL PROTECTED] patrick]#

this just means you have now a valid lircd up and running (it finds the device 
and the lircd.conf)
but how is it with irw ? - can you configure buttons and receive them?

next would be to configure your lircrc file with the freevo events...

Andreas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-03 Thread patric...@laposte.net
Le Wed, 3 Sep 2008 22:57:29 +0200,
Andreas Dick [EMAIL PROTECTED] a écrit :

hi,

 hmmm. I had no success with the RAW method. have you this lircd.conf
 made with irrecord or got it from somewhere?

this file is from the lirc website .

 I propose you to try to create a normal lircd.conf with irrecord...
 this can become a mess as well... I was successful when I tried to
 train just one button first. If you have then the parameters for this
 you can start with this valid config for the others. 

i go to learnt how to run irrecord :)

 
  i have this in etc/  do i have one in /home/patrick/.freevo ?  
 It do not depend where it is, I believe default is /etc/lircd.conf 
 or /etc/lirc/lircd.conf (distro dependend)
 but for tests you can use a test.conf somewhere in your home and pass
 it as argument to lircd and irrecord
 
  thank all for patience .  
 wellcome in the club of linux hackers... everyday standing in front
 of another even bigger wall, but never giving up to climb :-)
 
 Andreas

i touch almost the himalaya :)

-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-02 Thread Alberto Hernando
El Martes, 2 de Septiembre de 2008 01:42, [EMAIL PROTECTED] escribió:
 [EMAIL PROTECTED] patrick]# ircat --config=/etc/freevo/lircrc freevo
 freevo: could not connect to socket
 freevo: Connection refused
 [EMAIL PROTECTED] patrick]#


Hi.

In this case, it is normal, because you killed lircd.
Well, the hardware seems to be ok. I don't know why irw doesn't work... :(

Alberto

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-02 Thread Andreas Dick
 irw listen events on /dev/lirc, so you need a symbolic link
 /dev/lircd/0 called /dev/lirc, or
 you could use:

  irw -d /dev/lirc/0
NO!
irw do not listen to /dev/lirc, it uses a allready running lircd daemon.
(and a symlink is not possible because /dev/lirc is a directory!)

next you should have a propper lircd.conf file, maybe you find one for
your remote in your distro or even at http://lirc.sourceforge.net/remotes/

else you have to train your remote (I think this is allways better)
$ irrecord -d /dev/lirc/0 lircd.conf
this sould generate you a valid lircd.conf file (sometimes its then called
lircd.conf.conf)

then try to start the lircd daemon in nodaemon mode:
$ lircd -n -d /dev/lirc/0 lircd.conf
you see now the output of lircd

try to run now irw in annother terminal
$ irw

then you can copy your valid lircd.conf to /etc/ or to /etc/lirc, and try
to start the daemon in the distros way:
$ /etc/init.d/lircd start (or similar)

if this works, your remot is up at every reboot.

its a long way, but it is hard to install a general setup such that every
remote out there would work plug n play :-)

Andreas



 by

 Alberto Hernando wrote:
 El Martes, 2 de Septiembre de 2008 01:42, [EMAIL PROTECTED]
 escribió:

 [EMAIL PROTECTED] patrick]# ircat --config=/etc/freevo/lircrc freevo
 freevo: could not connect to socket
 freevo: Connection refused
 [EMAIL PROTECTED] patrick]#



 Hi.

 In this case, it is normal, because you killed lircd.
 Well, the hardware seems to be ok. I don't know why irw doesn't work...
 :(

 Alberto

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-02 Thread Andrea Magatti
Sorry, you're right.
irw listen to /dev/lircd which is a socket created by the lirc daemon

from man irw:

irw  will  connect to any Unix domain socket and will print the data
that it receives to stdout. If you don't give it a socket name argument
it will watch
/dev/lircd. Useful for debugging.

Then /dev/lirc is not always a directory. It's distro dependent.
On my gentoo box:
ls -l /dev/lirc*

htpc dev # ls -l lirc*
lrwxrwxrwx 1 root root 5 Sep  1 17:19 lirc - lirc0
crw-rw 1 root root 61, 0 Sep  1 17:19 lirc0
crw-rw 1 root root 61, 1 Sep  1 17:19 lirc1
srw-rw-rw- 1 root root 0 Sep  1 17:19 lircd
srw-rw-rw- 1 root root 0 Sep  1 17:19 lircd1
prw-r--r-- 1 root root 0 Sep  1 18:29 lircm

by

Andreas Dick wrote:
 irw listen events on /dev/lirc, so you need a symbolic link
 /dev/lircd/0 called /dev/lirc, or
 you could use:

  irw -d /dev/lirc/0
 
 NO!
 irw do not listen to /dev/lirc, it uses a allready running lircd daemon.
 (and a symlink is not possible because /dev/lirc is a directory!)

 next you should have a propper lircd.conf file, maybe you find one for
 your remote in your distro or even at http://lirc.sourceforge.net/remotes/

 else you have to train your remote (I think this is allways better)
 $ irrecord -d /dev/lirc/0 lircd.conf
 this sould generate you a valid lircd.conf file (sometimes its then called
 lircd.conf.conf)

 then try to start the lircd daemon in nodaemon mode:
 $ lircd -n -d /dev/lirc/0 lircd.conf
 you see now the output of lircd

 try to run now irw in annother terminal
 $ irw

 then you can copy your valid lircd.conf to /etc/ or to /etc/lirc, and try
 to start the daemon in the distros way:
 $ /etc/init.d/lircd start (or similar)

 if this works, your remot is up at every reboot.

 its a long way, but it is hard to install a general setup such that every
 remote out there would work plug n play :-)

 Andreas

   
 by

 Alberto Hernando wrote:
 
 El Martes, 2 de Septiembre de 2008 01:42, [EMAIL PROTECTED]
 escribió:

   
 [EMAIL PROTECTED] patrick]# ircat --config=/etc/freevo/lircrc freevo
 freevo: could not connect to socket
 freevo: Connection refused
 [EMAIL PROTECTED] patrick]#

 
 Hi.

 In this case, it is normal, because you killed lircd.
 Well, the hardware seems to be ok. I don't know why irw doesn't work...
 :(

 Alberto

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

   
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

 



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-02 Thread [EMAIL PROTECTED]
Le Tue, 02 Sep 2008 10:04:37 +0200,
Andrea Magatti [EMAIL PROTECTED] a écrit :

 you could use:
 
  irw -d /dev/lirc/0


[EMAIL PROTECTED] patrick]# irw -d /dev/lirc/0
irw: invalid option -- d
unrecognized option: -d
Try `irw 0.8.3-CVS --help' for more information.
[EMAIL PROTECTED] patrick]# irw 0.8.3-CVS --help
Usage: irw [socket]
 -h --help  display usage summary
 -v --version   display version
[EMAIL PROTECTED] patrick]# 



-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-02 Thread [EMAIL PROTECTED]
Le Tue, 02 Sep 2008 10:04:37 +0200,
Andrea Magatti [EMAIL PROTECTED] a écrit :

 so you need a symbolic link  
 /dev/lircd/0 called /dev/lirc, or

i'm very bad to create the links ;(
i try, but no result :(

i have this :

[EMAIL PROTECTED] dev]# ls | grep lirc
lirc/
lircd=
lircm|
[EMAIL PROTECTED] dev]#

thanks for help .



-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-02 Thread John Molohan
[EMAIL PROTECTED] wrote:
 Le Tue, 02 Sep 2008 10:04:37 +0200,
 Andrea Magatti [EMAIL PROTECTED] a écrit :

   
 so you need a symbolic link  
 /dev/lircd/0 called /dev/lirc, or
 

 i'm very bad to create the links ;(
 i try, but no result :(

 i have this :

 [EMAIL PROTECTED] dev]# ls | grep lirc
 lirc/
 lircd=
 lircm|
 [EMAIL PROTECTED] dev]#

 thanks for help .



   
Shouldn't you just use lircd -d /dev/lirc/0 ?

John


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-02 Thread [EMAIL PROTECTED]
Le Wed, 03 Sep 2008 00:40:38 +0100,
John Molohan [EMAIL PROTECTED] a écrit :

 Shouldn't you just use lircd -d /dev/lirc/0 ?
 
 John

i can :

[EMAIL PROTECTED] patrick]# lircd -d /dev/lirc/0
[EMAIL PROTECTED] patrick]# irw -d /dev/lirc/0
irw: invalid option -- d
unrecognized option: -d
Try `irw 0.8.3-CVS --help' for more information.
[EMAIL PROTECTED] patrick]#

curious no ?

-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-01 Thread Andreas Dick
 lircd and lircmd running on my mandriva but irw say nothing when i
 press some key . i look at a lot of website on the net, but i don't
 found or understand ^^ why it don't work . if you can help .
have you any output in `dmesg` that can be related to your remote?
do you have any /dev/lirc* devices?
it could be that your kernel uses /dev/lirc0 and lircd would use /dev/lirc...

more details could be helpfull!

Andreas



 --
 Patrick.
 envoye depuis le monde libre ...
 par un Pc sous Mandriva 2008 Spring !

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-01 Thread Alberto Hernando
El Lunes, 1 de Septiembre de 2008 16:55, Andreas Dick escribió:
 do you have any /dev/lirc* devices?

Hi.

Do you see anything if you do:
cat /dev/lircd (or lircd0...)

while pressing buttons? At least, you should see something. Not what you would 
see with irw, but something.

Alberto

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-01 Thread [EMAIL PROTECTED]
Le Mon, 1 Sep 2008 21:49:20 +0200,
Alberto Hernando [EMAIL PROTECTED] a écrit :

  do you have any /dev/lirc* devices?  
 
 Hi.
 
 Do you see anything if you do:
 cat /dev/lircd (or lircd0...)
 
 while pressing buttons? At least, you should see something. Not what
 you would see with irw, but something.
 
 Alberto

Hi,


[EMAIL PROTECTED] ~]$ cat /dev/lirc
cat: /dev/lirc: est un répertoire   ( is a directory )
[EMAIL PROTECTED] ~]$ cd /dev/lirc
[EMAIL PROTECTED] lirc]$ ls
0
[EMAIL PROTECTED] lirc]$


-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-01 Thread [EMAIL PROTECTED]
Le Mon, 1 Sep 2008 16:55:17 +0200 (CEST),
Andreas Dick [EMAIL PROTECTED] a écrit :

HI Andreas,

  lircd and lircmd running on my mandriva but irw say nothing when i
  press some key . i look at a lot of website on the net, but i don't
  found or understand ^^ why it don't work . if you can help . 
 
 have you any output in `dmesg` that can be related to your remote?

i'm not sure that is you will ?

[EMAIL PROTECTED] ~]$ dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, major 61
lirc_serial: auto-detected active high receiver
lirc_dev: lirc_register_plugin: sample_rate: 0
[EMAIL PROTECTED] ~]$


 do you have any /dev/lirc* devices?

[EMAIL PROTECTED] ~]$ cat /dev/lirc
cat: /dev/lirc: est un répertoire
[EMAIL PROTECTED] ~]$ cd /dev/lirc
[EMAIL PROTECTED] lirc]$ ls
0
[EMAIL PROTECTED] lirc]$

 it could be that your kernel uses /dev/lirc0 and lircd would
 use /dev/lirc...
 
 more details could be helpfull!
 
 Andreas


i have all this :)
there are many things that I don't understand ...


[EMAIL PROTECTED] patrick]# lsmod
Module  Size  Used by
nvidia   4710192  22
fuse   41780  1
af_packet  17156  2
snd_seq_dummy   3524  0
snd_seq_oss29248  0
ipv6  243972  10
snd_seq_midi_event  6848  1 snd_seq_oss
snd_seq46096  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss36960  0
snd_mixer_oss  14528  1 snd_pcm_oss
lirc_serial14068  1
lirc_dev   12356  1 lirc_serial
nfsd  211920  13
lockd  59816  2 nfsd
nfs_acl 3776  1 nfsd
auth_rpcgss36608  1 nfsd
sunrpc160316  10 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs4864  1 nfsd
binfmt_misc 9352  1
loop   14276  0
dm_mirror  20608  0
dm_mod 50948  1 dm_mirror
floppy 54404  0
cpufreq_ondemand7500  0
cpufreq_conservative 7144  0
cpufreq_powersave   2304  0
freq_table  4544  1 cpufreq_ondemand
rtc_cmos9344  0
pcspkr  3264  0
snd_ens137121344  1
gameport   11464  1 snd_ens1371
snd_rawmidi19424  1 snd_ens1371
snd_seq_device  7180  4
snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_ac97_codec 96964  1 snd_ens1371
ac97_bus2592  1 snd_ac97_codec
thermal13564  0
snd_pcm66564  3 snd_pcm_oss,snd_ens1371,snd_ac97_codec
button  7024  0
processor  30184  2 thermal
snd_timer  19844  2 snd_seq,snd_pcm
snd44260  12
snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
soundcore   6592  1 snd
snd_page_alloc  8456  1 snd_pcm
parport_pc 31652  0
parport31464  1 parport_pc
ide_cd 35328  0
via_agp 8800  1
shpchp 29876  0
agpgart27592  2 nvidia,via_agp
pci_hotplug25920  1 shpchp
i2c_viapro  8468  0
i2c_core   19584  2 nvidia,i2c_viapro
8139too22848  0
mii 5408  1 8139too
evdev   9568  4
ide_generic 1824  0 [permanent]
hpt366 14048  0 [permanent]
via82cxxx   8196  0 [permanent]
ide_disk   14112  5
ide_core   98572  5
ide_cd,ide_generic,hpt366,via82cxxx,ide_disk
ext3  120936  2
jbd40596  1 ext3
uhci_hcd   22928  0
ohci_hcd   22020  0
ehci_hcd   33004  0
usbcore   122316  4 uhci_hcd,ohci_hcd,ehci_hcd
[EMAIL PROTECTED] patrick]#



[EMAIL PROTECTED] patrick]# rpm -qa | grep lirc
python-lirc-0.0.5-1mdv2008.0
dkms-lirc-0.8.2-1.20080310.2mdv2008.1
liblirc0-0.8.2-1.20080310.2mdv2008.1
lirc-0.8.2-1.20080310.2mdv2008.1
lirc-remotes-0.6.6-4mdv2008.1
[EMAIL PROTECTED] patrick]#


[EMAIL PROTECTED] ~]$ cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name=AT Translated Set 2 keyboard
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 200 3803078 f800d001 fedf ffef  fffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0005 Version=
N: Name=ImPS/2 Generic Wheel Mouse
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=mouse0 event1
B: EV=7
B: KEY=7 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0019 Vendor= Product=0002 Version=
N: Name=Power Button (FF)
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=kbd event2
B: EV=3
B: KEY=10 0 0 0

I: Bus=0019 Vendor= Product=0001 Version=
N: Name=Power Button (CM)
P: Phys=PNP0C0C/button/input0
S: Sysfs=/class/input/input3
U: 

Re: [Freevo-users] lirc : irw say nothing .

2008-09-01 Thread Andreas Dick
Am Montag, 1. September 2008 22.20:26 schrieb [EMAIL PROTECTED]:
 [EMAIL PROTECTED] ~]$ ls -l /dev/lirc*
 srw-rw-rw- 1 root root  0 2008-08-27 22:46 /dev/lircd=
 prw-r--r-- 1 root root  0 2008-08-27 22:46 /dev/lircm|
 /dev/lirc:
 total 0
 crw-rw 1 root root 61, 0 2008-08-27 22:46 0

good, your kernel module is loaded right.
strange, but do you have a file /dev/lirc/0 ?
$ ls -l /dev/lirc/0
then this is new for me (but this is dirstro-dependend)...
just try now
$ cat /dev/lirc/0
if you see some strange characters while pressing buttons, your on the way!
try then
$ mode2 -d /dev/lirc/0
if this gives you numbers as output while pressing buttons, your still on the 
way :-)
then you have to use /dev/lirc/0 allways you have to set a lirc device name, 
e.g. in /etc/lirc/lircd.conf

waiting your answers
Andreas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-01 Thread [EMAIL PROTECTED]
Le Mon, 1 Sep 2008 23:18:37 +0200,
Andreas Dick [EMAIL PROTECTED] a écrit :

thanks for answer !

 good, your kernel module is loaded right.
 strange, but do you have a file /dev/lirc/0 ?
 $ ls -l /dev/lirc/0

[EMAIL PROTECTED] ~]$ ls -l /dev/lirc/0
crw-rw 1 root root 61, 0 2008-08-27 22:46 /dev/lirc/0
[EMAIL PROTECTED] [EMAIL PROTECTED] ~]$ ls -l /dev/lirc/0
crw-rw 1 root root 61, 0 2008-08-27 22:46 /dev/lirc/0
[EMAIL PROTECTED] ~]$


 then this is new for me (but this is dirstro-dependend)...
 just try now
 $ cat /dev/lirc/0
 if you see some strange characters while pressing buttons, your on
 the way!

[EMAIL PROTECTED] patrick]# cat /dev/lirc/0
cat: /dev/lirc/0: Périphérique ou ressource occupé   
[EMAIL PROTECTED] patrick]#

Périphérique ou ressource occupé = Device or resource busy

why lirc/0 is busy ?

-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-01 Thread John Molohan
[EMAIL PROTECTED] wrote:
 Le Mon, 1 Sep 2008 23:18:37 +0200,
 Andreas Dick [EMAIL PROTECTED] a écrit :

 thanks for answer !

   
 good, your kernel module is loaded right.
 strange, but do you have a file /dev/lirc/0 ?
 $ ls -l /dev/lirc/0
 

 [EMAIL PROTECTED] ~]$ ls -l /dev/lirc/0
 crw-rw 1 root root 61, 0 2008-08-27 22:46 /dev/lirc/0
 [EMAIL PROTECTED] [EMAIL PROTECTED] ~]$ ls -l /dev/lirc/0
 crw-rw 1 root root 61, 0 2008-08-27 22:46 /dev/lirc/0
 [EMAIL PROTECTED] ~]$


   
 then this is new for me (but this is dirstro-dependend)...
 just try now
 $ cat /dev/lirc/0
 if you see some strange characters while pressing buttons, your on
 the way!
 

 [EMAIL PROTECTED] patrick]# cat /dev/lirc/0
 cat: /dev/lirc/0: Périphérique ou ressource occupé   
 [EMAIL PROTECTED] patrick]#

 Périphérique ou ressource occupé = Device or resource busy

 why lirc/0 is busy ?

   
Because lircd is running? Try killing all lircd processes and see if you 
can access it.

John


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lirc : irw say nothing .

2008-09-01 Thread [EMAIL PROTECTED]
Le Mon, 01 Sep 2008 23:28:25 +0100,
John Molohan [EMAIL PROTECTED] a écrit :

 Because lircd is running? Try killing all lircd processes and see if
 you can access it.
 
 John

thanks John,

[EMAIL PROTECTED] patrick]# killall lircd
[EMAIL PROTECTED] patrick]# cat /dev/lirc/0
�
 7+
   +�.
   +�-
+�)
)(
  +
   ▒
 ▒
[EMAIL PROTECTED] patrick]# mode2 -d /dev/lirc/0
space 16777215
pulse 280
space 2851
pulse 279
space 9994
pulse 281
space 2848
pulse 281
space 9992
pulse 284
space 2847
pulse 282
space 9992
pulse 281
space 2848
pulse 280
space 6423
pulse 279
space 6423
pulse 281
space 2847
pulse 283
space 2848
pulse 281
space 2848
pulse 281
space 2848
pulse 282
space 6420
pulse 281
space 38304
pulse 280
space 2850
pulse 280
space 9994
pulse 281
space 2848
pulse 282
space 9992
pulse 281
space 2849
pulse 281
space 9993
pulse 280
space 2849
pulse 280
space 6428
pulse 277
space 6422
pulse 279
space 2848
pulse 281
space 2849
pulse 281
space 2848
pulse 281
space 2848
pulse 282
space 6421
pulse 281

[EMAIL PROTECTED] patrick]# 
 

 then you have to use /dev/lirc/0 allways you have to set a lirc device
 name, e.g. in /etc/lirc/lircd.conf

[EMAIL PROTECTED] patrick]# ircat --config=/etc/freevo/lircrc freevo
freevo: could not connect to socket
freevo: Connection refused
[EMAIL PROTECTED] patrick]#



-- 
Patrick.
envoye depuis le monde libre ...
par un Pc sous Mandriva 2008 Spring !

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users