Timing problem (garbage characters) in lirc-driver for iMon PAD VFD 15c2:0036
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-meta-lts-xenial (Ubuntu) |
In Progress
|
Low
|
Unassigned |
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/
sudo dkms remove -m lirc -v 0.8.6 -k `uname -r`
sudo patch -p0 < lirc-0.
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-
Installed: 0.8.6-0ubuntu2
Candidate: 0.8.6-0ubuntu2
Version table:
*** 0.8.6-0ubuntu2 0
500 http://
100 /var/lib/
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/
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=de_CH.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: lirc
Uname: Linux 2.6.31-19-generic x86_64
This Bug also applies to the Antec Multimedia Station Elite, or 15c2:0044.
Note: Once the patch was applied the VFD seems to function correctly but the dmesg output still shows occasionally the:
eb 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
[...]
errors