[mythtv-users] imon lcd device
Marius Schrecker
marius.schrecker at lyse.net
Tue Feb 16 18:40:44 UTC 2016
Hi again,
Next problem is my Soundgraph imon LCD screen and IR receiver.
I really wanted to avoid lirc altogether this time as the scancodes now work perfectly through the event interface (before I even installed lirc. Surprisingly, the problem is with the LCD screen, which is refusing to work.
I ended up installing lirc just to get LCDd and lcdproc, then used the cme editor to write the following file:
## This file was written by cme command.
## You can run 'cme edit lcdproc' to modify this file.
## You may also modify the content of this file with your favorite editor.
[server]
Driver=imonlcd
DriverPath=/usr/lib/x86_64-linux-gnu/lcdproc/
GoodBye="Goodbye!"
Hello="Welcome to"
Hello="mythbox!"
NextScreenKey=Right
PrevScreenKey=Left
ReportToSyslog=yes
ToggleRotateKey=Enter
User=nobody
[imonlcd]
Backlight=on
Device=/dev/lcd0
DiscMode=0
OnExit=1
Protocol=1
Size=16x2
[menu]
DownKey=Down
EnterKey=Enter
MenuKey=Escape
UpKey=Up
The usb device exists:
lsusb | grep -i soundgraph
Bus 004 Device 003: ID 15c2:0038 SoundGraph Inc. GD01 MX LCD Display/IR Receiver
as does the driver file:
# ls -l /usr/lib/x86_64-linux-gnu/lcdproc/ | grep imonlcd
-rw-r--r-- 1 root root 18944 mai 18 2015 imonlcd.so
I tried adding device type 2 to /etc/modprobe.d/lirc_imon.conf:
cat /etc/modprobe.d/lirc_imon.conf
options lirc_imon display_type=2
but get this when loading the module:
583.467327] lirc_imon: module is from the staging directory, the quality is unknown, you have been warned.
[ 3583.467420] lirc_imon: unknown parameter 'display_type' ignored
[ 3583.467484] usbcore: registered new interface driver lirc_imon
root at mythbox:~# sudo systemctl status LCDd.service
● LCDd.service - LSB: LCD daemon
Loaded: loaded (/etc/init.d/LCDd)
Active: active (exited) since ti. 2016-02-16 19:38:13 CET; 10s ago
Docs: man:systemd-sysv-generator(8)
Process: 2931 ExecStop=/etc/init.d/LCDd stop (code=exited, status=0/SUCCESS)
Process: 3015 ExecStart=/etc/init.d/LCDd start (code=exited, status=0/SUCCESS)
feb. 16 19:38:13 mythbox systemd[1]: Starting LSB: LCD daemon...
feb. 16 19:38:13 mythbox LCDd[3015]: Starting LCDd: LCDd.
feb. 16 19:38:13 mythbox systemd[1]: Started LSB: LCD daemon.
I am missing the dev node, so a udev rule might be a good place to start, but is there a way to use the lcd without loading lirc?
BR.
--Marius--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160216/83313384/attachment.html>
More information about the mythtv-users
mailing list