Welcome! Log In Create A New Profile


lcd4linux on dockstar

Posted by RomanG 
lcd4linux on dockstar
October 11, 2010 02:13PM
Getting lcd4linux working on dockstar is pretty easy, much easier than it was on my NSLU2.
I used home build USB driver for LCD display, slightly modified version of one that is described here:

usb-serial module is already compiled in to the kernel and when display is plugged in to the dockstar, dmesg shows following:
[ 4525.525908] usb 1-1.4: new full speed USB device using orion-ehci and address 4
[ 4525.638620] usb 1-1.4: New USB device found, idVendor=5bcd, idProduct=5bcd
[ 4525.645532] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4525.652888] usb 1-1.4: Product: USB2LCD+
[ 4525.656864] usb 1-1.4: Manufacturer: USB2LCD
[ 4525.662985] usb 1-1.4: configuration #1 chosen from 1 choice
[ 4525.709727] cdc_acm 1-1.4:1.0: This device cannot do calls on its own. It is not a modem.
[ 4525.718202] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
[ 4525.724307] usbcore: registered new interface driver cdc_acm
[ 4525.730649] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters

system recognizes the display and assigns ttyACM0

installing lcd4linux is straightforward:
apt-get install lcd4linux

next, you will need to create configuration file, sample comes with installation
cd /usr/share/doc/lcd4linux
gzip -d lcd4linux.conf.sample.gz
cp lcd4linux.conf.sample /etc/lcd4linux.conf

it will need to be edited to suit your particular display
nano /etc/lcd4linux.conf  #(or use your favorite editor, I like nano)

if you try to run lcd4linux now, you will get following error
security error: group or other have access to '/etc/lcd4linux.conf'

change file permissions:
chmod 600 /etc/lcd4linux.conf

now you can run it:

following are pictures of mine, the first line is scrolling so it does not show very well in these pictures
open | download - LCD1.jpg (61.5 KB)
open | download - LCD2.jpg (62 KB)
Re: lcd4linux on dockstar
October 12, 2010 09:40PM
Thanks very much! I have been looking for something like this.

Your Email:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.