[mythtv-users] Re: Are there any standardized .mythtv/lircrc files for StreamZap PC_Remote?

Blammo blammo.doh at gmail.com
Mon Jun 20 22:11:54 UTC 2005


On 6/20/05, Mark Knecht <markknecht at gmail.com> wrote:
> Hi,
>   I got this at least partially working by building my own. Not sure
> if there's a repository for these things since no one has responded
> yet but it seems like a good idea to me. Why should folks have to
> build these if someone else has already done it? Anyway, if anyone
> needs a copy contact me off list.

Have two of them, love it. Config is very close to the PVR remote's
with a couple of personal changes.


/etc/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
  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
          1                        0x01
          2                        0x02
          3                        0x03
          4                        0x04
          5                        0x05
          6                        0x06
          7                        0x07
          8                        0x08
          9                        0x09
          Power                    0x0A
          Mute                     0x0B
          ChUp                    0x0C
          VolUp                   0x0D
          ChDown                  0x0E
          VolDown                 0x0F
          Up                       0x10
          Left                     0x11
          Ok                       0x12
          Right                    0x13
          Down                     0x14
          Menu                     0x15
          Exit                     0x16
          Play                     0x17
          Pause                    0x18
          Stop                     0x19
          TrackPrev                      0x1A
          TrackNext                      0x1B
          Record                   0x1C
          SeekBack                       0x1D
          SeekFw                       0x1E
          Red                     0x20
          Green                    0x21
          Yellow                   0x22
          Blue                     0x23
      end codes

end remote


-----------------------------------------------------------

/home/myth/.mythtv/lircrc

#
#
#

#Power Button
begin
prog = irexec
button = Power
repeat = 4
config = /usr/local/bin/mythpowerbutton.sh
end 

# Channel Up
#begin
#prog = mythtv
#button = ChUp
#repeat = 2
#config = Up
#end

# Channel Down
#begin
#prog = mythtv
#button = ChDown
#repeat = 2
#config = Down
#end

# OK/Select
begin
prog = mythtv
button = OK
config = Space
end

# Play
begin
prog = mythtv
button = Play
config = Return
end

# Stop
begin
prog = mythtv
button = Stop
config = Esc
end

# Escape/Exit/Back
begin
prog = mythtv
button = Exit
config = Esc
end

# Power Off/Exit
#begin
#prog = mythtv
#button = Power
#config = Esc
#end


# CHUP becomes tuner change
begin
prog = mythtv
button = ChUp
config = Y
end

# ChDown becomes Time Stretch
begin
prog = mythtv
button = ChDown
config = A
end


# Pause
begin
prog = mythtv
button = Pause
repeat = 3
config = P
end

# Mute
begin
prog = mythtv
button = Mute
repeat = 2
config = F9
end

begin
prog = mythtv
button = SeekBack
repeat = 2
config = Left
end

# Rewind (10 sec default)
begin
prog = mythtv
button = SeekFw
repeat = 2
config = Right
end

# Skip forward (10 min default)
begin
prog = mythtv
button = TrackNext
repeat = 2
config = PgDown
end

# Skip backward (10 min default)
begin
prog = mythtv
button = TrackPrev
repeat = 2
config = PgUp
end

# Record
begin
prog = mythtv
button = Record
repeat = 2
config = R
end

# Volume Up
begin
prog = mythtv
button = VolUp
repeat = 2
config = ]
end

# Volume Down
begin
prog = mythtv
button = VolDown
repeat = 2
config = [
end


# Widescreen
begin
prog = mythtv
button = RED
repeat = 2
config = W
end

# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = Menu
repeat = 2
config = M
end

# Scroll Right
begin
prog = mythtv
button = Right
repeat = 2
config = Right
end

# Scroll Left
begin
prog = mythtv
button = Left
repeat = 2
config = Left
end

# Scroll Up
begin
prog = mythtv
button = Up
repeat = 2
config = Up
end

# Scroll down
begin
prog = mythtv
button = Down
repeat = 2
config = Down
end


# Bring up OSD info
begin
prog = mythtv
button = GO
repeat = 2
config = I
end

# Info 
begin
prog = mythtv
button = GREEN
repeat = 2
config = I
end

# Seek to previous commercial cut point
begin
prog = mythtv
button = YELLOW
repeat = 2
config = Q
end

# Seek to next commercial cut point
begin
prog = mythtv
button = BLUE
repeat = 2
config = Z
end

# Numbers 0-9

begin
prog = mythtv
button = 0
repeat = 2
config = 0
end

begin
prog = mythtv
button = 1
repeat = 2
config = 1
end

begin
prog = mythtv
button = 2
repeat = 2
config = 2
end

begin
prog = mythtv
button = 3
repeat = 2
config = 3
end

begin
prog = mythtv
button = 4
repeat = 2
config = 4
end

begin
prog = mythtv
button = 5
repeat = 2
config = 5
end

begin
prog = mythtv
button = 6
repeat = 2
config = 6
end

begin
prog = mythtv
button = 7
repeat = 2
config = 7
end

begin
prog = mythtv
button = 8
repeat = 2
config = 8
end

begin
prog = mythtv
button = 9
repeat = 2
config = 9
end


### MPlayer lirc setup

# Show OSD
begin
prog = mplayer
button = MENU
repeat = 2
config = osd
end

# Pause playback
begin
prog = mplayer
button = PAUSE
repeat = 2
config = pause
end

# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = PLAY
repeat = 2
config = seek +1
end

# Stop playback and exit
begin
prog = mplayer
button = STOP
repeat = 2
config = quit
end

# Mute
begin
prog = mplayer
button = MUTE
repeat = 2
config = mute
end

# Seek back 10 seconds
begin
prog = mplayer
button = SeekBack
repeat = 2
config = seek -10
end

# Seek forward 30 seconds
begin
prog = mplayer
button = SeekFw
repeat = 2
config = seek +30
end

# Quit
begin
prog = mplayer
button = BACK/EXIT
repeat = 2
config = quit
end

# Seek forward 10 minutes
begin
prog = mplayer
button = TrackNext
repeat = 2
config = seek +600
end

# Seek backward 10 minutes
begin
prog = mplayer
button = TrackPrev
repeat = 2
config = seek -600
end

# Toggle full-screen
begin
prog = mplayer
button = Green
repeat = 2
config = vo_fullscreen
end


More information about the mythtv-users mailing list