[mythtv-users] IR not working in mythtv

Daniel Waineo danwaineo at yahoo.com
Mon Aug 13 14:41:06 UTC 2007


I'm not sure what Kernel Suse uses, but if it's
2.6.22, lirc will not work because it's not (yet)
compatible with the new kernel protocol.


--- Ivan Eulaers <eulaersivan at yahoo.com> wrote:

> This newbie really made a mess out of it.
> 
> On my opensuse 10.2 box I've installed mythtv
> through
> yast. No problem at all! However, I couldn't get my
> IR
> (Streamzap USB) to work. So I've removed lirc
> through
> yast (ignoring the dependency errors) and compiled
> lirc-0.8.2 manually with the streamzap compilation
> option. Now I have my Streamzap working through irw.
> But the remote doesn't work in mythtv. So I've
> reinstalled mythtv through yast. Yast also installed
> lirc-0.8.0. After this, irw does still work and
> recognizes the Streamzap. All buttons are responding
> in irw. But mythtv is not reacting at all to my
> remote.
> 
> As a result of these actions, I've a mix of lirc
> versions: lircd --version responds with 0.8.0 and
> lircrcd --version with 0.8.2 (however, I'm not sure
> that is causing the problem).
> 
> These are my dev-files:
> lrwxrwxrwx 1 root root     5 Aug 12 12:07 lirc ->
> lirc0
> crwxrwxrwx 1 root root 61, 0 Aug 12 12:07 lirc0
> lrwxrwxrwx 1 root root    19 Aug 12 12:08 lircd ->
> /var/run/lirc/lircd
> 
> Attached you'll find a copy of lircd.conf and of
> lircrc.
> 
> I really would appreciate your help. I think I've
> tried everything, but I can't figure it out.
> 
> Best regards,
> 
> Ivan
> 
> 
> 
> 
> 
> ******************************************
> ** lircd.conf                           **
> ******************************************
> #
> # this config file was automatically generated
> # using lirc-0.7.1-CVS(serial) on Fri Feb  4
> 23:20:56
> 2005
> #
> # contributed by Christoph Bartelmus
> #
> # brand:                       Streamzap
> # model no. of remote control: PC Remote
> # devices being controlled by this remote: USB
> receiver
> #
> 
> begin remote
> 
>   name  Streamzap_PC_Remote
>   bits            6
>   flags RC5|CONST_LENGTH
>   eps            30
>   aeps          100
> 
>   one           889  889
>   zero          889  889
>   plead         889
>   pre_data_bits   8
>   pre_data       0xA3
>   gap          108344
>   toggle_bit      2
> 
> 
>       begin codes
> 	'0'                   0x00                  # 0
> 	'1'                   0x01                  # 1
> 	'2'                   0x02                  # 2
> 	'3'                   0x03                  # 3
> 	'4'                   0x04                  # 4
> 	'5'                   0x05                  # 5
> 	'6'                   0x06                  # 6
> 	'7'                   0x07                  # 7
> 	'8'                   0x08                  # 8
> 	'9'                   0x09                  # 9
> 	'POWER'               0x0A                  # POWER
> 	'MUTE'                0x0B                  # MUTE
> 	'CHANNELUP'           0x0C                  # CH_UP
> 	'VOLUMEUP'            0x0D                  #
> VOL_UP
> 	'CHANNELDOWN'         0x0E                  #
> CH_DOWN
> 	'VOLUMEDOWN'          0x0F                  #
> VOL_DOWN
> 	'UP'                  0x10                  # UP
> 	'LEFT'                0x11                  # LEFT
> 	'OK'                  0x12                  # OK
> 	'RIGHT'               0x13                  # RIGHT
> 	'DOWN'                0x14                  # DOWN
> 	'MENU'                0x15                  # MENU
> 	'EXIT'                0x16                  # EXIT
> 	'PLAY'                0x17                  # PLAY
> 	'PAUSE'               0x18                  # PAUSE
> 	'STOP'                0x19                  # STOP
> 	'|<<'                 0x1A                  # |<<
> 	'>>|'                 0x1B                  # >>|
> 	'RECORD'              0x1C                  #
> RECORD
> 	'<<'                  0x1D                  # <<
> 	'>>'                  0x1E                  # >>
> 	'RED'                 0x20                  # RED
> 	'GREEN'               0x21                  # GREEN
> 	'YELLOW'              0x22                  #
> YELLOW
> 	'BLUE'                0x23                  # BLUE
>       end codes
> 
> end remote
> 
> 
> ******************************************
> ** lircrc                               **
> ******************************************
> # StreamZap Remote
> # 'config' must either be a literal key, e.g.
> 'config
> = l' or must
> # refer to a defined key in MythTV, e.g. 'config =
> PLAY'
> begin
>    prog = mythtv
>    button = 0
>    config = 0
> end
> 
> begin
>    prog = mythtv
>    button = 1
>    config = 1
> end
> 
> begin
>    prog = mythtv
>    button = 2
>    config = 2
> end
> 
> begin
>    prog = mythtv
>    button = 3
>    config = 3
> end
> 
> begin
>    prog = mythtv
>    button = 4
>    config = 4
> end
> 
> begin
>    prog = mythtv
>    button = 5
>    config = 5
> end
> 
> begin
>    prog = mythtv
>    button = 6
>    config = 6
> end
> 
> begin
>    prog = mythtv
>    button = 7
>    config = 7
> end
> 
> begin
>    prog = mythtv
>    button = 8
>    config = 8
> end
> 
> begin
>    prog = mythtv
>    button = 9
>    config = 9
> end
> 
> begin
>    prog = mythtv
>    button = POWER
>    config = Esc
> end
> 
> # ???
> begin
>    prog = mythtv
>    button = MUTE
>    config = F9
> end
> 
> begin
>    prog = mythtv
>    button = CHANNELUP
>    repeat = 3
>    config = Up
> end
> 
> begin
>    prog = mythtv
>    button = VOLUMEUP
>    repeat = 3
>    config = ]
> end
> 
> begin
>    prog = mythtv
>    button = CHANNELDOWN
>    repeat = 3
>    config = Down
> end
> 
> begin
>    prog = mythtv
>    button = VOLUMEDOWN
>    repeat = 3
>    config = [
> end
> 
> begin
>    prog = mythtv
>    button = UP
>    repeat = 3
>    config = Up
> end
> 
> begin
>    prog = mythtv
>    button = LEFT
> # navigates, or skips back during playback or live
> tv.
>    config = Left
> end
> 
> begin
>    prog = mythtv
>    button = OK
>    config = Return
>    repeat = 2
> end
> 
> begin
>    prog = mythtv
>    button = RIGHT
> # navigates, or skips forwards during playback or
> live
> tv. 
>    config = Right
> end
> 
> begin
>    prog = mythtv
>    button = DOWN
>    repeat = 3
>    config = Down
> end
> 
> begin
>    prog = mythtv
>    button = MENU
>    config = m
> end
> 
> begin
>    prog = mythtv
>    button = EXIT
>    config = Esc
> end
> 
> begin
>    prog = mythtv
>    button = PLAY
>    config = l
>    repeat = 2
> end
> 
> begin
>    prog = mythtv
>    button = PAUSE
>    config = p
> end
> 
> begin
>    prog = mythtv
>    button = STOP
>    config = Esc
> end
> 
> begin
>    prog = mythtv
>    # skip backward
>    button = |<<
>    config = PgUp
> end
> 
> begin
>    prog = mythtv
>    # skip forward
>    button = >>|
>    config = PgDown
> end
> 
> begin
>    prog = mythtv
>    button = RECORD
>    config = r
> end
> 
> begin
>    prog = mythtv
>    # rewind
>    button = <<
>    config = <
> end
> 
> begin
>    prog = mythtv
>    # fast forward
>    button = >>
>    config = >
> end
> 
> begin
>    prog = mythtv
>    button = RED
>    # Delete
>    config = d
> end
> 
> begin
>    prog = mythtv
>    button = GREEN
>    # Info
>    config = i
> end
> 
> begin
>    prog = mythtv
>    button = YELLOW
>    # change aspect ratio
>    config = w
> end
> 
> begin
>    prog = mythtv
>    button = BLUE
>    config = Tab
> end
> 
> # MPLAYER
> begin
>    prog = mplayer
>    button = POWER
>    config = quit
> end
> 
> begin
>    prog = mplayer
>    button = MUTE
>    config = mute
> end
> 
> begin
>    prog = mplayer
>    button = VOL_UP
>    repeat = 3
>    config = volume +1
> end
> 
> begin
>    prog = mplayer
>    button = VOL_DOWN
>    repeat = 3
>    config = volume -1
> end
> 
> begin
>    prog = mplayer
>    button = UP
>    repeat = 3
>    config = seek +10
> end
> 
> begin
>    prog = mplayer
>    button = LEFT
> # navigates, or skips back during playback or live
> tv.
>    config = seek -60
> end
> 
> begin
>    prog = mplayer
>    button = RIGHT
> # navigates, or skips forwards during playback or
> live
> tv. 
>    config = seek +60
> end
> 
> begin
>    prog = mplayer
>    button = DOWN
>    repeat = 3
>    config = seek -10
> end
> 
> begin
>    prog = mplayer
>    button = EXIT
>    config = quit
> end
> 
> begin
>    prog = mplayer
>    button = play
>    config = speed_set 1.0
> end
> 
> begin
>     prog = mplayer
>     button = pause
>     config = pause
> end
> 
> begin
>    prog = mplayer
>    button = STOP
>    config = quit
> end
> 
> begin
>    prog = mplayer
>    # skip backward
>    button = |<<
>    config = seek -600
> end
> 
> begin
>    prog = mplayer
>    # skip forward
>    button = >>|
>    config = seek +600
> end
> 
> begin
>    prog = mplayer
>    # slow forward
>    button = <<
>    config = speed_mult 0.5
> end
> 
> begin
>    prog = mplayer
>    # fast forward
>    button = >>
>    config = speed_mult 2.0
> end
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC


More information about the mythtv-users mailing list