LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-27-2005, 03:50 PM   #1
amine
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
pb with lirc and xmms


I've successfully installed and configured lirc 0.7.0 on my suse 9.2 distro. All pressed buttons on the remote are registered by irw. I have created a .lircrc file with the appropriate entries. The lirc plugin for xmms is enabled. I launch irexec with the .lircrc path as parameter.

However, I cannot seem to get xmms do obey the remote control commands.

Has anyone experienced such issues? Any suggestions as to what I am missing?

Thanks in advance.

-a.
 
Old 03-27-2005, 05:28 PM   #2
lixy
Member
 
Registered: Apr 2004
Posts: 120

Rep: Reputation: 15
Salam,
Well, congratulations! I've been playing around with SUSE 9.2 for a week to setup lirc without much success. I had to install Debian to get it working. Would you please post how you compiled lirc on SUSE.
As to your problem with XMMS, are you sure it's the actual lirc plugin you enabled ? (there's another plugin called IRman that confused me for a bit)
XMMS has command line options which you could directly use to do pretty much everything you want. Just issue them thru irexec (xmms -p to start playback, xmms -s to stop it ... Look at the manual !)
If you wanna get your hand dirty you may even try irxevent which emulates keyboard commands to specific windows.
Of course the best way is to get XMMS plugin to work, but I can't help on that. Though if I were you, i'd uninstall XMMS and install it back just to make sure.
 
Old 03-28-2005, 03:23 PM   #3
amine
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Hey Lixy, thanks for your input

I too had errors while compiling lirc. It complained about a missing scripts/basic/fixdep file or directory. I looked around for a few minutes but didn't want to spend all day on this. A quick search at RPMSeek revealed the existence of a lirc rpm. That worked flawlessly (well almost .

As for my issue with the xmms plugin, I tried the solution you suggested. I added the following entries in ~/.lircrc but no go. I also tried running commands other than xmms using the same method but no luck there either.

Code:
begin
 remote = PackBell
 button = ENTER
 prog = irexec
 repeat = 0
 config = xmms -p
end

begin
 remote = PackBell
 button = DISPLAY
 prog = irexec
 repeat = 0
 config = xmms -s
end


Initially I had the following entries using the xmms lirc plugin.

Code:
begin
 remote = PackBell
 button = ENTER
 prog = xmms
 repeat = 0
 config = PLAY
end

begin
 remote = PackBell
 button = DISPLAY
 prog = xmms
 repeat = 0
 config = STOP
end
So I'm thinking that it must irexec that's not working properly. It wouldn't execute anything (not just xmms).

Is there a way to run irexec in debug mode? I couldn't find anything about that anywhere in the docs.

Peace!

-a.
 
Old 03-30-2005, 06:39 AM   #4
lixy
Member
 
Registered: Apr 2004
Posts: 120

Rep: Reputation: 15
Makes a bit more sense
Did you use SUSE's rpm? If so, the Lirc guys make it clear that you should not use a distro-modified kernel. SUSE's Lirc is designed to provide remote control over the nerwork (despite the "ir")
I'm amazed irw works but not irexec! Sorry! No clue.

Best luck,
 
Old 04-04-2005, 08:58 AM   #5
lixy
Member
 
Registered: Apr 2004
Posts: 120

Rep: Reputation: 15
From the lirc README.debian:

Quote:
If you need irxevent or xmode2 they can be found in lirc-x package. And if you
need smode2 it can be found in lirc-svga package. This split has been done to
prevent dependencies on xlibs and svgalib for the main lirc package.
I guess you just need to install lirc-x (if it ever exists for SUSE).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MDK 10.1 + lirc + xmms issues thas Mandriva 0 12-23-2004 11:07 AM
LIRC and 2.6.3 hoborocks Linux - Hardware 3 08-14-2004 10:56 AM
Lirc support, someone knows? bruno buys Linux - Software 0 04-12-2004 07:40 PM
red hat 9 xmms and nvidia driver-xmms ronss Red Hat 3 09-26-2003 08:06 AM
How to install lirc? Timon79 Linux - Hardware 1 07-28-2003 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration