--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
| Hostname | raspberrypi |
| Primary IP | 0.0.0.0 |
| Primary Broadcast Address | 0.0.0.0 |
| Primary MAC Address | 00:00:00:00:00:00 |
| Version | 0.9.1 |
| Started | Tue Sep 12 13:37:41 2017 |
/usr/bin/ld: cannot find -lprotobuf
collect2: error: ld returned 1 exit status
Would this be enough of the log, it is failing to find the device name for the DMX header i think
PluginManager.cpp:112: Started USB
PluginManager.cpp:108: Trying to start Pathport
PosixInterfacePicker.cpp:157: skipping lo because it's a loopback
PosixInterfacePicker.cpp:236: Found: wlan0, 192.168.0.10, b8:27:eb:de:dc:7b
InterfacePicker.cpp:92: Using interface wlan0 (192.168.0.10)
Socket.cpp:143: Binding to 0.0.0.0:3792
DeviceManager.cpp:116: Installed device: Pathport [192.168.0.10]:9-1
PluginManager.cpp:112: Started Pathport
PluginManager.cpp:108: Trying to start UART native DMX
UartDmxPlugin.cpp:67: Trying to open UART device /dev/ttyACM0
IOUtils.cpp:38: Failed to open /dev/ttyACM0: No such file or directory
UartDmxPlugin.cpp:70: Could not open /dev/ttyACM0 No such file or directory
PluginManager.cpp:112: Started UART native DMX
SelectPoller.cpp:160: ss process time was 0.000015
SandNetDevice.cpp:151: Sending Sandnet advertisement
SelectPoller.cpp:160: ss process time was 0.000015
HTTPServer.cpp:566: Adding 35 as a new socket
SelectPoller.cpp:160: ss process time was 0.001765
SelectPoller.cpp:160: ss process time was 0.000017
HTTPServer.cpp:566: Adding 36 as a new socket
SelectPoller.cpp:160: ss process time was 0.022573
RDMHTTPModule.cpp:834: Adding a new state entry for 1
RDMHTTPModule.cpp:677: Adding UID 7a70:ffffff00 to resolution queue
RDMHTTPModule.cpp:677: Adding UID 7a70:ffffff01 to resolution queue
RDMHTTPModule.cpp:677: Adding UID 7a70:ffffff02 to resolution queue
RDMHTTPModule.cpp:677: Adding UID 7a70:ffffff03 to resolution queue
RDMHTTPModule.cpp:677: Adding UID 7a70:ffffff04 to resolution queue
RDMHTTPModule.cpp:677: Adding UID 7a70:ffffff05 to resolution queue
RDMHTTPModule.cpp:735: sending manufacturer request for 7a70:ffffff00
Universe.cpp:437: Universe 1, RDM request to 7a70:ffffff00, SD: 0, CC 20, TN 0, PID 0x81, PDL: 0
SelectPoller.cpp:160: ss process time was 0.000017
SelectPoller.cpp:160: ss process time was 0.000018
SelectPoller.cpp:160: ss process time was 0.004168
pi@raspberrypi-zerow:~ $ ls -al /dev/ttyA*Hope this helps.
crw-rw---- 1 root dialout 204, 64 Sep 9 16:59 /dev/ttyAMA0
pi@raspberrypi-zerow:~ $ tail /boot/config.txt
enable_uart=1
# OLA DMX Output
dtoverlay=pi3-disable-bt
init_uart_clock=16000000
pi@raspberrypi-zerow:~ $ cat .ola/ola-uartdmx.conf
/dev/ttyAMA0-break = 100
/dev/ttyAMA0-malf = 100
device = /dev/ttyAMA0
enabled = true
Hey Arjan,
I have checked all of that and I have the same settings now but still no device showing.I stopped the initialised version of OLA on PI startup and started again using "olad -l 3" which starts ola fine and I receive the the dmx messages from api messages sent when I run a cpp example into the OLA Daemon so that part is working.It is not just that i cannot see any UART device coming up for me to select, do I have to have a mini to mini usb to connect between the pi?.
any other ideas on what I may be able to check here.
PluginManager.cpp:112: Started USB
PluginManager.cpp:108: Trying to start Pathport
PosixInterfacePicker.cpp:157: skipping lo because it's a loopback
PosixInterfacePicker.cpp:236: Found: wlan0, 192.168.0.10, b8:27:eb:de:dc:7b
InterfacePicker.cpp:92: Using interface wlan0 (192.168.0.10)
Socket.cpp:143: Binding to 0.0.0.0:3792
DeviceManager.cpp:116: Installed device: Pathport [192.168.0.10]:9-1
PluginManager.cpp:112: Started Pathport
PluginManager.cpp:108: Trying to start UART native DMX
UartDmxPlugin.cpp:67: Trying to open UART device /dev/ttyAMA0
UartWidget.cpp:68: Opening serial port /dev/ttyAMA0
UartWidget.cpp:74: Opened serial port /dev/ttyAMA0
UartWidget.cpp:177: Failed to set baud rate to 250k
UartDmxPlugin.cpp:82: Unable to setup device for output, device ignored /dev/ttyAMA0
PluginManager.cpp:112: Started UART native DMX
SelectPoller.cpp:160: ss process time was 0.000013
HTTPServer.cpp:566: Adding 35 as a new socket
SelectPoller.cpp:160: ss process time was 0.001835
SelectPoller.cpp:160: ss process time was 0.000017
SelectPoller.cpp:160: ss process time was 0.020874
SelectPoller.cpp:160: ss process time was 0.000017
SelectPoller.cpp:160: ss process time was 0.000092
SelectPoller.cpp:160: ss process time was 0.000236
SelectPoller.cpp:160: ss process time was 0.001951
UartDmxPlugin.cpp:67: Trying to open UART device /dev/ttyACM0
olad/PluginManager.cpp:195: Trying to start UART native DMX
plugins/uartdmx/UartDmxPlugin.cpp:67: Trying to open UART device /dev/ttyAMA0
plugins/uartdmx/UartWidget.cpp:70: Opening serial port /dev/ttyAMA0
plugins/uartdmx/UartWidget.cpp:76: Opened serial port /dev/ttyAMA0
common/io/ExtendedSerial.cpp:76: Port speeds for 25 are 250000 in and 250000 out
common/thread/Thread.cpp:194: Thread , policy SCHED_OTHER, priority 0
plugins/uartdmx/UartDmxPlugin.cpp:92: Started UartDmxDevice /dev/ttyAMA0
olad/plugin_api/DeviceManager.cpp:105: Installed device: UART native DMX:20-/dev/ttyAMA0
olad/PluginManager.cpp:200: Started UART native DMX
olad/Olad.cpp:94: OLA Daemon version 0.10.5
olad/OlaDaemon.cpp:121: Using configs in /home/pi/.ola
Hey Arjan,
I have checked all of that and I have the same settings now but still no device showing.
I stopped the initialised version of OLA on PI startup and started again using "olad -l 3" which starts ola fine and I receive the the dmx messages from api messages sent when I run a cpp example into the OLA Daemon so that part is working.
It is not just that i cannot see any UART device coming up for me to select, do I have to have a mini to mini usb to connect between the pi?.
any other ideas on what I may be able to check here.
It is not just that i cannot see any UART device coming up for me to select, do I have to have a mini to mini usb to connect between the pi?.
You are using the DMX USB board with the native UART configuration. When the attached Raspberry Pi Zero is running the USB Pro firmware, then you use this mini USB for the connection to the OLA server (running on a different host).
On Friday, September 15, 2017 at 2:45:15 PM UTC+1, Arjan van Vught wrote:
This is my current output and I can confirm that the changes made are all within the config:
| Config Location | /home/pi/.ola/ola-uartdmx.conf |
| Enabled in Config File | Yes |
| Active | Yes |
Olad.cpp:84: OLA Daemon version 0.9.1
OlaDaemon.cpp:114: Using configs in /home/pi/.ola
OlaServer.cpp:494: Updated PID definitions.
OlaServer.cpp:212: Server UID is 7a70:0a00a8c0
HTTPServer.cpp:463: HTTP Server started on port 9090
PluginManager.cpp:77: Skipping FTDI USB DMX because it was disabled
PluginManager.cpp:108: Trying to start ArtNet
DeviceManager.cpp:116: Installed device: ArtNet [192.168.0.10]:2-1
PluginManager.cpp:112: Started ArtNet
PluginManager.cpp:108: Trying to start Dummy
DeviceManager.cpp:116: Installed device: Dummy Device:1-1
PortManager.cpp:154: Patched 1-1-O-0 to universe 1
PluginManager.cpp:112: Started Dummy
PluginManager.cpp:108: Trying to start E1.31 (sACN)
DeviceManager.cpp:116: Installed device: E1.31 (DMX over ACN) [192.168.0.10]:11-1
PluginManager.cpp:112: Started E1.31 (sACN)
PluginManager.cpp:108: Trying to start ESP Net
DeviceManager.cpp:116: Installed device: ESP Net [192.168.0.10]:4-1
PluginManager.cpp:112: Started ESP Net
PluginManager.cpp:108: Trying to start KarateLight
IOUtils.cpp:38: Failed to open /dev/kldmx0: No such file or directory
KaratePlugin.cpp:79: Could not open /dev/kldmx0 No such file or directory
PluginManager.cpp:112: Started KarateLight
PluginManager.cpp:108: Trying to start KiNET
DeviceManager.cpp:116: Installed device: KiNet Device:16-1
PluginManager.cpp:112: Started KiNET
PluginManager.cpp:108: Trying to start Milford Instruments
PluginManager.cpp:112: Started Milford Instruments
PluginManager.cpp:108: Trying to start Enttec Open DMX
IOUtils.cpp:38: Failed to open /dev/dmx0: No such file or directory
OpenDmxPlugin.cpp:80: Could not open /dev/dmx0 No such file or directory
PluginManager.cpp:112: Started Enttec Open DMX
PluginManager.cpp:108: Trying to start OSC
OSCDevice.cpp:88: No targets specified for OSC Output port 0
OSCDevice.cpp:88: No targets specified for OSC Output port 1
OSCDevice.cpp:88: No targets specified for OSC Output port 2
OSCDevice.cpp:88: No targets specified for OSC Output port 3
OSCDevice.cpp:88: No targets specified for OSC Output port 4
DeviceManager.cpp:116: Installed device: OSC Device:14-1
PluginManager.cpp:112: Started OSC
PluginManager.cpp:108: Trying to start Renard
PluginManager.cpp:112: Started Renard
PluginManager.cpp:108: Trying to start SandNet
DeviceManager.cpp:116: Installed device: SandNet [192.168.0.10]:7-1
PluginManager.cpp:112: Started SandNet
PluginManager.cpp:108: Trying to start ShowNet
DeviceManager.cpp:116: Installed device: ShowNet [192.168.0.10]:3-1
PluginManager.cpp:112: Started ShowNet
PluginManager.cpp:108: Trying to start SPI
PluginManager.cpp:112: Started SPI
PluginManager.cpp:108: Trying to start StageProfi
IOUtils.cpp:38: Failed to open /dev/ttyUSB0: No such file or directory
StageProfiDevice.cpp:79: StageProfiPlugin: failed to connect to /dev/ttyUSB0
PluginManager.cpp:112: Started StageProfi
PluginManager.cpp:108: Trying to start Serial USB
PluginManager.cpp:112: Started Serial USB
PluginManager.cpp:108: Trying to start USB
PluginManager.cpp:112: Started USB
PluginManager.cpp:108: Trying to start Pathport
DeviceManager.cpp:116: Installed device: Pathport [192.168.0.10]:9-1
PluginManager.cpp:112: Started Pathport
PluginManager.cpp:108: Trying to start UART native DMX
UartWidget.cpp:177: Failed to set baud rate to 250k
UartDmxPlugin.cpp:82: Unable to setup device for output, device ignored /dev/ttyAMA0
PluginManager.cpp:112: Started UART native DMX
RDMHTTPModule.cpp:677: Adding UID 7a70:ffffff00 to resolution queue
I was soooo close!
olad/PluginManager.cpp:195: Trying to start UART native DMX
plugins/uartdmx/UartDmxPlugin.cpp:67: Trying to open UART device /dev/ttyAMA0
common/io/IOUtils.cpp:39: open(/dev/ttyAMA0): No such file or directory
plugins/uartdmx/UartDmxPlugin.cpp:70: Could not open /dev/ttyAMA0 No such file or directory
olad/PluginManager.cpp:200: Started UART native DMX
pi@raspberrypi:~ $ ls -al /dev/ttyA*
ls: cannot access /dev/ttyA*: No such file or directory
enable_uart=1
# OLA DMX Output
dtoverlay=pi3-disable-bt
init_uart_clock=16000000
pi@raspberrypi-zerow:~ $ ls -al /dev/ttyA*
crw-rw---- 1 root dialout 204, 64 Sep 15 18:17 /dev/ttyAMA0
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com