Hm, so maybe you need to increse the value here:
unsigned long timeout = usecs_to_jiffies(20);
The higher it is, the slower the display-updates are, so you may have to 
experiment a little...

-- 
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: New

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



_______________________________________________
Mailing list: https://launchpad.net/~mythbuntu-bugs
Post to     : mythbuntu-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mythbuntu-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to