Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

packaging lirc or "nightmare on mythtv street" (was: chkconfig lirc failing any suggestions)

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


Axel.Thimm at physik

Nov 15, 2003, 3:31 AM

Post #1 of 3 (607 views)
Permalink
packaging lirc or "nightmare on mythtv street" (was: chkconfig lirc failing any suggestions)

On Fri, Nov 14, 2003 at 06:44:53PM -0800, Dan wrote:
> following Jardods great doc, I have been able to get most of MythTV working (except for lirc, and tvout...)
>
> doing the following seams to have worked..
> # /sbin/depmod -a
> # /sbin/modprobe lirc_dev
> # /sbin/modprobe lirc_i2c
>
> but when executing
> # /sbin/chkconfig lircd on
>
> I simply get..
> error reading information on service lircd: No such file or directory

On Fri, Nov 14, 2003 at 07:43:12PM -0800, Dan wrote:
> hmm, now it seems there is no...um../usr/bin/irw to execute??
>
> doing..
> ]# rpm -qa | grep lirc
> lirc-lib-0.7.0-pre2_16.rh9.at
> lirc-kmdl-2.4.20-20_29.rh9.at-0.7.0-pre2_16.rh9.at
>
>
> thoughts??

You only have lirc-lib and lirc-kmdl-* installed. For lircd/irw etc
you need lirc itself, e.g.

apt-get install lirc

But the mythtv rpms are now build with native lirc support, which
drops dependencies on irxevents for instance.

I am not a lirc expert (TM), in fact I have never used or even seen
any lirc device, so it is difficult for me to debug. Perhaps there is
still need for the lirc daemon (I thought liblirc_client & kmdls are
all myth needs), so I should put a stronger dependency back to mythtv
(or split off the lircd into its own package).

Any input is welcome.

There is also another very old problem with lirc, where building the
built lirc daemon is always associated with a device
(e.g. Hauppauge). In fact that was my main motivation to go native
lirc, to be able to work around this.

People installing lirc for different remotes have a good insight into
the common/different components of lirc, so please advise! :)

In a nutshell:
o lirc kmdls seem to go well ever since (because each kmdl has a
different name, therfore no overlaps).

o lircd seems to have to be rebuild for each driver, beacause the
driver is hardcoded in the deamon. A solution could be to build
lircd-<driver> daemons and let the user symlink lircd to his version
(ugly!).

o what components does mythtv with native lirc really need?
liblirc_client & kmdls are known, what else, lircd?

o packaging lirc is a nightmare ...
--
Axel.Thimm [at] physik


gregory.long1 at comcast

Nov 15, 2003, 4:23 AM

Post #2 of 3 (605 views)
Permalink
Re: packaging lirc or "nightmare on mythtv street" (was:chkconfig lirc failing any suggestions) [In reply to]

I agree on the problem, I did a "bare-metal" install a couple of days ago
with kernel and packages from Axels site and my lirc did not work. I have a
WinTV 401 with remote and had no irx commands. I installed lirc and had no
problems. The way I look at it, I use irxevent to pass the buttons to myth.
I think irxevent depends on lircd. If mythtv supports native lirc, I would
think it has to have some kind of IR deamon to catch and test the buttons.
I would also like to see how to setup the onboard lirc.

Greg

----- Original Message -----
From: "Axel Thimm" <Axel.Thimm [at] physik>
To: "Discussion about mythtv" <mythtv-users [at] mythtv>
Sent: Saturday, November 15, 2003 4:31 AM
Subject: [mythtv-users] packaging lirc or "nightmare on mythtv street"
(was:chkconfig lirc failing any suggestions)


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jcw at wilsonet

Nov 16, 2003, 9:39 PM

Post #3 of 3 (601 views)
Permalink
Re: packaging lirc or "nightmare on mythtv street" (was:chkconfig lirc failing any suggestions) [In reply to]

On Nov 15, 2003, at 03:23, greg wrote:

> I agree on the problem, I did a "bare-metal" install a couple of days
> ago
> with kernel and packages from Axels site and my lirc did not work. I
> have a
> WinTV 401 with remote and had no irx commands. I installed lirc and
> had no
> problems. The way I look at it, I use irxevent to pass the buttons to
> myth.
> I think irxevent depends on lircd. If mythtv supports native lirc, I
> would
> think it has to have some kind of IR deamon to catch and test the
> buttons.
> I would also like to see how to setup the onboard lirc.

I'm a dumb-ass and somehow removed the line "apt-get install lirc" from
the guide (still haven't figured out how that happened). Ergo, no irw,
irxevent, etc. Fixed in the latest guide rev. The guide isn't yet set
up for myth native lirc, but the next major release will be. This
stupid job thing keeps getting in the way of my free time... ;p

--
Jarod C. Wilson, RHCE

Got a question? Read this first...
http://catb.org/~esr/faqs/smart-questions.html
MythTV, Red Hat Linux 9 & ATrpms documentation:
http://pvrhw.goldfish.org/tiki-page.php?pageName=rh9pvr250
MythTV Searchable Mailing List Archive
http://www.gossamer-threads.com/archive/MythTV_C2/
Attachments: PGP.sig (0.18 KB)

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.