2012-03-29, 16:18
(2012-03-29, 07:16)FocalFury Wrote: OK SO I HAVE PROGRESS!!!boblightd wants to write a logfile in the home directory from the user it runs as, but it can't make the file, nothing to worry about.
ALL LED STRANDS light up red blue green denoting a successful upload of the arduino code.
I started from scratch...new XBMC install....new boblight download...everything
however I'm missing something probably small and I can't remember how to fix this part....
when I start boblightd I get this Error....however it does connect successfully it says
ERROR: unable to make directory /home/Dan/.boblight/:
No such file or directory exists
after that though it connects and goes on its merry way....when I start XBMC it says it is succesfully connected to boblight but there is no light output that I would expect...
ideas
Thank you all for your continued help, I've spent more time on this than I feel I should have had to and I'm really thankful for the help that has been provided
screen cap of the error
http://dl.dropbox.com/u/1545535/IMG_20120329_005859.jpg
(2012-03-29, 11:36)MrHenky Wrote: I'm trying to get the boblight windows version working but I'm struggeling with problems that I can't identify. I have an Adalight setup (50leds, Arduino Uno) like some other people in this forum. It works pretty well with that Lightpack software but those who are able to run boblight prefer boblight. I want that too.
In my case, the com-port seems to be correct but I don't know if I should ignore the first error message or not. Using /dev/ttyS0 isn't working either. Same error message. If I change the com-port I'll get "No such file or directory", so it's not the port. It's really com1 btw.
Any of the boblight windows users here, who can give me some help?
Here is my boblight.conf setup:
Code:#config file for adalight from http://www.ladyada.net/make/adalight/
[global]
interface 127.0.0.1
port 19333
[device]
name ambilight
type momo
output /dev/com1
channels 150
prefix 41 64 61 00 18 4D
interval 10000
rate 115200
debug off #turn this on to see what it's doing with the serial port
delayafteropen 1000000
[color]
name red
rgb FF0000
[color]
name green
rgb 00FF00
[color]
name blue
rgb 0000FF
[light]
name 1
color red ambilight 1
color green ambilight 2
color blue ambilight 3
hscan 41.2 47.08
vscan 90.91 100
and so on...
Windows command shell
Code:C:\Boblight>boblightd -c boblight.conf
ERROR: unable to make directory /home/Henning/.boblight/:
No such file or directory
(PrintFlags) starting boblightd -c boblight.conf
(CConfig::LoadConfigFromFile) opening boblight.conf
(CConfig::CheckConfig) checking config lines
(CConfig::CheckConfig) config lines valid
(CConfig::BuildConfig) building config
(CConfig::BuildConfig) built config successfully
(main) starting devices
(CClientsHandler::Process) opening listening socket on 127.0.0.1:19333
(CDevice::Process) ambilight: starting with output "/dev/com1"
(CDevice::Process) ambilight: setting up
(CDeviceRS232::SetupDevice) ERROR: ambilight: /dev/com1: Invalid argument
(CDevice::Process) ERROR: ambilight: setting up failed, retrying in 10 seconds
(SignalHandler) caught SIGINT *Comment: I've pressed CTRL+C to stop everything
(CClientsHandler::GetReadableFd)select() Interrupted system call
(main) signaling devices to stop
(CClientsHandler::Cleanup) disconnecting clients
(CClientsHandler::Cleanup) closing listening socket
(CClientsHandler::Cleanup) clients handler stopped
(main) waiting for devices to stop
(CDevice::Process) ambilight: closed
(CDevice::Process) ambilight: stopped
(main) exiting
I've seen that before, apparently if you use a different program first to open the com port, and then open it with boblightd it works ok, I suspect it's a problem in cygwin.