View previous topic :: View next topic |
Author |
Message |
minski n00b
Joined: 16 Dec 2002 Posts: 10 Location: munich, germany
|
Posted: Mon Dec 16, 2002 1:19 pm Post subject: emerge mplayer WITH lirc-support |
|
|
hi!
i got a hauppauge wintv-card with an ir-remote. in order to get it working, i had to install lirc manually. emerge lirc didn't work for me; just don't know why, but it works when i install it manually. i already got xawtv and xmms working just fine WITH lirc-support.
now, i try to emerge mplayer wiht lirc-support, and it always says:
"Checking for lirc ... no"
what exactly does the configure script do, to check wether lirc is installed or not? my devices are present und the lircd-daemon is running; so what else could it be?
do i have to compile mplayer also manually to get lirc-support?
or is it enough to modify the ebuild a little?
hope u guys can help me. |
|
Back to top |
|
|
hrnick Guru
Joined: 31 Aug 2002 Posts: 425 Location: Sweden
|
Posted: Mon Dec 16, 2002 2:23 pm Post subject: |
|
|
i think mplayer looks for /dev/lirc during ./configure |
|
Back to top |
|
|
tojo n00b
Joined: 09 Dec 2002 Posts: 72
|
Posted: Mon Dec 16, 2002 3:42 pm Post subject: |
|
|
Same problem here.. I have /dev/lirc but when emerging mplayer it doesn't enable lirc support, it doesn't found that lirc is installed. Very strange.. |
|
Back to top |
|
|
tojo n00b
Joined: 09 Dec 2002 Posts: 72
|
Posted: Mon Dec 16, 2002 3:58 pm Post subject: |
|
|
more deeper on this.. I looked mplayer configure script and there is problem with lirc support test:
/dev/lirc is directory in gentoo system and not character file, so this gives allways failure. So, what is a right way to fix this? Patch the sources, reconfigure lirc(and devfs), or just put --enable-lirc to .ebuild's ./configure section?? |
|
Back to top |
|
|
minski n00b
Joined: 16 Dec 2002 Posts: 10 Location: munich, germany
|
Posted: Mon Dec 16, 2002 7:19 pm Post subject: |
|
|
i just put an "--enable-lirc" into the .ebuild.file.
now it says "Checking for lirc ... yes"
and on mplayer startup it says:
"Setting up lirc support..."
i defined some actions in my ~/.lircrc for mplayer, but nothing happens.
i followed the rules like they are described in the mplayer-doc.
begin
prog = mplayer_lirc
button = VOL+
config = INCVOL
end
begin
prog = mplayer_lirc
button = VOL-
config = DECVOL
end
begin
prog = mplayer_lirc
button = MINIMIZE
config = QUIT
end
any ideas? |
|
Back to top |
|
|
hrnick Guru
Joined: 31 Aug 2002 Posts: 425 Location: Sweden
|
Posted: Mon Dec 16, 2002 7:24 pm Post subject: |
|
|
what about prog = mplayer? |
|
Back to top |
|
|
minski n00b
Joined: 16 Dec 2002 Posts: 10 Location: munich, germany
|
Posted: Mon Dec 16, 2002 7:30 pm Post subject: |
|
|
it's the same with "mplayer" instead of "mplayer_lirc".
doc:
"The application name for MPlayer is - oh wonder - mplayer_lirc."
i did a "tail -f /var/log/lircd"
and it when i start mplayer it says
"Dec 16 20:25:53 <system> lircd 0.6.6: accepted new client on /dev/lircd"
and quit mplayer:
"Dec 16 20:26:10 <system> lircd 0.6.6: removed client"
hmmm.... |
|
Back to top |
|
|
hrnick Guru
Joined: 31 Aug 2002 Posts: 425 Location: Sweden
|
Posted: Mon Dec 16, 2002 7:36 pm Post subject: |
|
|
guess what! I've found another qoute:
Quote: | The application name for MPlayer is - oh wonder - mplayer. |
...found at http://www.mplayerhq.hu/DOCS/#lirc
I think they changed it some time ago |
|
Back to top |
|
|
minski n00b
Joined: 16 Dec 2002 Posts: 10 Location: munich, germany
|
Posted: Mon Dec 16, 2002 8:26 pm Post subject: |
|
|
thanks!
they didn't only change the prog = value
they also changed the commands.
but now it works |
|
Back to top |
|
|
|