Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in icp_a106 driver #211

Open
elvisimprsntr opened this issue Mar 2, 2024 · 0 comments
Open

Error in icp_a106 driver #211

elvisimprsntr opened this issue Mar 2, 2024 · 0 comments

Comments

@elvisimprsntr
Copy link

elvisimprsntr commented Mar 2, 2024

BACKGROUND

Running pfSense 2.7.2 CE and LCDproc package 0.11.5_1 (lcdproc-0.5.9) installed on a QNAP TS-653A with the ICP A125 LCD module.

INVESTIGATION

I confirmed I can issue commands directly from the shell to communicate with the A125 display with pfSense temporarity installed on an external USB SSD on my QNAP TS-653A.

Same shell scripts I created for TrueNAS CORE: https://github.com/elvisimprsntr/QnapFreeLCD

`#!/bin/sh

NAME="hostname -s"

stty -f /dev/cuau1.lock 1200
stty -f /dev/cuau1.init 1200
stty -f /dev/cuau1 1200

##clear display
printf '\115\015' > /dev/cuau1
sleep 1

##turn on display
printf '\115\136\001' > /dev/cuau1
sleep 1

##print hostname on line 1
printf '\115\014\000 '$NAME > /dev/cuau1
sleep 1

##print message on line 2
printf '\115\014\001 System Booting' > /dev/cuau1
`

A106 DRIVER ERROR MESSAGE

Seems there might be a bug in the icp_a106 driver.

Mar 2 13:13:11 LCDd 20455 Could not open driver module /usr/local/lib/lcdproc/icp_a106.so: /usr/local/lib/lcdproc/icp_a106.so: Undefined symbol "ftime"

There was a commit in 2019 which seems to have been to address the issue, but was never merged.

781b311

Mar 2 13:13:11 LCDd 20298 LCDd version 0.5.9 starting Mar 2 13:13:11 LCDd 20298 Using Configuration File: /usr/local/etc/LCDd.conf Mar 2 13:13:11 LCDd 20455 Listening for queries on 127.0.0.1:13666 Mar 2 13:13:11 LCDd 20455 Could not open driver module /usr/local/lib/lcdproc/icp_a106.so: /usr/local/lib/lcdproc/icp_a106.so: Undefined symbol "ftime" Mar 2 13:13:11 LCDd 20455 Driver [icp_a106] binding failed Mar 2 13:13:11 LCDd 20455 Could not load driver icp_a106 Mar 2 13:13:11 LCDd 20455 There is no output driver Mar 2 13:13:11 LCDd 20455 Critical error while initializing, abort. Mar 2 13:13:12 php 20660 lcdproc: Start client procedure. Error counter: (0) Mar 2 13:13:13 php 20660 lcdproc: Failed to connect to LCDd process Connection refused (61) Mar 2 13:13:13 php 20660 lcdproc: Start client procedure. Error counter: (1) Mar 2 13:13:14 php 20660 lcdproc: Failed to connect to LCDd process Connection refused (61) Mar 2 13:13:14 php 20660 lcdproc: Start client procedure. Error counter: (2) Mar 2 13:13:15 php 20660 lcdproc: Failed to connect to LCDd process Connection refused (61) Mar 2 13:13:15 php 20660 lcdproc: Start client procedure. Error counter: (3) Mar 2 13:13:16 php 20660 lcdproc: Failed to connect to LCDd process Connection refused (61) Mar 2 13:13:16 php 20660 lcdproc: Too many errors, stopping client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant