Eric, have you installed 'br' as a suid binary perchance?

Here's the relevant Perl code:


Code:
--------------------
    if ( ((! -e $port) || (! -w $port)) && ($^O =~ /linux/i) ) {
--------------------


On my Ubuntu system this seems to work fine -- running just this
snippet of Perl, /dev/ttyS0 checks out OK because I'm in the dialout
group, but /dev/console fails the test because only root can write to
it.

The plugin only checks the prefs for the power on/off commands (it
ought to check every time), so it refuses to try powering your amp for
those. BR will try using 'br' for deliberate commands from the IR
remote, so if you had /usr/bin/br installed SUID root (or some other
user with write perms to /dev/ttyS0), it would work there.

If /dev/ttyS0 is only used for your firecracker, I'd suggest making
your system give that device to your SC7 user.


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade
StatusFirst SyncOptions VolumeLock
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=41482

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to