Honva;324418 Wrote:
> I am having touble with the PowerCenter plugin. I installed the
> PowerCenter plugin and entered the X10 codes in the advance page. I am
> able to see the display of those devices on the SB3. However, when I
> press play or pause, there is no command sent to turn those devices on
> or off.
>
> ...
>
> When I run command in a shell, br controls the device fine. For
> example, when I run "/usr/bin/br B10 on" or "/usr/bin/br
> --port=/dev/ttyS0 B10 on", the light turns on right the way.
OK, that's great. Those command line args look a little different than
those that PowerCenter expects to use, but at least the serial port &
firecracker are working.
> I am also getting the following error messages on SC log. Don't know
> why it complained about /dev/ttyS0 does not exist.
>
> [08-07-30 20:19:27.3905] Plugins::PowerCenter::Plugin::initPrefs (512)
> bottlerocket port "/dev/ttyS0" does not exist or is not usable
> [08-07-30 20:19:27.3913] Plugins::PowerCenter::Plugin::testPrefs (492)
> bottlerocket port "/dev/ttyS0" does not exist or is not usable
>
It's a permissions problem. Try
Code:
--------------------
sudo chmod a+rw /dev/ttyS0
--------------------
If that fixes it, then it's just permissions. If it doesn't, I'd also
try changing the 'br' command to
"/usr/share/squeezecenter/Plugins/PowerCenter/bin/br" (or whatever the
path is on your system).
A better fix than that 'chmod a+rw' is probably something like I did in
my /etc/rc.local, so the device perms are set properly after every
reboot:
Code:
--------------------
# give Firecracker device to SlimServer
/bin/chown slimserver /dev/ttyS0
--------------------
Double-check that username; for SC7 it might be something like
'squeezecenter'.
-Peter
--
peterw
http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver ContextMenu FuzzyTime PlayLog
PowerCenter/BottleRocket
SaverSwitcher SettingsManager 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=50441
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins