From mboxrd@z Thu Jan 1 00:00:00 1970 From: John J Foerch Subject: Re: [PATCH] gnu: Add ola. Date: Wed, 10 Aug 2016 16:24:33 -0400 Message-ID: <87oa505q4e.fsf@hecubus.retroj.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXa3Z-0007zV-BL for guix-devel@gnu.org; Wed, 10 Aug 2016 16:24:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXa3V-0006BK-1P for guix-devel@gnu.org; Wed, 10 Aug 2016 16:24:52 -0400 Received: from [195.159.176.226] (port=35119 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXa3U-0006B0-QG for guix-devel@gnu.org; Wed, 10 Aug 2016 16:24:48 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bXa3N-0004tO-Am for guix-devel@gnu.org; Wed, 10 Aug 2016 22:24:41 +0200 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org rennes@openmailbox.org writes: > John, > >> Thank you so much for doing this. If 'make check' succeeds, those are >> the main tests, but to check installation, I would look for the >> following programs being installed: >> >> ola ola_e131 ola_plugin_state ola_rdm_set >> ola_set_priority ola_trigger ola_uni_name ola_artnet >> ola_dmxconsole ola_patch ola_rdm_discover >> ola_recorder >> ola_streaming_client ola_uni_info ola_uni_stats olad >> ola_dmxmonitor ola_plugin_info ola_rdm_get ola_set_dmx >> ola_timecode ola_uni_merge ola_usbpro >> ola_dev_info >> > > I see only the following programs: > > ola_artnet ola_plugin_state ola_set_priority > ola_uni_name > olad ola_rdm_discover ola_streaming_client > ola_uni_stats > ola_dev_info ola_rdm_get ola_timecode > ola_usbpro > ola_e131 ola_rdm_set ola_trigger > ola_patch ola_recorder ola_uni_info > ola_plugin_info ola_set_dmx ola_uni_merge > That seems fine. I don't know what every single one of them does, but all of the main ones are present. > >> These are the programs installed by the Debian ola package, and I don't >> know what packaging options might have affected which were installed, >> but the list should be more or less the same. >> >> To start the ola daemon and generate a config: >> >> olad -c ~/my-ola > > when the command is run, it displays message: > > $ olad -c ~/my-ola > > common/io/IOUtils.cpp:39: open(/dev/dmx0): No such file or directory > plugins/opendmx/OpenDmxPlugin.cpp:80: Could not open /dev/dmx0 No such > file or directory > common/network/IPV4Address.cpp:89: Could not convert address 677966233 > common/io/IOUtils.cpp:39: open(/dev/kldmx0): No such file or directory > plugins/karate/KaratePlugin.cpp:79: Could not open /dev/kldmx0 No such > file or directory > The ones complaining about missing /dev entries are nothing to worry about - those are plugins just looking for hardware that isn't there. They can be disabled in files in ~/my-ola, but by default, it will search for every kind of device. The one that I don't know the meaning of is the IPV4Address.cpp:89 error. I will ask about that. > > >> This should start a web service on port 9090, so you can point a web >> browser to localhost:9090 and see if anything comes up. > > the service is not responding. Any ideas? > > Thanks. According to this page, http support is an optional build option. I wasn't aware of that, but it would be convenient to enable. https://www.openlighting.org/ola/getting-started/using-ola/#How_to_setup_an_interface To enable it, it needs libmicrohttpd. It looks like guix has a package for that - nice! Thank you, -- John Foerch