RE: [mythtv-users] 2005 MCE REMOTE

2005-12-24 Thread Scott Phalen
Thanks for the info.  Got it up and running!

Scott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robin Gilks
Sent: Friday, December 23, 2005 10:35 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] 2005 MCE REMOTE


> Now, I have everything installed and working great. except the remote in
> MythTV.  When I run /usr/bin/irw I get the output I can see the remote is
> working.  An lsmod shows the the remote drivers are loaded.  I have a
> .lircrc file in the user's home dir and in the /users/homedir/.mythtv dir.
> I copied the lircrc file from examples online.  Lircd is running as well.
>
>
>
> Am I missing something?  Do I need to configure something in MythTV to get
> it to use the remote?  Any help would be greatly appreciated!

Using the strings that get displayed when using irw as a reference (they
are defined by the /etc/lircd.conf file), make sure that your lircrc file
has matching strings for each of the buttons and that each of the entries
in the file are of the form:

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

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

i.e. make sure that the 'prog' line says mythtv (otherwise it won't get
the command), the 'button' line is what comes from /etc/lircd.conf (as
displayed by irw) and the 'config' like is what mythtv expects (see
http://www.mythtv.org/docs/mythtv-HOWTO-11.html#ss11.1)

The 'repeat' line (and others you may come across) are all documented in
the lirc docs.

Note that you can extend the file with commands for mplayer (for videos)
and xine (for DVD playing) or even to run programs that know nothing of
lirc at all (and comments start with a '#') - I have the power button on
my remote mapped...

# Mute
begin
prog = mplayer
button = Mute
config = mute
end
# Seek back 10 seconds
begin
prog = mplayer
button = Left
repeat = 1
config = seek -10
endbegin
prog = xine
button = Home
config = Menu
end
begin
prog = xine
button = Forward
repeat = 1
config = SeekRelative+60
end
begin
prog   = irexec
button = Power
config = /sbin/halt
mode = halt
flags= once
end

Cheers

-- 
Robin Gilks


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] 2005 MCE REMOTE

2005-12-23 Thread John Andersen
On 12/23/05, Phill Edwards <[EMAIL PROTECTED]> wrote:
> > Now, I have everything installed and working great… except the remote in
> > MythTV.  When I run /usr/bin/irw I get the output I can see the remote is
> > working.  An lsmod shows the the remote drivers are loaded.  I have a
> > .lircrc file in the user's home dir and in the /users/homedir/.mythtv dir.
> > I copied the lircrc file from examples online.  Lircd is running as well.
>
> For MythTV the file needs to be called lircrc NOT .lircrc. It lives in
> users/homedir/.mythtv
>
> Regards,
> Phill


Yes, why is this?

The nice thing about standards is there are so many to choose from.


--
--JSA-
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] 2005 MCE REMOTE

2005-12-23 Thread Phill Edwards
> Now, I have everything installed and working great… except the remote in
> MythTV.  When I run /usr/bin/irw I get the output I can see the remote is
> working.  An lsmod shows the the remote drivers are loaded.  I have a
> .lircrc file in the user's home dir and in the /users/homedir/.mythtv dir.
> I copied the lircrc file from examples online.  Lircd is running as well.

For MythTV the file needs to be called lircrc NOT .lircrc. It lives in
users/homedir/.mythtv

Regards,
Phill
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] 2005 MCE REMOTE

2005-12-23 Thread Robin Gilks

> Now, I have everything installed and working great. except the remote in
> MythTV.  When I run /usr/bin/irw I get the output I can see the remote is
> working.  An lsmod shows the the remote drivers are loaded.  I have a
> .lircrc file in the user's home dir and in the /users/homedir/.mythtv dir.
> I copied the lircrc file from examples online.  Lircd is running as well.
>
>
>
> Am I missing something?  Do I need to configure something in MythTV to get
> it to use the remote?  Any help would be greatly appreciated!

Using the strings that get displayed when using irw as a reference (they
are defined by the /etc/lircd.conf file), make sure that your lircrc file
has matching strings for each of the buttons and that each of the entries
in the file are of the form:

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

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

i.e. make sure that the 'prog' line says mythtv (otherwise it won't get
the command), the 'button' line is what comes from /etc/lircd.conf (as
displayed by irw) and the 'config' like is what mythtv expects (see
http://www.mythtv.org/docs/mythtv-HOWTO-11.html#ss11.1)

The 'repeat' line (and others you may come across) are all documented in
the lirc docs.

Note that you can extend the file with commands for mplayer (for videos)
and xine (for DVD playing) or even to run programs that know nothing of
lirc at all (and comments start with a '#') - I have the power button on
my remote mapped...

# Mute
begin
prog = mplayer
button = Mute
config = mute
end
# Seek back 10 seconds
begin
prog = mplayer
button = Left
repeat = 1
config = seek -10
endbegin
prog = xine
button = Home
config = Menu
end
begin
prog = xine
button = Forward
repeat = 1
config = SeekRelative+60
end
begin
prog   = irexec
button = Power
config = /sbin/halt
mode = halt
flags= once
end

Cheers

-- 
Robin Gilks


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] 2005 MCE REMOTE

2005-12-23 Thread Scott Phalen








Sorry if this has been beaten to death but I can’t
seem to find the correct fix for my issue.

 

I just put together a MythTV box:

 

P4 2.8Ghz

1GB DDR RAM

160GB 7200 RPM Hard drive

WinTV 500MCE 

MCE RC6 Remote w/IR Receiver

 

Now, I have everything installed and working great…
except the remote in MythTV.  When I run /usr/bin/irw I get the output I can
see the remote is working.  An lsmod shows the the remote drivers are loaded. 
I have a .lircrc file in the user’s home dir and in the
/users/homedir/.mythtv dir.  I copied the lircrc file from examples online.  Lircd
is running as well.

 

Am I missing something?  Do I need to configure something in
MythTV to get it to use the remote?  Any help would be greatly appreciated!

 

Scott






___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users