Author |
Message |
mattshaw
|
Posted: Tue Sep 11, 2007 5:40 pm |
|
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
|
Hi Guys
Just upgraded to R5F27, went as smooth as you like !!!!
Just trying to get my LCD hd44780 going, had a backup of a previous LCDd.conf. But then I saw that there were already two LCDd.conf's on the system, one in /etc and one in /etc/lcdproc, so overwrote both of them with mine.
Went into myth setup and turned on the lcd option. Then rebooted. No display on lcd.
ssh'd in and su'd to root, and manually typed LCDd but it wouldn't start properley, got the error
LCDServerSocket.o: Something is wrong trying to start with port=6545
LCDServerSocket.o: You've probably got another copy of lcd server already running.
LCDServerSocket.o: You might want to try "ps ax | grep mythlcdserver".
LCDServerSocker.o: This copy will now exit ...
Did as told, and ps -ax|grep mythlcdserver told me it was indeed running, did a killall on it and it died, a few seconds later and another process was running for mythlcdserver !!!!
Now, does the mythlcdserver do the equivalent of the LCDd command, ie. starting the lcd daemon, or do I have to put it in a startup myself before mythlcdserver tries to kick in ???? I have looked at the previous posts, but not sure whether to follow them, as lcdproc was just updated for R5F27
_________________ Thanks in advance
Matt Shaw
matt@shagshaw.com
AMD Sempron 2400+ on Via Motherboard,
512MB Ram, 160GB IDE HDD,
Nvidia Geforce FX5500 128MB TV-Out,
2 x Twinhan DVB-T BT878 (Freeview UK)
KnoppMYTH R5F27
Last edited by mattshaw on Thu Sep 20, 2007 9:00 am, edited 1 time in total.
|
|
Top |
|
|
slowtolearn
|
Posted: Tue Sep 11, 2007 6:03 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
mattshaw wrote: Now, does the mythlcdserver do the equivalent of the LCDd command, ie. starting the lcd daemon, or do I have to put it in a startup myself before mythlcdserver tries to kick in ???? I have looked at the previous posts, but not sure whether to follow them, as lcdproc was just updated for R5F27 mythlcdserver does not start LCDd, it talks to it. You need to update /etc/default/LCDd (new since R5F1) and make it look like this: Code: # /etc/default/LCDd -- config file for LCDd startup
# shall LCDd be started (yes/no) START=yes
# options for LCDd startup OPTIONS="-c /etc/lcdproc/LCDd.conf"
# EOF If the LCDd.conf you want to use is not in /etc/lcdproc then adjust that setting as well. Then you want to run Code: update-rc.d LCD defaults and reboot. Your LCD should be active after this.
The equivalent steps for the iMON VFD can be found in /usr/local/bin/vfd_install.sh. If you can provide how to identify your LCD and the steps you take to get it working I can add to this script to help automate this in future releases.
|
|
Top |
|
|
mattshaw
|
Posted: Tue Sep 11, 2007 6:18 pm |
|
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
|
Hiya
My LCD is a Pertelian USB HD44780 lcd, which connects on to the system via the USB port with "ID 0403:6001 Future Technology Devices International, Ltd 8-bit FIFO" being the output of lsusb, which I think is just the usb/serial converter ID.
If this could be automated, it would be cool.
Thanks for the excellent help.
_________________ Thanks in advance
Matt Shaw
matt@shagshaw.com
AMD Sempron 2400+ on Via Motherboard,
512MB Ram, 160GB IDE HDD,
Nvidia Geforce FX5500 128MB TV-Out,
2 x Twinhan DVB-T BT878 (Freeview UK)
KnoppMYTH R5F27
|
|
Top |
|
|
slowtolearn
|
Posted: Tue Sep 11, 2007 6:51 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
mattshaw wrote: Hiya
My LCD is a Pertelian USB HD44780 lcd, which connects on to the system via the USB port with "ID 0403:6001 Future Technology Devices International, Ltd 8-bit FIFO" being the output of lsusb, which I think is just the usb/serial converter ID. Hmmm, the information I find in /etc/lcdproc/LCDd.conf indicates the hd44780 is a serial device. If you have it working, could you post the relevant portions of your LCDd.conf? mattshaw wrote: If this could be automated, it would be cool.
Thanks for the excellent help. Glad to assist.
|
|
Top |
|
|
mattshaw
|
Posted: Mon Sep 17, 2007 4:26 pm |
|
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
|
The LCD does not work, but I did have it running with lcdproc 0.5.1, and I am using that LCDd.conf. I have emailed the lcdproc list to ask if I have the parameters set correctly, but strange it worked in 0.5.1, but not now.
Will let you know my relevant settings as and when.......
Thanx
_________________ Thanks in advance
Matt Shaw
matt@shagshaw.com
AMD Sempron 2400+ on Via Motherboard,
512MB Ram, 160GB IDE HDD,
Nvidia Geforce FX5500 128MB TV-Out,
2 x Twinhan DVB-T BT878 (Freeview UK)
KnoppMYTH R5F27
|
|
Top |
|
|
mattshaw
|
Posted: Thu Sep 20, 2007 8:59 am |
|
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
|
Just got it working, thanks to the lcdproc mailing list, apparently the config settings had changed since the cvs version I was using. Below is the relevant settings (with all commented lines removed) for the Pertelian X2040 USB LCD display (modified hd44780)
## Hitachi HD44780 driver ##
[hd44780]
ConnectionType=pertelian
Port=/dev/ttyUSB0
Device=/dev/ttyUSB0
Speed=0
Keypad=no
Contrast=0
Backlight=yes
OutputPort=no
Size=20x4
Charmap=hd44780_default
Default: 0.
DelayBus=true
KeyMatrix_4_1=Enter
KeyMatrix_4_2=Up
KeyMatrix_4_3=Down
KeyMatrix_4_4=Escape
_________________ Thanks in advance
Matt Shaw
matt@shagshaw.com
AMD Sempron 2400+ on Via Motherboard,
512MB Ram, 160GB IDE HDD,
Nvidia Geforce FX5500 128MB TV-Out,
2 x Twinhan DVB-T BT878 (Freeview UK)
KnoppMYTH R5F27
|
|
Top |
|
|
mattshaw
|
Posted: Fri Oct 26, 2007 3:35 am |
|
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
|
Hey slowtolearn,
have any changes been made for the next release ???
Everything is still working fine, just wondered if my feedback would be used.
These Pertelian X2040 USB LCD's are very good value (currently $48.99 on thinkgeek.com), and I would like to highly recommend them to the forum.
If you dont want to use the standard lcdproc to drive it from myth/linux, I have written a few scripts using its own daemon, and its really easy to program......
_________________ Thanks in advance
Matt Shaw
matt@shagshaw.com
AMD Sempron 2400+ on Via Motherboard,
512MB Ram, 160GB IDE HDD,
Nvidia Geforce FX5500 128MB TV-Out,
2 x Twinhan DVB-T BT878 (Freeview UK)
KnoppMYTH R5F27
|
|
Top |
|
|