[mythtv-users] lirc/gpio with nebula remote

Ryan Duffy dusteur at excite.com
Tue May 16 07:52:26 EDT 2006



--- On Mon 05/15, Derek Meek wrote:

>stop lircd and run mode2 (NOT MODE3) - if you get output there then your
>configuration for your remote is incorrect - try to find a new one or
>build one with irrecord (i built my two universal remote's configs
> with irrecord)

Okay, mode2 gets nothing. So my problem seems to be that my remote is using gpio and is being treated as a keyboard device.
This seems to require using xmodmap to map the remote keys to the correct ones for myth. 
Apart from being something of a pain, it also means that wihchever application currently has focus will be sent unwanted keypresses when the remote gets sat on.
This would be very very irritating and potentially disastrous. 

Can anyone suggest how to make this remote work through lirc instead?

Thanks.



Ryan Duffy wrote:

> >Having some serious trouble getting lirc working with my Nebula DigiTV remote, which is supposedly natively supported by the 2.6.16 kernel. I'm using Debian, and uptodate mythtv 0.19 fixes.
> >
> >I've read all the forums, and tried a million different things but it just won't work. I'm sure I'm just doing some dumb.
> >
> >kern.log finds the remote:
> >kernel: input: AT Translated Set 2 keyboard as /class/input/input0
> >kernel: input: PS2++ Logitech Wheel Mouse as /class/input/input1
> >kernel: input: bttv IR (card=104) as /class/input/input2
> >kernel: bttv-input: bttv IR (card=104) detected at pci-0000:04:07.0/ir0
> >
> >I have entries in /home/mythtv/.lircrc such as:
> >begin
> >    prog = mythtv
> >    remote = Nebula_DVB
> >    button = 4
> >    config = 4
> >end
> >
> >begin
> >    prog = mythtv
> >    remote = Nebula_DVB
> >    button = 5
> >    config = 5
> >end
> >
> >I have a symlink from /home/mythtv/.mythtv/lircrc to /home/mythtv/.lircrc.
> >
> >I have /etc/lirc/lircd.conf set up as:
> >
> >begin remote
> >
> >  name  Nebula_DVB
> >  bits           13
> >  flags RC5|CONST_LENGTH
> >  eps            30
> >  aeps          100
> >
> >  one           917   851
> >  zero          917   851
> >  plead         930
> >  gap          113335
> >  toggle_bit      2
> >
> >
> >      begin codes
> >          VOLUP                         0x1072
> >          VOLDOWN       0x1073
> >          TV                       0x000000000000100A
> >          AUX                      0x000000000000100B
> >          DVD/CD                   0x000000000000100C
> >          1                        73
> >          2                        0x0000000000001002
> >          3                        0x0000000000001003
> >          4                        0x0000000000001004
> >          5                        0x0000000000001005
> >          6                        0x0000000000001006
> >          7                        0x0000000000001007
> >          8                        0x0000000000001008
> >          9                        0x0000000000001009
> >          0                        0x0000000000001000
> >          16:9                     0x0000000000001011
> >          14:9                     0x0000000000001012
> >          EXIT                     0x0000000000001014
> >          POWER                    0x000000000000100D
> >          PICTURE                  0x000000000000100E
> >          AUDIO                    0x000000000000100F
> >          I                        0x0000000000001010
> >          EPG                      0x0000000000001013
> >          MENU                     0x0000000000001015
> >          UP                       0x0000000000001016
> >          DOWN                     0x0000000000001017
> >          LEFT                     0x0000000000001018
> >          RIGHT                    0x0000000000001019
> >          OK                       0x000000000000101A
> >          CH+                      0x000000000000101B
> >          CH-                      0x000000000000101C
> >          VOLUME+                  0x000000000000101D
> >          VOLUME-                  0x000000000000101E
> >          RED                      0x000000000000101F
> >          GREEN                    0x0000000000001020
> >          YELLOW                   0x0000000000001021
> >          BLUE                     0x0000000000001022
> >          SUBT                     0x0000000000001023
> >          AD                       0x0000000000001024
> >          TEXT                     0x0000000000001025
> >          MUTE                     0x0000000000001026
> >          REWIND                   0x0000000000001027
> >          STOP                     0x0000000000001028
> >          PLAY                     0x0000000000001029
> >          FFORWARD                 0x000000000000102A
> >          CHAPTER                  0x000000000000102B
> >          PAUSE                    0x000000000000102C
> >          PLAYSPEED                0x000000000000102D
> >          RECORD                   0x000000000000102E
> >          PIP                      0x000000000000102F
> >          ZOOM-                    0x0000000000001030
> >          ZOOM+                    0x0000000000001031
> >          CAPTURE                  0x0000000000001032
> >          WEB                      0x0000000000001033
> >          EMAIL                    0x0000000000001034
> >          PHONE                    0x0000000000001035
> >          PC                       0x0000000000001036
> >      end codes
> >
> >end remote
> >
> >When I do irw I get no output at all. When I do 'ircat mythtv' I get no output at all.
> >However, if I look in /var/log/daemon.log when running irw or ircat, the remote keypresses are being detected there:
> >lircd 0.7.1pre2[23304]: accepted new client on /dev/lircd
> >lircd 0.7.1pre2[23304]: initializing '/dev/input/event2'
> >lircd 0.7.1pre2[23304]: devinput_rec
> >lircd 0.7.1pre2[23304]: time 1147719998.616657  type 1  code 71  value 1
> >lircd 0.7.1pre2[23304]: code 80010047
> >lircd 0.7.1pre2[23304]: devinput_decode
> >lircd 0.7.1pre2[23304]: devinput_rec
> >lircd 0.7.1pre2[23304]: time 1147719998.616662  type 0  code 0  value 0
> >lircd 0.7.1pre2[23304]: code 00000000
> >lircd 0.7.1pre2[23304]: devinput_decode
> >lircd 0.7.1pre2[23304]: devinput_rec
> >lircd 0.7.1pre2[23304]: time 1147719998.932662  type 1  code 71  value 0
> >lircd 0.7.1pre2[23304]: code 00010047
> >lircd 0.7.1pre2[23304]: devinput_decode
> >lircd 0.7.1pre2[23304]: devinput_rec
> >lircd 0.7.1pre2[23304]: time 1147719998.932667  type 0  code 0  value 0
> >lircd 0.7.1pre2[23304]: code 00000000
> >lircd 0.7.1pre2[23304]: devinput_decode
> >lircd 0.7.1pre2[23304]: devinput_rec
> >lircd 0.7.1pre2[23304]: time 1147719999.720702  type 1  code 72  value 1
> >lircd 0.7.1pre2[23304]: code 80010048
> >lircd 0.7.1pre2[23304]: devinput_decode
> >lircd 0.7.1pre2[23304]: removed client
> >lircd 0.7.1pre2[23304]: closing '/dev/input/event2'
> >
> >Can anyone spot anything dumb in my setup? Any suggestions on what else I can do to try and make it work?
> >
> >Thanks very much! 
> >
> >
> >_______________________________________________
> >Join Excite! - http://www.excite.com
> >The most personalized portal on the Web!
> >
> >
> >_______________________________________________
> >mythtv-users mailing list
> >mythtv-users at mythtv.org
> >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >  
> >

_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




More information about the mythtv-users mailing list