LCDd configuration.

Help
Julez
2013-10-19
2013-10-20
  • Julez
    Julez
    2013-10-19

    In trying to configure a Hitachi 47780 LCD purchased on ebay, I am able to get it to work nicely in windows on my system. But when trying to get it to work on Ubuntu is a little trickier. dmesg sees the device but it doesnt define the ttys that I can tell. LCDd needs a ttys and a port? I can't seem to find either.

    My current LCDd.conf

    # select the serial device to use [default: /dev/lcd]
    Device=/dev/lcd
    
    # set the initial contrast value [default: 560; legal: 0 - 1000]
    Contrast=560
    
    # set the serial port speed [default: 19200; legal: 9600, 19200, 38400]
    Speed=19200
    
    ## Hitachi HD44780 driver ##
    [hd44780]
    
    # Select what type of connection. See documentation for types.
    ConnectionType=lcd2usb
    
    # Port where the LPT is. Usual value are: 0x278, 0x378 and 0x3BC
    Port=0x378
    
    # Device of the serial interface [default: /dev/lcd]
    Device=/dev/ttyS0
    

    lsusb shows

    Bus 001 Device 003: ID 0403:c630 Future Technology Devices International, Ltd lcd2usb interface
    

    dmesg shows

    [    1.901296] usb 1-1.1: Product: LCD2USB
    [    1.901297] usb 1-1.1: Manufacturer: Lcdmod Kit
    [    1.983818] usb 1-1.4: new high-speed USB device number 4 using ehci-pci
    [    2.076763] usb 1-1.4: New USB device found, idVendor=14cd, idProduct=8168
    [    2.076765] usb 1-1.4: New USB device strings: Mfr=1, Product=3, SerialNumber=2
    

    Any help is appreciated to ensure I have the right LCDd.conf.

    Julez

     
    Last edit: Markus Dolze 2013-10-20
  • Markus Dolze
    Markus Dolze
    2013-10-20

    Hi,

    naming the actual product you bought will help much. HD44780 is a generic controller. From the dmesg output it seems like a Lcdmod Kit display.

    I suggest reading http://lcdproc.sourceforge.net/docs/current-user.html#hd44780-lcd2usb first.

    For the lcd2usb device no Device or Port settings are required. Within the [server] section be sure to set Driver=hd44780 , then in the [hd44780] section ConnectionType=lcd2usb should be all you need.