← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 517956] Re: Timing problem (garbage characters) in lirc-driver for iMon PAD VFD 15c2:0036

 

Cheftec HM-01, iMon-Display: P:  Vendor=15c2 ProdID=0036 Rev=00.01

My problem (black imon-screen, remote control not working and _maybe_
computer freezes) was fixed in 10.04 by installing the patch and it is
now fixed using 10.10. Thanks for your fix. For me it works. I wonder
what the difference is e.g. compared to a_user ...

I use mainboard MSI 790GX-G65.

-- 
Timing problem (garbage characters) in lirc-driver for iMon PAD VFD 15c2:0036
https://bugs.launchpad.net/bugs/517956
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in ubuntu.

Status in “lirc” package in Ubuntu: In Progress

Bug description:
Binary package hint: lirc

In the lirc-driver for the Soundgraph iMon PAD VFD, USB-ID 15c2:0036, there is a timing problem. Packets are sent too fast to the USB-Device. You can see that you are affected by this problem, if you find similar lines in your syslog:

[...]
Feb  6 08:06:09 mythtv kernel: [   47.727759] lirc_imon: vfd_write: send packet failed for packet #2
Feb  6 08:06:09 mythtv kernel: [   47.978904] lirc_imon: send_packet: packet tx failed (-32)
Feb  6 08:06:09 mythtv kernel: [   47.978909] lirc_imon: vfd_write: send packet failed for packet #4
Feb  6 08:06:09 mythtv kernel: [   48.223802] lirc_imon: send_packet: packet tx failed (-32)
Feb  6 08:06:09 mythtv kernel: [   48.223807] lirc_imon: vfd_write: send packet failed for packet #2
Feb  6 08:06:09 mythtv kernel: [   48.471698] lirc_imon: send_packet: packet tx failed (-32)
Feb  6 08:06:09 mythtv kernel: [   48.471703] lirc_imon: vfd_write: send packet failed for packet #1
[...]

To fix the problem, you can apply the enclosed patch and rebuild the dkms lirc modules:
cd /usr/src/lirc-0.8.6/
sudo dkms remove -m lirc -v 0.8.6 -k `uname -r`
sudo patch -p0 < lirc-0.8.6-VFD_0x0036_timing.patch
sudo dkms add -m lirc -v 0.8.6
sudo dkms build -m lirc -v 0.8.6
sudo dkms install --force -m lirc -v 0.8.6

The patch will add some 20 microseconds delay before each package send. It's not the most beautiful solution, but until there is some corrected upstream, this will help.

HTH, Edi

Guideline informations:
1) Ubuntu-Release:
Description:	Ubuntu 9.10
Release:	9.10

2) Package Version:
lirc-modules-source:
  Installed: 0.8.6-0ubuntu2
  Candidate: 0.8.6-0ubuntu2
  Version table:
 *** 0.8.6-0ubuntu2 0
        500 http://archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

3) What should happen:
Correct information displayed on the VFD

4) What happens:
Garbage characters displayed on VFD

ProblemType: Bug
Architecture: amd64
Date: Sat Feb  6 09:07:02 2010
DistroRelease: Ubuntu 9.10
Package: lirc-modules-source 0.8.6-0ubuntu2 [modified: usr/src/lirc-0.8.6/drivers/lirc_imon/lirc_imon.c]
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=de_CH.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: lirc
Uname: Linux 2.6.31-19-generic x86_64