[Pkg-lirc-maint] Bug#580928: libirman-dev: irman timeouts when used with a serial to usb adapter

Matthieu Bedouet mbedouet at no-log.org
Sun May 9 21:35:56 UTC 2010


Package: libirman-dev
Version: 0.4.4-2
Severity: normal


Hi,
The IRMAN serial receiver does not work correctly when plugged behind a usb adapter (PL2303).
Most of the received input are dropped.

It works nicely when setting IR_POLL_TIMEOUT to 50ms in irman.h and rebuilding the lirc package against it.

Upstream has made this change in its cvs.

Thanks


PS: This bug has also been submitted to ubuntu as #342347, here is the contents explaining the issue with more details:

When an irman serial device is used via a usb serial convertor the default select timeout is not long enough to reliably receive transmitted codes. This means that buttons on the remote often have to be pressed mulitple times to have the desired effect.

It is shown by lircd when built with '--enable-debug' as:
lircd: error reading code: "Connection timed out"

This has been fixed in upstream cvs: http://lirc.cvs.sourceforge.net/viewvc/lirc/libirman/irman.h?r1=1.2&r2=1.3

Although this change was made upstream a while ago it does not appear to have made it into a new release.
http://lirc.cvs.sourceforge.net/viewvc/lirc/libirman/irman.h?view=log indicates revision 1.2 of this file is the one in the 0.4.4 release currently used in jaunty.

I have applied this patch to libirman-dev and rebuilt the lirc package to relink with the static library and can confirm codes are now reliably received.




-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-rc6 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libirman-dev depends on:
ii  libc6-dev                     2.10.2-7   Embedded GNU C Library: Developmen

libirman-dev recommends no packages.

libirman-dev suggests no packages.

-- no debconf information





More information about the Pkg-lirc-maint mailing list