LCDproc development and user support list

Text archives Help


[Lcdproc] Older vfd lockups


Chronological Thread 
  • From: shane at blackett.co.nz (Shane Blackett)
  • Subject: [Lcdproc] Older vfd lockups
  • Date: Wed, 20 Jan 2010 21:48:01 +1300

On 19/01/10 03:15, jk wrote:
> Are you sure you're using the correct lcdproc driver (LCD vs VFD)?

I think I understand the misused device numbers.
I believe I have a VFD device, it looks identical to the image
in for the VFD in the link you provided below:
http://www.mythtv.org/wiki/Imon

The display did work with Ubuntu 9.04 (although locked up after a long
time, sometimes running for more than a week).
It does start up now, but always locks after a few frames of the LCDd
server scrolling, resulting in text which is similar to the image for
the VFD at http://www.mythtv.org/wiki/Imon
I have to power the machine off at the wall to reset it.

I'm surprised that if I have the wrong device that it would might work
at all, I guess the I assumed that fact that it starts up implied to me
that it is getting the right device type.

> (more below)
>
> ----- Original Message ----
>> From: Shane Blackett<shane at blackett.co.nz>
>> Sent: Sat, January 16, 2010 8:02:05 PM
>> Subject: [Lcdproc] Older vfd lockups
>>
>> I have been working with the imon lcd driver for about a year.
>> Initially I used Ubuntu 9.04 and sometimes it would work for days at
a time but
>> occasionally it would lock hard and you could not unload the module
or restart
>> LCDd.
>>
>> Upon upgrading to Ubuntu 9.10 it now works for about a second after
each reboot
>> and then locks hard the same.
>>
>> Intially it wrote some urb errors, which I found a thread on, and
started
>> experimenting with some delays. I didn't have any success though
finding any
>> values that helped me.
>> However now it doesn't write the same errors to the log, it just
locks up.
>>
>> I installed the special package for enabling development of the lirc
kernel
>> source modules from source and have been tinkering with these...
>> ...
>> [ 18.672357] lirc_imon: imon_probe: found iMON device (15c2:ffdc,
intf0)
>> ...
>>
>> Shane.
>
> It looks like you have device version 15c2:ffdc, which can be an LCD
or VFD, and the lcdproc drivers are different for each.
>
> After confirming that you actually have a VFD (or LCD), I recommend
removing all aspects of lirc and lcdproc (all config files, etc) and
then reinstalling them. An :ffdc device should work out of the box with
the newer versions of lirc (>=0.8.4a) and lcdproc (0.5.3). A VFD
probably works with older versions than that.

My lirc is 0.8.6 from the ubuntu lirc-modules-source package. I diffed
this with 0.8.6 lirc src tar ball and there are only packaging
differences as far as I can see.

My lcdproc is 0.5.3,

I will have another go. I hadn't seen this page before, although there
is very little in it:
https://help.ubuntu.com/community/IMON_VFD_and_LCD_Karmic_9.10
As I upgraded this box from 9.04 to 9.10 there could be some issue with
a mismatched configuration, but I have read all the files many times
before resorting to building from source.

> Unfortunately, SoundGraph likes to change is protocols around a lot,
and that causes the issues between the VFD and LCD, and even with
different versions of the LCD. It's even more annoying that the :ffdc
device designation is assigned to a VFD and an LCD.
>
> LIRC has been working with :ffdc devices for a while now, and LCDPROC
since it's most recent version, v0.5.3.

Yes I see that it has been supported for a while. I guess I was
wondering if something that is changing in the underlying kernel is
causing these devices to break. Problems with locking up seem to be
relatively common on this list, across a number of devices, somewhat
resolved with some delays, which is why I tried this.

> Other than ensuring that your configuration files are correct, you
shouldn't have to mess with anything to get them working.
>
> Things are a bit different for newer versions of the LCD, which
required more tweaks to LIRC.
>
> Some references:
> * http://www.mythtv.org/wiki/Imon - older information (circa 2008),
but good pictures and overall descriptions.
> * https://help.ubuntu.com/community/IMON_VFD_and_LCD (see the
notes on the bottom)
> * http://ubuntuforums.org/showthread.php?t=1069267 - an old thread
that deals with lcdproc v0.5.2 and ubuntu 8.10, but has some background
on what's going on. lcdproc v0.5.3 has slightly different options in
the LCDd.conf file.

Thanks for giving lots of information.
I have read these many times before and read these again today.
I guess I could be missing something.

I stopped the LCDd service from starting so I could control the start
myself.
It just starts up and nothing seems to be written, maybe I need to up
its output.
blackett at blackett-mythtv:~$ sudo LCDd -f -s 0 -r 4
LCDd version 0.5.3 starting
Built on Oct 14 2009, protocol version 0.3, API version 0.5
Using Configuration File: /etc/LCDd.conf
Set report level to 4, output to stderr
LCDd 0.5.3, LCDproc Protocol 0.3
Part of the LCDproc suite
Copyright (C) 1998-2009 William Ferrell, Scott Scriven
and many other contributors

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Server running in foreground
Listening for queries on 127.0.0.1:13666
imon: using Device /dev/lcd0
Key "Escape" is now reserved exclusively by client [-1]
Key "Enter" is now reserved shared by client [-1]
Key "Up" is now reserved shared by client [-1]
Key "Down" is now reserved shared by client [-1]
screenlist_switch: switched to screen [_server_screen]


From the dmesg log I get to see the transition from working to failing
with my printf debugging:

[ 51.257096] lirc_imon: Writing data 32 70200707

[ 51.261100] lirc_imon: send_packet ffff880122632cac 8

[ 51.345084] lirc_imon: send_packet ffff880122632cac 8

[ 51.356815] lirc_imon: send_packet ffff880122632cac 8

[ 51.364907] lirc_imon: send_packet ffff880122632cac 8

[ 51.373113] lirc_imon: send_packet ffff880122632cac 8

[ 51.380840] lirc_imon: send_packet ffff880122632cac 8

[ 51.385009] lirc_imon: Writing data 32 44200707

[ 51.389009] lirc_imon: send_packet ffff880122632cac 8

[ 51.470104] lirc_imon: send_packet ffff880122632cac 8

[ 71.972696] lirc_imon: send_packet: task interrupted

[ 71.976703] lirc_imon: send_packet ffff880122632cac 8

[ 71.976706] lirc_imon: send_packet: error submitting urb(-22)

[ 71.976708] lirc_imon: vfd_write: send packet failed for packet #1

[ 71.980726] lirc_imon: send_packet ffff880122632cac 8

[ 71.980730] lirc_imon: send_packet: error submitting urb(-22)

[ 71.980732] lirc_imon: vfd_write: send packet failed for packet #0

[ 71.980737] display port closed

[ 74.549012] display port opened

[ 74.553383] lirc_imon: send_packet ffff880122632cac 8

[ 74.553386] lirc_imon: send_packet: error submitting urb(-22)

[ 74.553389] lirc_imon: vfd_write: send packet failed for packet #0

[ 74.678589] lirc_imon: send_packet ffff880122632cac 8

[ 74.678592] lirc_imon: send_packet: error submitting urb(-22)

[ 74.678594] lirc_imon: vfd_write: send packet failed for packet #0

[ 74.803680] lirc_imon: send_packet ffff880122632cac 8

[ 74.803682] lirc_imon: send_packet: error submitting urb(-22)

[ 74.803684] lirc_imon: vfd_write: send packet failed for packet #0

[ 74.928515] lirc_imon: send_packet ffff880122632cac 8

[ 74.928517] lirc_imon: send_packet: error submitting urb(-22)

[ 74.928519] lirc_imon: vfd_write: send packet failed for packet #0

[ 75.053571] lirc_imon: send_packet ffff880122632cac 8


The display port entries coincide with me restarting LCDd.

When the device is locked I cannot remove the module either.
sudo modprobe -r lirc_imon
hangs and never returns.

Thanks for your patience.

Shane.





Archive powered by MHonArc 2.6.18.

Top of page