[mythtv-users] lircrc being ignored?

Nick Ellson grimm at nickellson.com
Wed Oct 4 03:39:11 UTC 2006


(wow, I should have at least mentioned this in my first post, sorry about 
that)

/etc/lircd.conf is still my hand made one for StreamZap.

irw gets every button right (and they are still as touchy as they were 
when I bought it ;)

As for LIRC/IVTV using the serial? Maybe now.. I rebooted again, now I 
have ZERO remote, not even them defaults :\

What did I do, gad....

OK, here are details: (if needed)


pixie etc # uname -a
Linux pixie 2.6.18-gentoo #4 Mon Oct 2 10:44:56 PDT 2006 i686 Intel(R) 
Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
pixie etc # lircd -v
lircd 0.8.0
pixie etc # cat /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_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
           1                        0x01
           2                        0x02
           3                        0x03
           4                        0x04
           5                        0x05
           6                        0x06
           7                        0x07
           8                        0x08
           9                        0x09
           POWER                    0x0A
           MUTE                     0x0B
           CH_UP                    0x0C
           VOL_UP                   0x0D
           CH_DOWN                  0x0E
           VOL_DOWN                 0x0F
           UP                       0x10
           LEFT                     0x11
           OK                       0x12
           RIGHT                    0x13
           DOWN                     0x14
           MENU                     0x15
           EXIT                     0x16
           PLAY                     0x17
           PAUSE                    0x18
           STOP                     0x19
           |<<                      0x1A
           >>|                      0x1B
           RECORD                   0x1C
           <<                       0x1D
           >>                       0x1E
           RED                      0x20
           GREEN                    0x21
           YELLOW                   0x22
           BLUE                     0x23
       end codes

end remote


pixie etc # cat /home/pixie/.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 = 3
config = osd
end

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

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

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

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

# Seek back 10 seconds
begin
prog = mplayer
button = REW
repeat = 3
config = seek -10
end

# Seek forward 30 seconds
begin
prog = mplayer
button = FFW
repeat = 3
config = seek +30
end

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

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

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

# Toggle full-screen
begin
prog = mplayer
button = FULL
repeat = 3
config = vo_fullscreen
end

### Xine lirc setup

begin
prog = xine
button = PLAY
repeat = 3
config = Play
end

begin
prog = xine
button = STOP
repeat = 3
config = Stop
end

begin
prog = xine
button = OFF
repeat = 3
config = Quit
end

begin
prog = xine
button = PAUSE
repeat = 3
config = Pause
end

begin
prog = xine
button = UP
repeat = 3
config = EventUp
end

begin
prog = xine
button = DOWN
repeat = 3
config = EventDown
end

begin
prog = xine
button = LEFT
repeat = 3
config = EventLeft
end

begin
prog = xine
button = RIGHT
repeat = 3
config = EventRight
end

begin
prog = xine
button = OK
repeat = 3
config = EventSelect
end

begin
prog = xine
button = BACK/EXIT
repeat = 3
config = Menu
end

begin
prog = xine
button = >>
repeat = 3
#config = SpeedFaster
config = SeekRelative+60
end

begin
prog = xine
button = <<
repeat = 3
#config = SpeedSlower
config = SeekRelative-60
end

begin
prog = xine
button = VOL_UP
repeat = 3
config = Volume+
end

begin
prog = xine
button = VOL_DOWN
repeat = 3
config = Volume-
end

begin
prog = xine
button = MUTE
repeat = 3
config = Mute
end

begin
prog = xine
button = MENU
repeat = 3
config = RootMenu
end

begin
prog = xine
button = >>|
repeat = 3
config = EventNext
end

begin
prog = xine
button = |<<
repeat = 3
config = EventPrior
end

begin
prog = xine
button = GO
repeat = 3
config = OSDStreamInfos
end

begin
prog = xine
button = RED
repeat = 3
config = Quit
end

begin
         button = GREEN
         prog   = xine
         repeat = 3
         config = SpuNext
end
begin
         button = YELLOW
         prog   = xine
         repeat = 3
         config = SpuPrior
end

# increase brightness by 10
begin
         button = 1
         prog   = xine
         repeat = 3
         config = BrightnessControl+
end

# decrease brightness by 10
begin
         button = 4
         prog   = xine
         repeat = 3
         config = BrightnessControl-
end

pixie etc # cat /etc/conf.d/lircd
# Options to pass to the lircd process
LIRCD_OPTS="-d /dev/lirc/0 --logfile=/var/log/lircd.log"

pixie etc #



-- 
Nick Ellson
CCDA, CCNP, CCSP, CCAI,
MCSE 2000, Security+, Network+
Network Hobbyist, VFR Private Pilot.


On Wed, 4 Oct 2006, Nick wrote:

> On 04/10/06, Nick Ellson <grimm at nickellson.com> wrote:
>>
>> After completing a long needed update to my system, it would appear as
>> though *my* lircrc file is being ignored and some lean default is in use,
>> but I cannot find how to tell and i am really not looking forward to
>> running strace on mythfrontend....
>>
>> I run mythfrontend as user "pixie" and in /home/pixie/.lircrc I keep my
>> settings, and I symlink that to /etc/mythtv/.mythtv/lircrc and to
>> /home/pixie/.mythtv/lircrc just in case.
>>
>> I run lircd -v and get 0.8.0, man lircd says the -L <file> is how to get a
>> log file, but lircd claims not to have that option :\ I am running out of
>> options to track how to find the problem, neither mythfrontend/backend log
>> lirc messages it seems (greping through logs during start up to both)
>>
>> (my lircrc used to work.. like in live tv I had the channel up/down act to
>> switch tuner inputs, and Xine had fastforward set up)
>>
>> Ideas?
>
> Any chance your /etc/lircd.conf file has changed?
>
> Does irw still work?
>
> What options is lircd starting with?
>
> Was LIRC/ivtv updated and started using /dev/input instead of
> /dev/lirc (Hauppauge PVR cards)?
>
> Nick
>
> MythTV Official wiki:
> http://mythtv.org/wiki/
> MythTV users list archive:
> http://www.gossamer-threads.com/lists/mythtv/users
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


More information about the mythtv-users mailing list