Many people seem to be confused about OpenELEC, and seem to think that A) you can edit most files, B) that it comes with nano, and C) that it has sudo.
One of the many benefits to OpenELEC is that it is a stripped down linux distro, which is designed entirely around being a media center. NOT a regular linux distro.
The filesystem is READ ONLY. This means that files such as the /etc/LCDd.conf are NOT able to be edited.
The same goes for pre-compiled drivers(hd44780.so), the files cannot replace existing files, as the filesystem is read-only.
The way to edit this file is to copy it to the storage directory
Code: Select all
cp /etc/LCDd.conf /storage/.config/LCDd.conf
and edit it from there. Note that vi is available for editing, and for those who aren't familiar with vi, you can also use an sftp client to connect to the pi and edit the files accordingly.
(Apparently Nano is also available via OpenELEC's addons, so you can also take a look there)
That being said, it seems that the method used in this post is ONLY for the FIRST revision of the Raspberry Pi board. The Second revision is currently not working, however there is a patch a page or two back in the comments to make it work again. Unfortunately, this patch doesn't seem to work the same way as the patch mentioned in the post(you can't just throw it in the patches folder and hope for the best)
I have yet to get my LCD working so far, as it takes forever to compile, and its very trial and error based.
I hope to take another look at it sometime tomorrow and hopefully I'll figure out a way to compile OpenELEC with the new patch.
If anyone else gets around to this before me, please upload your build somewhere, or your working updated patch. If I get to it first, I will try and upload it as well if it works.