2013-07-31, 23:33
I don't know what I'm doing wrong here. I've got the lights hooked up correctly and all the other parts of the Adalight tutorial correct, because Adalight works on the desktop.
I'm also pretty sure I've got the config correct, because boblight starts up correctly, blinking in every color once etc. and XBMC succesfully connects. However when I try to play something nothing happens.
Also, when I look in xbmc.log I don't see any boblight entries.
This is (a part of) my boblight.conf:
#[global]
interface 127.0.0.1
port 19333
[device]
name ambilight
output /dev/com3
channels 768
type momo
interval 20000
prefix 5A B0
postfix A5
rate 500000
[color]
name red
rgb FF0000
gamma 1.0
adjust 1.0
blacklevel 0.0
[color]
name green
rgb 00FF00
gamma 1.0
adjust 1.0
blacklevel 0.0
[color]
name blue
rgb 0000FF
gamma 1.0
adjust 1.0
blacklevel 0.0
[light]
name Top1
color red ambilight 1
color green ambilight 2
color blue ambilight 3
hscan 4 8
vscan 0 20
[light]
name Top2
color red ambilight 4
color green ambilight 5
color blue ambilight 6
hscan 8 12
vscan 0 20
[light]
name Top3
color red ambilight 7
color green ambilight 8
color blue ambilight 9
hscan 12 16
vscan 0 20
[light]
name Top4
color red ambilight 10
color green ambilight 11
color blue ambilight 12
hscan 16 20
vscan 0 20
[light]
name Top5
color red ambilight 13
color green ambilight 14
color blue ambilight 15
hscan 20 25
vscan 0 20
etcetera.
This is the output of boblightd.exe when i start it up:
C:\boblightd>C:\boblightd\boblightd.exe -c c:\boblightd\boblight.conf -f
ERROR: unable to make directory /home/media/.boblight/:
No such file or directory
(PrintFlags) starting /boblightd/boblightd -c c:\boblightd\b
blight.conf -f
(CConfig::LoadConfigFromFile) opening c:\boblightd\boblight.conf
cygwin warning:
MS-DOS style path detected: c:\boblightd\boblight.conf
Preferred POSIX equivalent is: /boblightd/boblight.conf
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.ht...-pathnames
(CConfig::CheckConfig) checking config lines
(CConfig::CheckConfig) config lines valid
(CConfig::BuildConfig) building config
(CConfig::BuildConfig) built config successfully
(main) starting devices
(CClientsHandler:rocess) opening listening socket on *:19333
(CDevice:rocess) ambilight: starting with output "/dev/com3"
(CDevice:rocess) ambilight: setting up
(CDevice:rocess) ambilight: setup succeeded
(CClientsHandler:rocess) 127.0.0.1:50095 connected
(CClientsHandler:arseMessage) 127.0.0.1:50095 said hello
(CClientsHandler:arseSet) 127.0.0.1:50095 priority set to 128
(CClientsHandler:rocess) 192.168.1.76:41444 connected
(CClientsHandler:arseMessage) 192.168.1.76:41444 said hello
(CClientsHandler:arseSet) 192.168.1.76:41444 priority set to 128
(CClientsHandler:arseSet) 192.168.1.76:41444 priority set to 255
the 192.168.1.76 connecting is my raspberry pi running raspbmc btw. I tried using that as a client too, with no success.
I'm also pretty sure I've got the config correct, because boblight starts up correctly, blinking in every color once etc. and XBMC succesfully connects. However when I try to play something nothing happens.
Also, when I look in xbmc.log I don't see any boblight entries.
This is (a part of) my boblight.conf:
#[global]
interface 127.0.0.1
port 19333
[device]
name ambilight
output /dev/com3
channels 768
type momo
interval 20000
prefix 5A B0
postfix A5
rate 500000
[color]
name red
rgb FF0000
gamma 1.0
adjust 1.0
blacklevel 0.0
[color]
name green
rgb 00FF00
gamma 1.0
adjust 1.0
blacklevel 0.0
[color]
name blue
rgb 0000FF
gamma 1.0
adjust 1.0
blacklevel 0.0
[light]
name Top1
color red ambilight 1
color green ambilight 2
color blue ambilight 3
hscan 4 8
vscan 0 20
[light]
name Top2
color red ambilight 4
color green ambilight 5
color blue ambilight 6
hscan 8 12
vscan 0 20
[light]
name Top3
color red ambilight 7
color green ambilight 8
color blue ambilight 9
hscan 12 16
vscan 0 20
[light]
name Top4
color red ambilight 10
color green ambilight 11
color blue ambilight 12
hscan 16 20
vscan 0 20
[light]
name Top5
color red ambilight 13
color green ambilight 14
color blue ambilight 15
hscan 20 25
vscan 0 20
etcetera.
This is the output of boblightd.exe when i start it up:
C:\boblightd>C:\boblightd\boblightd.exe -c c:\boblightd\boblight.conf -f
ERROR: unable to make directory /home/media/.boblight/:
No such file or directory
(PrintFlags) starting /boblightd/boblightd -c c:\boblightd\b
blight.conf -f
(CConfig::LoadConfigFromFile) opening c:\boblightd\boblight.conf
cygwin warning:
MS-DOS style path detected: c:\boblightd\boblight.conf
Preferred POSIX equivalent is: /boblightd/boblight.conf
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.ht...-pathnames
(CConfig::CheckConfig) checking config lines
(CConfig::CheckConfig) config lines valid
(CConfig::BuildConfig) building config
(CConfig::BuildConfig) built config successfully
(main) starting devices
(CClientsHandler:rocess) opening listening socket on *:19333
(CDevice:rocess) ambilight: starting with output "/dev/com3"
(CDevice:rocess) ambilight: setting up
(CDevice:rocess) ambilight: setup succeeded
(CClientsHandler:rocess) 127.0.0.1:50095 connected
(CClientsHandler:arseMessage) 127.0.0.1:50095 said hello
(CClientsHandler:arseSet) 127.0.0.1:50095 priority set to 128
(CClientsHandler:rocess) 192.168.1.76:41444 connected
(CClientsHandler:arseMessage) 192.168.1.76:41444 said hello
(CClientsHandler:arseSet) 192.168.1.76:41444 priority set to 128
(CClientsHandler:arseSet) 192.168.1.76:41444 priority set to 255
the 192.168.1.76 connecting is my raspberry pi running raspbmc btw. I tried using that as a client too, with no success.