[mythtv-users] lirc help

Jake Sallee spark at breathedeeply.com
Sun Oct 1 20:11:36 UTC 2006


Hello All-

I got mythtv up and running fine, although I am having quite a few issues with 
lirc.

I'm using a newer Hauppauge WinTV PVR-250 card (cx23416 based) with the A415 
remote.

I copied the config file from:
/usr/share/lirc/remotes/hauppauge/lircd.conf.hauppauge
and edited appropriately for the A415 remote and placed it in /etc/lircd.conf.

I've noticed that when i try and test with 'gmplayer /dev/video0' mplayer 
wants the config file to be /etc/lircrc.  renaming lircd.conf to lircrc loads 
the file but gives me errors:

Setting up LIRC support...
mplayer: unknown token "name" in /etc/lircrc:17 ignored
mplayer: unknown token "bits" in /etc/lircrc:18 ignored
mplayer: unknown token "flags" in /etc/lircrc:19 ignored
mplayer: unknown token "eps" in /etc/lircrc:20 ignored
mplayer: unknown token "aeps" in /etc/lircrc:21 ignored
mplayer: unexpected token in line /etc/lircrc:23
mplayer: unexpected token in line /etc/lircrc:24
mplayer: unknown token "plead" in /etc/lircrc:25 ignored
mplayer: unknown token "gap" in /etc/lircrc:26 ignored
mplayer: unknown token "toggle_bit" in /etc/lircrc:27 ignored
mplayer: bad file format, /etc/lircrc:30
Failed to read LIRC config file ~/.lircrc.
You will not be able to use your remote control.


Whenever I load mythtv, the remote doesn't work.  dmesg is giving me these 
errors when i press keys:

i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3795 down=1
i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3795 down=0
i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3f95 down=1
i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3f95 down=0
i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3f95 down=1
i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3f95 down=0
i2c IR (Hauppauge): unknown key: key=0x25 raw=0x3fa5 down=1
i2c IR (Hauppauge): unknown key: key=0x25 raw=0x3fa5 down=0
i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=1
i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=0


Here's a copy of my lircd.conf file:

#
# this config file was automatically generated
# using lirc-0.7.0(any) on Sun Nov 28 20:25:09 2004
#
# contributed by
#
# brand:   Hauppauge 350
# Created: G.J. Werler (The Netherlands)
# Project: Mythtv Fedora Pundit-R www.mythtvportal.com
# Date:    2004/11/28
# model no. of remote control: Hauppauge A415-HPG
# devices being controlled by this remote: PVR-350
#

begin remote

  name  Hauppauge_350
  bits           13
  flags RC5|CONST_LENGTH
  eps            30
  aeps          100

  one           969   811
  zero          969   811
  plead        1097
  gap          114605
  toggle_bit      2


      begin codes
        'GO'                  0x00000000000017BB    # Go
        'POWER'               0x00000000000017BD    # Power
        'TV'                  0x000000000000179C    # TV
        'VIDEOS'              0x0000000000001798    # Videos
        'MUSIC'               0x0000000000001799    # Music
        'PICTURES'            0x000000000000179A    # Pictures
        'GUIDE'               0x000000000000179B    # Guide
        'RADIO'               0x000000000000178C    # Radio
        'UP'                  0x0000000000001794    # Up
        'LEFT'                0x0000000000001796    # Left
        'RIGHT'               0x0000000000001797    # Right
        'DOWN'                0x0000000000001795    # Down
        'OK'                  0x00000000000017A5    # OK
        'BACK/EXIT'           0x000000000000179F    # Back/Exit
        'MENU/I'              0x000000000000178D    # Menu/i
        'VOLUMEUP'            0x0000000000001790    # Vol+
        'VOLUMEDOWN'          0x0000000000001791    # Vol-
        'PREV.CH'             0x0000000000001792    # Prev.Ch
        'MUTE'                0x000000000000178F    # Mute
        'CHANNELUP'           0x00000000000017A0    # Ch+
        'CHANNELDOWN'         0x00000000000017A1    # Ch-
        'RECORD'              0x00000000000017B7    # Record
        'STOP'                0x00000000000017B6    # Stop
        'REWIND'              0x00000000000017B2    # Rewind
        'PLAY'                0x00000000000017B5    # Play
        'FORWARD'             0x00000000000017B4    # Forward
        'REPLAY/SKIPBACKWARD'  0x00000000000017A4    # Replay/SkipBackward
        'PAUSE'               0x00000000000017B0    # Pause
        'SKIPFORWARD'         0x000000000000179E    # SkipForward
        '1'                   0x0000000000001781    # 1
        '2'                   0x0000000000001782    # 2
        '3'                   0x0000000000001783    # 3
        '4'                   0x0000000000001784    # 4
        '5'                   0x0000000000001785    # 5
        '6'                   0x0000000000001786    # 6
        '7'                   0x0000000000001787    # 7
        '8'                   0x0000000000001788    # 8
        '9'                   0x0000000000001789    # 9
        'ASTERIX'             0x000000000000178A    # Asterix
        '0'                   0x0000000000001780    # 0
        '#'                   0x000000000000178E    # #
        'RED'                 0x000000000000178B    # Red
        'GREEN'               0x00000000000017AE    # Green
        'YELLOW'              0x00000000000017B8    # Yellow
        'BLUE'                0x00000000000017A9    # Blue
      end codes

end remote



My software specs are:
opensuse 10.1
lirc and lirc-kmp-smp 0.8.0
mplayer 1.0pre8
mythtv 0.20
kernel-smp 2.6.16.13
ivtv and ivtv-kmp-smp 0.7


Any help would be appreciated!  Thank you.



-- 



Jake Sallee  spark at breathedeeply.com
www.breathedeeply.com

Registered Linux User #358012  http://counter.li.org
Open SuSE Linux http://www.opensuse.org
K Desktop Environment http://www.kde.org
Firefox Web Browser  http://www.mozilla.org/firefox



More information about the mythtv-users mailing list