← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 570700] Re: lirc-modules-source-0.8.6-0ubuntu4: lirc_dev-2.6.33.patch breaks lirc-nct677x-src

 

Correct, lirc version 0.8.6-0ubuntu4.1 breaks the module. I reverted to
0.8.6-0ubuntu4 and everything back to normal (no source install, though)

$ apt-cache policy lirc
lirc:
  Installed: 0.8.6-0ubuntu4
  Candidate: 0.8.6-0ubuntu4.1
  Version table:
     0.8.6-0ubuntu4.1 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
 *** 0.8.6-0ubuntu4 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

$ uname -a
Linux mediageloet 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux


Workaround: Pin the version - add the following to /etc/apt/preferences

Package: lirc
Pin-Priority: 900
Pin: version 0.8.6-0ubuntu4

Now it won't get installed by updates:

apt-cache policy lirc
lirc:
  Installed: 0.8.6-0ubuntu4
  Candidate: 0.8.6-0ubuntu4
  Package pin: 0.8.6-0ubuntu4
  Version table:
     0.8.6-0ubuntu4.1 900
        500 http://de.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
 *** 0.8.6-0ubuntu4 900
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

-- 
lirc-modules-source-0.8.6-0ubuntu4: lirc_dev-2.6.33.patch breaks lirc-nct677x-src
https://bugs.launchpad.net/bugs/570700
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

1) 
# lsb_release -rd
Description:	Ubuntu lucid (development branch)
Release:	10.04

2)
# apt-cache policy  lirc-modules-source
lirc-modules-source:
  Installed: 0.8.6-0ubuntu4
  Candidate: 0.8.6-0ubuntu4
  Version table:
 *** 0.8.6-0ubuntu4 0
        500 http://se.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status






After applying the lirc_dev-2.6.33.patch, the 3d party driver for the Nuvoton 677x is no longer loadable. It compiles fine, but complains about incorrect version upon modprobe:

[ 5870.433827] lirc_dev: IR Remote Control driver registered, major 61 
[ 5870.436038] lirc_wb677: disagrees about version of symbol lirc_register_driver
[ 5870.436038] lirc_wb677: Unknown symbol lirc_register_driver

After removing the above mentioned patch to lirc, both compilation and modprobe works fine:
[ 7700.230465] lirc_dev: IR Remote Control driver registered, major 61 
[ 7700.234243] lirc_wb677 w677hga: chip id high: 0xff expect:0xb4
[ 7700.234257] lirc_wb677 w677hga: chip id low: 0xff expect:0x73
[ 7700.236124] input: MCE Remote Keyboard as /devices/virtual/input/input6
[ 7700.236494] lirc_dev: lirc_register_driver: sample_rate: 0

The source package, lirc-nct677x-src, can be downloaded from:
http://europe.asrock.com/downloadsite/drivers/Nettop/Ubuntu/IR(9.10).zip





References