Main > Linux

LEDSpicer - Arcade LED Control and Animation software for linux

<< < (5/6) > >>

Substring:
No hurry for configure.ac, it's patched for now on my side until you make a new release.

And thank you for the tips, at least I'll be able to validate that the installation went fine ! I'll give you the conclusion of all that ;)

Substring:
So, ledspicer is packaged, I think all files are now in the good place. The daemon complains with

--- Code: ---Program terminated by error: Unable to read the file /usr/share/ledspicer/.xml Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/share/ledspicer/.xml
--- End code ---
Ok, I guess it's not configured the right way. Would you mind giving me the steps so I can test in dry_run mode ?

meduza:
that is the colors file most likely, use one of the config files from here

beernut:
Thanks for this!  It is just what I needed to get my Q*Bert knocker working with groovymame and Ultimarc's PacDrive.

It was somewhat confusing on how to set it up since I didn't need any of the animation or color stuff but I finally figured it out.  In case anyone else wants to save some effort here is my ledspicer.conf:

--- Code: ---<?xml version="1.0" encoding="UTF-8"?>
<LEDSpicer
        version="1.0"
        type="Configuration"
        fps="15"
        port="16161"
        colors="basicColors"
        logLevel="Info"
        userId="1000"
        groupId="1000"
>
  <devices>
    <device
        name="UltimarcPacDrive"
        boardId="1"
        >
      <element
          name="KNOCKER_0"
          led="1"
          />
  </device>
  </devices>
   <layout
        defaultProfile="default"
        >
     <group name="knocker">
       <element name="KNOCKER_0"/>
     </group>
   </layout>
</LEDSpicer>

--- End code ---
And my default.xml profile (in /usr/local/share/ledspicer/profiles)

--- Code: ---<?xml version="1.0" encoding="UTF-8"?>
<LEDSpicer
        version="1.0"
        type="Profile"
        backgroundColor="Black"
        >
  <inputs>
    <input name="Mame"/>
  </inputs>
</LEDSpicer>

--- End code ---
and my Mame.xml input (in /usr/local/share/ledspicer/inputs)

--- Code: ---<?xml version="1.0" encoding="UTF-8"?>
<LEDSpicer
    version="1.0"
    type="Input"
    name="Mame"
>
        <map
            type="Element"
            target="KNOCKER_0"
            trigger="knocker0"
            color="White"
            filter="Normal"
        />
</LEDSpicer>

--- End code ---

Note that even though you are not using colors you need to specify and install the basicColors.xml otherwise you will get a missing ".xml" error.

Anyway, thanks again.

Mark

meduza:
You did it perfectly Mark :applaud:, yes, on the pacdrive, White color will act as an ON, while Black will act as an OFF (actually any color that pass the changePoint value will act as an ON)
I will do the same with a pacdrive I just need the knocker

let me know if you need help setting something else, but looks like you are clever setting this up.   :cheers:

BTW, on the last version I added a colors file only for pacdrive users (only have two colors White and Black)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version