OpenWrt Forum Archive

Topic: How to compile driver with lcd4linux ?

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello

I have some problem with start my LCD HD44780 16x2 screen to WRT54GL. Installed lcd4linux, configures lcd4linux.conf, but when i try to start, i have got this message :

lcd4linux.c: initializing driver HD44780
drv_init(HD44780) failed: no such driver
Error initializing driver HD44780: Exit!

I'm looking for help, ant then i find https://lcd4linux.bulix.org/wiki/Howto

I was copy folder to router, try ./configure –-with-drivers=HD44780 , but i don't have GTK or something like that. I cannot install that package, cos i don't have enough space.

It is possible to compile driver on my PC, ant then try to copy compiling file to router ?

In internet a was find only one answer : U NEED TO COMPILE DRIVER! but, HOW ? 

Please provide more information about the version of openwrt used and which lcd4linux package you installed.
Building on the router is certainly no good idea.

I am facing with same problem.
I have OpenWRT for RPi 1 (brcm2708) downloaded from trunk.
There are many drivers for lcd4linux but hd44780 is missing.
Could you please drive me what to do to compile lcd4linux with hd44780 driver?
Do I need to download sources of lcd4linux and compile it for ARM?
Do I need to download imagebuilder?

BR

MBS wrote:

This should be included in this package: https://downloads.openwrt.org/snapshots … cm2708.ipk

root@OpenWrt:~# lcd4linux -l |grep -i hd44780
   BWCT                : BWCT USB to HD44780 interface
   LCD2USB             : LCD2USB homebrew USB interface for HD44780 text displays
   LCDTerm             : LCDTerm serial-to-HD44780 adapter board
   PHAnderson          : PHAnderson serial-to-HD44780 adapter

There is no i2c hd44780 driver or just hd44780 driver to use with GPIO pins.

It seems to be disabled in regular builds, unless you explicitly enable CONFIG_BROKEN during your built. I haven't done building just packages, so you need to read on how to build packages with the SDK on your own.

The discussion might have continued from here.