Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge mplayer WITH lirc-support
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
minski
n00b
n00b


Joined: 16 Dec 2002
Posts: 10
Location: munich, germany

PostPosted: Mon Dec 16, 2002 1:19 pm    Post subject: emerge mplayer WITH lirc-support Reply with quote

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
View user's profile Send private message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 425
Location: Sweden

PostPosted: Mon Dec 16, 2002 2:23 pm    Post subject: Reply with quote

i think mplayer looks for /dev/lirc during ./configure
Back to top
View user's profile Send private message
tojo
n00b
n00b


Joined: 09 Dec 2002
Posts: 72

PostPosted: Mon Dec 16, 2002 3:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
tojo
n00b
n00b


Joined: 09 Dec 2002
Posts: 72

PostPosted: Mon Dec 16, 2002 3:58 pm    Post subject: Reply with quote

more deeper on this.. I looked mplayer configure script and there is problem with lirc support test:

Code:
test -c /dev/lirc


/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
View user's profile Send private message
minski
n00b
n00b


Joined: 16 Dec 2002
Posts: 10
Location: munich, germany

PostPosted: Mon Dec 16, 2002 7:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 425
Location: Sweden

PostPosted: Mon Dec 16, 2002 7:24 pm    Post subject: Reply with quote

what about prog = mplayer?
Back to top
View user's profile Send private message
minski
n00b
n00b


Joined: 16 Dec 2002
Posts: 10
Location: munich, germany

PostPosted: Mon Dec 16, 2002 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 425
Location: Sweden

PostPosted: Mon Dec 16, 2002 7:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
minski
n00b
n00b


Joined: 16 Dec 2002
Posts: 10
Location: munich, germany

PostPosted: Mon Dec 16, 2002 8:26 pm    Post subject: Reply with quote

thanks! :)
they didn't only change the prog = value
they also changed the commands.
but now it works :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum