From: Diego G. Iastrubni <iastrubn@ac...> - 2002-01-11 20:17:28
if you run xmms as a non root user, lirc-plugin will not be able to read the
chmod 666 /dev/lirc*
Should be on the docs, but I think it is not.
I also wrote a script for starting and killing any program.
On ~/.lircrc you can make some button run this script,
and when you press that buton for the first time, it opens a program,
and the second it closes it. Very handfull for xmms, and xawtv.
here is the script: (named run-kill)
# 19-7-2001 dgi_il@...
# a script to run and close an application
if [ "$1" = "" ] ; then
echo kill-run [program-name]
echo Use to run and kill a program from the console.
if [ "$PROG_PID" = "" ] ; then
# program not running, run it
$PROGRAM_TO_RUN >& /dev/null &
# the program is running, kill it
if [ "$2" = "" ] ; then
# the user did not spcified a close command, get PID
and kill it
kill $PROG_PID >& /dev/null &
# use user command to close the application
exec $2 $3 $4 $5 $6 $7 $8 $9 >& /dev/null &
run-kill xawtv xawtv-remote exit
the second example, will run xawtv and when executed the second time it will
close the program will xawtv-remote. (better then killing it).
-- From: "Mercury" <xmercury@...>
Subject: LIRC and xmms
Date: Wed, 2 Jan 2002 14:03:59 -0500
Ok I got LIRC working. I tested it and it recognizes the keys. Works fine.
Then I have xmms I can play mp3's all that good shit. The LIRC plugin for
xmms comes with xmms. So when I tryed to configure it. It wouldnt work. I
tryed serveral times. It is like it cant communicate with lirc. Any
Lazlo's Chinese Relativity Axiom:
No matter how great your triumphs or how tragic your defeats --
approximately one billion Chinese couldn't care less.
Diego G. Iastrubni "iastrubn@..." wrote:
> if you run xmms as a non root user, lirc-plugin will not be able to
> read the proper devices.
> (as root:)
> chmod 666 /dev/lirc*
Making /dev/lirc world-writable is a major security hole. If you are using
lirc_serial, lirc_sir or lirc_parallel any user can make your system
unusable as these drivers clear interrupts and they don't (and can't) make
any plausibility checks on the input.
> Should be on the docs, but I think it is not.
It's both in the docs and the FAQ.