Sorry for the massive case of thread necromancy, but this seemed like the most appropriate thread to post in!
I'm trying to get the LCD and IR receiver in a Zalman HD135 case to work with OpenElec/Kodi. I've followed the instructions in the first post of this thread, and have done a lot of reading on other posts and forums, but I can't quite seem to get everything working. (It probably also doesn't help that my Linux skills are almost non-existant....!)
I originally posted this in
this thread on the OpenElec forums but never managed to get a response, and as this thread seemed the most authoritative on using the HD135 with Kodi under Linux I thought it might be worth also asking the question here.
I have created an LCDd.conf file configured to use the HD44780 driver, with an 'mplay' connection type. This gives me a working LCD display but also causes the IR receiver (or what I assume is the USB-to-serial device) to be present:
Code:
[ 2.600373] usbcore: registered new interface driver usbserial
[ 2.601223] usbcore: registered new interface driver ftdi_sio
[ 2.601234] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.601280] ftdi_sio 4-1.5:1.0: FTDI USB Serial Device converter detected
[ 2.601300] usb 4-1.5: Detected FT232RL
[ 2.602351] usb 4-1.5: FTDI USB Serial Device converter now attached to ttyUSB0
However I can't seem to get the remote to do anything with regards to controlling Kodi. If I run
irw I don't see any commands being received, but if I run
cat /dev/ttyUSB0 I can see that commands must be being received as characters are printed to the console:
Code:
OpenELEC (official) Version: 5.95.5
OpenELEC:~ # cat /dev/ttyUSB0
~~B~~~C~C~~T~C~C~C~CCCCC~~B^C
(The characters above appeared on screen in response to buttons being pressed on the remote control).
As part of setting this up I have created the following configuration files which I copy to my OpenElec installation (I've uploaded all of these files to pastebin and linked them I the list below):
/storage/.config/
autostart.sh
/storage/.config/
LCDd.conf
/storage/.config/
lircd.conf
/storage/.kodi/userdata/
LCD.xml
/storage/.kodi/userdata/
lircmap.xml
/storage/.kodi/userdata/keymaps/
remote.xml
I think I have all of the correct configuration files, all in the right places, etc., and I think the hardware is now correctly configured as I can receive data on the IR device. It seems like there is just a missing piece in linking the hardware to lirc.
Would anyone be able to offer any further assistance with this? Apologies if this isn't the right place to post but I hoped/assumed that there was enough similarity between the Kodi Linux release and OpenElec that the question would still be relevant.