[mythtv-users] Re: Lirc and Mythtv (Hauppauge Gray Remote)

Marc Mosthav marc at mosthav.com
Fri Feb 20 03:45:18 EST 2004


I knew it would be something very silly on my side!!! It's all working (at
least with irxevent). Thank you VERY much for your help!

Cheers,
Marc

----- Original Message -----
From: <mythgnomer at rowelab.com>
To: "'Discussion about mythtv'" <mythtv-users at mythtv.org>
Sent: Friday, February 20, 2004 12:00 AM
Subject: RE: [mythtv-users] Re: Lirc and Mythtv (Hauppauge Gray Remote)


> Ahh.. The config you sent has prog = mythtv .. That should work with the
> native lirc option, but you'd need prog = irxevent if you were going to
use
> irxevent to 'push' keystrokes at mythtv.
>
> Ie,
> begin
>         prog = irxevent
>         button = Pause
>         config = Key P
> end
>
> I ditched the lircrc file that I used before I compiled lirc support into
> myth, but it should be pretty easy to map them out using
> mythtv-0.14/keys.txt
>
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org
> [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Marc Mosthav
> Sent: Thursday, February 19, 2004 3:18 PM
> To: Discussion about mythtv
> Subject: Re: [mythtv-users] Re: Lirc and Mythtv (Hauppauge Gray Remote)
>
> Scott,
>
> the configs that I send are the ones that I used when I produced the
> irxevent output. Does anybody have other configs that I could try?
>
> Cheers,
> Marc
>
> ----- Original Message -----
> From: <mythgnomer at rowelab.com>
> To: "'Discussion about mythtv'" <mythtv-users at mythtv.org>
> Sent: Thursday, February 19, 2004 1:25 AM
> Subject: RE: [mythtv-users] Re: Lirc and Mythtv (Hauppauge Gray Remote)
>
>
> >
> >
> > Do you have a ~/.lircrc that you used when you tried the irxevent way?
> >
> > -Scott Rowe
> >
> > -----Original Message-----
> > From: mythtv-users-bounces at mythtv.org
> > [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Marc Mosthav
> > Sent: Tuesday, February 17, 2004 1:34 AM
> > To: Discussion about mythtv
> > Subject: Re: [mythtv-users] Re: Lirc and Mythtv (Hauppauge Gray
> > Remote)
> >
> > I agree it should work, but clearly I have done something stupid with
> > my configs. Thans for you offer to llok through them. My
> > ~mythtv/.lircrc and ~/.mythtv/lircrc are identical. I have attached
> > ~mythtv/.lircrc and for
> good
> > luck also /etc/lircd.conf.
> >
> > TIA,
> > Marc
> > ----- Original Message -----
> > From: <mythgnomer at rowelab.com>
> > To: "'Discussion about mythtv'" <mythtv-users at mythtv.org>
> > Sent: Tuesday, February 17, 2004 1:26 AM
> > Subject: RE: [mythtv-users] Re: Lirc and Mythtv (Hauppauge Gray
> > Remote)
> >
> >
> > > Marc, even without native lirc support, the irxevent alternative
> > > should work.. Can you attach your ~/mythtv/.lircrc ?
> > >
> > > -----Original Message-----
> > > From: mythtv-users-bounces at mythtv.org
> > > [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Marc Mosthav
> > > Sent: Sunday, February 15, 2004 12:43 PM
> > > To: Discussion about mythtv
> > > Subject: Re: [mythtv-users] Re: Lirc and Mythtv (Hauppauge Gray
> > > Remote)
> > >
> > > I was following the discussion with great interest. My problem is
> > > that irw shows the button presses nicely:
> > >
> > > [mythtv at mythbox mythtv]$ irw
> > > 00000000000017fd 00 OFF hauppaugegrey 00000000000017e0 00 CH+
> > > hauppaugegrey 00000000000017e0 01 CH+ hauppaugegrey
> > > 00000000000017e1 00 CH- hauppaugegrey
> > > 00000000000017e1 01 CH- hauppaugegrey
> > >
> > > I have copied configfiles/hauppauge-lircrc-nativelirc to
> > > ~mythtv/.lircrc
> > and
> > > to ~mythtv/.mythtv/lircrc
> > >
> > > But neither the native LIRC that I told settings.pro to use, nor
> > > irxevent make it work on mythfrontend. The strace of irxevent looks
> > > like
> > this:
> > >
> > > read(4, "00000000000017fd 00 OFF hauppaug"..., 100) = 38 read(4,
> > > "00000000000017fd 01 OFF hauppaug"..., 100) = 38 read(4,
> > > "00000000000017fd
> > > 02 OFF hauppaug"..., 100) = 38 read(4, "00000000000017e0 00 CH+
> > > hauppaug"..., 100) = 38 read(4, "00000000000017e0 01 CH+
> > > hauppaug"...,
> > 100)
> > > = 38 read(4, "00000000000017e0 02 CH+ hauppaug"..., 100) = 38
> > > read(4, "00000000000017e0 03 CH+ hauppaug"..., 100) = 38 read(4,
> > > "00000000000017e1 00 CH- hauppaug"..., 100) = 38 read(4,
> > > "00000000000017e1 01 CH- hauppaug"..., 100) = 38 read(4,
> > > "00000000000017e1 02 CH- hauppaug"...,
> > 100)
> > > = 38 read(4, "00000000000017e1 03 CH- hauppaug"..., 100) = 38
> > >
> > > Any ideas what I am missing???
> > >
> > > Cheers,
> > > Marc
> > >
> > >
> > > ----- Original Message -----
> > > From: <mythgnomer at rowelab.com>
> > > To: "'Discussion about mythtv'" <mythtv-users at mythtv.org>
> > > Sent: Saturday, February 14, 2004 4:53 PM
> > > Subject: RE: [mythtv-users] Re: Lirc and Mythtv (Hauppauge Gray
> > > Remote)
> > >
> > >
> > > > Okay.. If there's no /dev/lirc, that was probably the problem..
> > > > But since you're at the point of reinstalling from source, simple
> > > > instructions
> > > follow
> > > > for that..
> > > >
> > > > $> wget
> > > > http://lirc.sourceforge.net/software/snapshots/lirc-0.7.0pre2.tar.
> > > > bz
> > > > 2
> > > > $> tar -xjf lirc-0.7.0pre2.tar.bz2 $> cd lirc-0.7.0pre2 $>
> > > > ./setup.sh
> > > >
> > > > Select 'Driver Configuration' .. Then 'TV Card'.. Then 'Hauppauge
> > > > TV
> > > Card'.
> > > > Back at the main screen, choose 'Save Configuration and Run
> Configure'.
> > > > When that's done..
> > > >
> > > > $> make
> > > > $> su
> > > > $> make install
> > > >
> > > > Now, go check for /dev/lirc -- make install should have created an
> > > > entry
> > > > like:
> > > > crw-r--r--    1 root     root      61,   0 Jan 18 23:05 /dev/lirc
> > > >
> > > > If it didn't, you can create it manually 'mknod /dev/lirc c 61 0'
> > > > but like
> > > I
> > > > said, it _should_ be there at this point.
> > > >
> > > > Next step is to edit /etc/modules.conf and add 'alias
> > > > char-major-61 lirc_i2c' and 'add below ivtv lirc_i2c'. This makes
> > > > the lirc modules load
> > > up
> > > > after the PVR-250 modules.
> > > >
> > > > You can either reboot to test, or just try 'modprobe lirc_i2c'. If
> > > > that doesn't give you any errors, then on to the next step.
> > > >
> > > > Before you start up lircd, you need to have a config file that
> > > > matches
> > > your
> > > > remote. You can use irrecord to make one, go download one from
> > > > lirc.org,
> > > or
> > > > just use the one I've attached for the hauppauge grey (*grin*).
> > > > Once
> > > that's
> > > > copied to the /etc directory, you can start lircd. You should see
> > > something
> > > > like the following in /var/log/lircd
> > > >
> > > > Feb 14 10:37:23 miniitx lircd 0.7.0pre2: lircd(hauppauge) ready
> > > >
> > > > Before moving on to the mythtv part, try running irw, and pointing
> > > > the remote toward the IR sensor and pushing buttons. You should
> > > > see the button names come up.
> > > >
> > > > If that looks okay, copy the hauppauge-lircrc-nativelirc file from
> > > > the mythtv-0.14/configfiles directory into the .mythtv directory
> > > > of the user that you run mythfrontend as.. Ie,
> > > >
> > > > $> cp /root/mythtv-0.14/configfiles/hauppauge-lircrc-nativelirc
> > > > /home/scott/.mythtv/lircrc
> > > >
> > > > You should be able to log in as that user (in my case 'scott') and
> > > > start
> > > up
> > > > mythfrontend and have the remote work.
> > > >
> > > > Hope this helps..
> > > > -Scott Rowe
> > > >
> > > > -----Original Message-----
> > > > From: mythtv-users-bounces at mythtv.org
> > > > [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Aleaxander
> > > > Sent: Friday, February 13, 2004 11:46 PM
> > > > To: Discussion about mythtv
> > > > Subject: Re: [mythtv-users] Re: Lirc and Mythtv (Hauppauge Gray
> > > > Remote)
> > > >
> > > > mythgnomer at rowelab.com wrote:
> > > >
> > > > > /var/log/lircd doesn't get created reliably unless you're using
> > > > > the init script.. (ie, If you're launching lircd manually, or
> > > > > from
> > > > > /etc/rc.local.)
> > > >
> > > > I'm too much of a newbie to understand how I'm launching lirc,
> > however...
> > > >
> > > > > Irw just not running usually means that lircd isn't running (ps
> > > > > -aux
> > > > > | grep lirc before running irw) or check /dev/lirc (should not
> > > > > | be a
> > > > > link to /dev/ttySx). If lircd is running, check for /dev/lircd.
> > > >
> > > > I've confirmed lirc is running (results of ps -aux | grep lirc):
> > > > root 7217 0.0 0.1 4532 584 pts/2    S   22:31   0:00 grep lirc
> > > >
> > > > and there is is nothing under /dev/lirc.  There is however a lircd
> > > > socket
> > > in
> > > > /dev/.
> > > >
> > > > > Now, I've had some of the same problems after doing something
> > > > > like apt-get install mplayer - because that would also install
> > > > > liblirc 0.6.6.. So if none of the above works, uninstall lirc,
> > > > > updatedb, locate lirc and see what cruft is left behind.. If you
> > > > > have something like liblirc_client.so left over, whack it and
> > > > > install
> > again.
> > > >
> > > > I did a search for liblirc* and the only results were:
> > > > liblirc_client.so.0
> > > > liblirc_client.so.0.0.0
> > > >
> > > > I uninstalled lirc using synaptic, then I moved them out of
> > > > /usr/lib/ (didn't seem like a good idea to delete them).
> > > >
> > > > Then I restarted, but I ran into this problem:
> > > > mythfrontend: error while loading shared libraries:
> liblirc_client.so.0:
> > > > cannot open shared object file: No such file or directory
> > > >
> > > > I originally installed lirc using apt-get, so I tried:
> > > > # apt get install lirc-kmdl-$MYKERNEL
> > > >
> > > > and received this error:
> > > > Couldn't find package lirc-kmdl-2.4.22-1.2163.nptl_32.rhfc1.at
> > > >
> > > > Trying to reinstall lirc via synaptic tells me that I have broken
> > > > packages (probably because they are a bit old at this point).  I
> > > > think I'm heading for a complete reinstall of Fedora Core 1 and a
> > > > reinstall per Jarod's
> > > guide,
> > > > but then the this machine (the frontend) will be running a
> > > > different
> > > version
> > > > of MythTV than the backend, and I seem to recall that this can
> > > > lead to problems, so I went with your next suggestion:
> > > >
> > > > > I'd suggest installing from source, with the 0.7.0pre2 CVS
> > > > > snapshot
> > > > > (http://lirc.sourceforge.net/software/snapshots/lirc-0.7.0pre2.t
> > > > > ar
> > > > > .b
> > > > > z2
> > > > > - it's pretty easy to install this one from source.)
> > > >
> > > > Downloaded this snapshot, extracted it, but haven't figured out
> > > > how to install yet (and in my newbie way, I managed to extract
> > > > everything to /home/mythtv/... quite a mess : ).  I'm getting
> > > > pretty sleepy at this
> > > point
> > > > (going on day 7 of 12 hour days at work... alas, the life of a
> > > > video game developer), so I'll probably have to continue working
> > > > on this tomorrow or the next day.  Thanks again for your
> > > > suggestions.  If I figure out how to fix this, I'll of course let
> > > > the list know in case anyone else (read total
> > > > newbie) runs into the same problem.
> > > >
> > > > Thanks,
> > > >
> > > > -Alex
> > > >
> > >
> > >
> > > --------------------------------------------------------------------
> > > --
> > > ----
> > --
> > > ----
> > >
> > >
> > > _______________________________________________
> > > mythtv-users mailing list
> > > mythtv-users at mythtv.org
> > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > >
> > > _______________________________________________
> > > mythtv-users mailing list
> > > mythtv-users at mythtv.org
> > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > >
> > >
> >
> >
> > ----------------------------------------------------------------------
> > ----
> --
> > ----
> >
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/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