This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LCD for ASG Home Use

Hello everyone,

could anyone tell my if it is possible to plug a LCD to an USB port?
I now that LCD4LINUX is still installed with the default setup of the software.
The problem is i don´t know how to configure it. 

It would by fine to see the state of the ASG without login to shell or the webinterface.

Thanks for help.

Andre


This thread was automatically locked due to age.
  • Hi, it's been a long time since I've done it, but I set it up and posted instructions here:

    https://community.sophos.com/products/unified-threat-management/astaroorg/f/51/t/18789

    Barry
  • Hi Barry,

    thanks for the fast reply.

    I looked at the thread you wrote and it was very interesting. Thinking the only thing i need to change is the device in the config. 
    Is it possible to get the files you used? The links in your post are dead.

    You sayed you used a newer version of lcd4linux. How did you compile it on the ASG without a C Compiler?

    Andre
  • Hi,

    more forumposts and tests later i´m sure the problem is the driver.
    Now i need to install 'USB2LCD' driver but i don´t know how to do it. [:(]

    can someone give me a hint ? [:$]

    Andre

    printout 'lsusb'

    fw1-asg:/root # lsusb
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 0403:c630 Future Technology Devices International, Ltd lcd2usb interface
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    Settings '/etc/lcd4linux.conf'

    ### DisplaysA
    #####################
    Display LCD2USB {
        Driver 'LCD2USB'
        Size '20x4'
        Bus '002'
        Device '002'
        Contrast 250
        Brightness 200
        Icons 1
    }

    Output after start:

    fw1-asg:/etc # lcd4linux -Fvv
    Version 0.10.1-RC2-796 starting
    plugin_cfg.c: Variable minute = '60000' (60000)
    plugin_cfg.c: Variable tack = '100' (100)
    plugin_cfg.c: Variable tick = '500' (500)
    lcd4linux.c: initializing driver LCD2USB
    drv_init(LCD2USB) failed: no such driver
  • Hi, the question becomes this:
    is lcd2usb a driver within lcd4linux, or a kernel driver.

    As far as re-compiling lcd4linux, you'll need to do it on another linux box. My instructions included static compile options, so you don't need a system that is identical to Astaro/SLES.

    The files I had don't work with more recent versions of Astaro, so you'll have to compile a recent version.

    If you need a kernel driver, you'd need to get the Astaro kernel sources and config files, and compile that driver as a module, and copy it to Astaro.

    Barry
  • Hi Barry,

    'usb2lcd' is a driver that comes with LCD4LINUX.

    It is incl. since version 2007-02-24 LCD4Linux-0.10.1-RC1.

    I do not have an other linux box so it will be difficult to compile a version for me.

    Can you take care of this part for me ? [:$]

    Regards
    Andre
  • Sorry, I'm too busy and I don't have my LCD in use anymore.

    Setup Fedora or Ubuntu on a PC, and compile it from there. Be sure to use the static compile options.

    Barry
  • Hi,

    i think i´m stupid.
    I installed the latest version of Debian to an old PC and compiled the packet but it still gives me an error.

    Cant load driver LCD2USB.

    This driver IS part of LCD4LINUX ... i have no ideas [:S]

    Any other tipps for me?

    Andre
  • I'm not sure. Maybe ask on the lcd4linux mailing list.

    Barry
  • I´ll give up [:(]

    Now i ordered a HD 44780 compatible display.
    Hope this will work on the parallel port with the Astaro default setting.

    Andre
  • OK Display is wired and setup but the output is not correct.

    In the test everything is ok but on the display something like g#Gr+*owc%f is shown.

    Any Idea where i can find the mistake ?

    Andre