Open patdelaney opened 4 weeks ago
I poked around with the controller config file and modified the fppSerialPort1 line and tried both ttyAMA10 and ttyAMA2. Stopping xlights each time and restarting to pull in the file. Neither change caused a warning, but when I tried to connect the LOR controller the green status light continued to flash. I put F-Test on the DMX line and got no data. I tested the K16A-B with F-Test and I was getting a reading on the F-Test. So I know that was working. I'm not sure the serial port is actually working.
fpp@FPPv5-1:~ $ ls -l /dev/ttyAMA* crw-rw---- 1 root dialout 204, 74 Jun 9 16:12 /dev/ttyAMA10 crw-rw---- 1 root dialout 204, 66 Jun 9 16:12 /dev/ttyAMA2 fpp@FPPv5-1:~ $
fpp@FPPv5-1:~ $ dmesg | grep serial [ 0.013905] 107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 15, base_baud = 0) is a PL011 rev2 [ 0.359891] 107d50c000.serial: ttyS0 at MMIO 0x107d50c000 (irq = 33, base_baud = 6000000) is a Broadcom BCM7271 UART [ 0.359939] serial serial0: tty port ttyS0 registered [ 0.538736] pl011-axi 1f00038000.serial: cts_event_workaround enabled [ 0.538800] 1f00038000.serial: ttyAMA2 at MMIO 0x1f00038000 (irq = 143, base_baud = 0) is a PL011 AXI [ 3.095254] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator [ 3.095303] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator [93851.778109] uart-pl011 107d001000.serial: no DMA platform data [93946.538328] pl011-axi 1f00038000.serial: no DMA platform data fpp@FPPv5-1:~ $
<Variant Name="No Expansion" ID="K8-Pi" Base="FPP:FPPStringDPIPiHat">
<MaxPixelPort>20</MaxPixelPort>
<MaxSerialPort>1</MaxSerialPort>
<fppSerialPort1>ttyAMA2</fppSerialPort1>
<SupportsVirtualMatrix/>
<SupportsLEDPanelMatrix/>
<SupportsAutoLayout/>
<fpp>1</fpp>
<fpp1>21,-1</fpp1>
</Variant>
Describe the bug Uploading output to a k8-pi with a dmx serial port define causes warning in FPP: Could not initialize output type USBDMX Check Log for Details USBDMX: Error opening device: /dev/ttyAMA0 If I manually configure the port in FPP there is no error.
To Reproduce Steps to reproduce the behavior: Add K8-Pi controller with no expansion. Only configure a single prop for dmx click Upload outputs FPP status pages dispalys error above
Expected behavior There should be no error
Screenshots
Versions (please complete the following information):
Additional context Add any other context about the problem here.