Error Dkms Tree Does Not Contain Lirc
04:31 PMlirc wasn't working so I decided to try and remove it and re-install it with apt-get. Well, I lost my MythBuntu Control Centre. I was able to get that back, but the restricted drivers manager is missing now. lirc is still not working and that is my primary concern. When I run the irw command, I don't get any feedback when pressing buttons. I would greatly appreciate any help people can give me. Thank you! lacerationJanuary 18th, 2009, 12:47 AMI'm assuming you had Lirc working and it stopped. What happens sometimes to bonk Lirc is the drivers get messed up after a kernel upgrade. You can verify if your drivers are there by cat /proc/bus/usb/devices if by your remote receiver device you have driver=none it obliviously indicates you have no driver I might be getting ahead of myself, so tell if I am not on the right track. Anyways, reinstalling Lirc is usually not as useful as reinstalling the drivers with dkms. If I am guessing right that is what you need to do. Instructions are at this page: https://help.ubuntu.com/community/InstallLirc/Hardy#Adding%20support%20for%20more%20remotes davidstollJanuary 18th, 2009, 05:57 PMI'm assuming you had Lirc working and it stopped. What happens sometimes to bonk Lirc is the drivers get messed up after a kernel upgrade. You can verify if your drivers are there by cat /proc/bus/usb/devices if by your remote receiver device you have driver=none it obliviously indicates you have no driver I might be getting ahead of myself, so tell if I am not on the right track. Anyways, reinstalling Lirc is usually not as useful as reinstalling the drivers with dkms. If I am guessing right that is what you need to do. Instructions are at this page: https://help.ubuntu.com/community/InstallLirc/Hardy#Adding%20support%20for%20more%20remotes Yes, it was working at one point and then it just stopped. I also suspect that an update broke it. This is what I get... cat: /proc/bus/usb/devices: No such file or directory I can cd into /proc/bus/usb , but I don't see devices. An ls -a shows an empty folder. lacerationJanuary 18th, 2009, 06:20 PMYour usb remote receiver device should be showing up even if lirc or drivers were not installed. Check the hardware. Try another usb port. Maybe the wire that is connecting usb to your motherboard got disconnected?? What about the usb cable, try another?? Do you have anything to hook up to the usb to test it, like a mouse or camera? encomJanuary 18th, 2009, 08:07 PMI fixed the problem by opening up
report is a duplicate of: Bug #555906: package lirc-modules-source 0.8.6-0ubuntu4 failed to install/upgrade: lirc kernel module failed to build (error: linux/autoconf.h: No such file or directory). Edit Remove 174 This bug affects 15 people Affects Status Importance Assigned to Milestone lirc (Ubuntu) Edit New Undecided Unassigned Edit Nominated for Lucid by Torbjörn Svensson Also affects project (?) Also affects distribution/package Nominate for series 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 https://ubuntuforums.org/archive/index.php/t-1042145.html 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: https://bugs.launchpad.net/bugs/570700 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 Tags: lirc-nct677x-src Edit Tag help Erik (erik-pope) wrote on 2010-04-27: #1 I am having the same problem how would I remove that patch? Torbjörn Svensson (azoff) wrote on 2010-04-27: #2 Removing the patch can be done by: $ cd /tmp $ apt-get source lirc-modules-source $ sudo apt-get build-dep lirc-modules-source $ cd /tmp/lirc-0.8.6 $ nano debian/patches/series # remove the lirc_dev-2.6.33.patch line and save $ debuild $ sudo dpkg -i ../lirc-modules-source*deb Probably there's a better way to do this, but this is what I did to test
to make it more accesible to high level programmers. In my spare time I write open source programs in C#. Friday, December 24, 2010 HOWTO: http://blog.hexad.dk/2010/12/howto-get-working-asrock-ht330-remote.html Get working ASRock HT330 remote on XBMC and Ubuntu HOWTO: Get working ASRock HT330 remote on XBMC and UbuntuNote: If you don't care for the details, scroll down and grab the entire script below.First thing you need to do is get a console. If you are using XBMC, press CTRL+ALT+F1.In the console, you need to log in with your username and password.Once you are logged in, error dkms create a working folder:mkdir ir
cd ir
You need lirc for remotes to work:sudo apt-get install lircNow you need to get the CIR drivers from ASRock:
wget "http://europe.asrock.com/downloadsite/drivers/Nettop/Ubuntu/IR(10.04).zip" --output-document=cir.zip
unzip -j cir.zip
unzip -j lirc-nct677x-1.0.4-ubuntu10.04.zipI found the ASRock drivers here.Now try to install it:sudo dpkg -i lirc-nct677x-1.0.4-ubuntu10.04.debAs explained in another blog you must choose "None" and then "None" again.It will do work, and then ask you again error dkms tree for receiver type. This time select the"Nuvoton Transceivers/Remotes" as the receiver and then "None" for the transmitter.If it fails, your output will look like this:* Stopping remote control daemon(s): LIRC[ OK ]
patching file /usr/share/lirc/lirc.hwdb
* Stopping execution daemon: irexec [fail]
* Stopping remote control daemon(s): LIRC [fail]
* Starting execution daemon: irexec [fail]Now try to manually load the module:sudo modprobe lirc_wb677You will likely get an error like this:FATAL: Error inserting lirc_wb677 (/lib/modules/2.6.31-16-generic/kernel/ubuntu/lirc/lirc_wb677/lirc_wb677.ko): Invalid module formatAnd if you run dmesg you will see:[ 534.630092] lirc_dev: IR Remote Control driver registered, major 61
[ 534.631027] lirc_wb677: disagrees about version of symbol module_layoutWhat has happened is that the kernel version does not match the version that the driver was made for, so now you need to build your own driver.First, get the tools to build the driver:sudo apt-get update
sudo apt-get install dkms build-essential lirc-modules-sourceThen install the source for the driver:unzip -j lirc-nct677x-src-1.0.4-ubuntu10.04.zip
sudo dpkg -i lirc-nct677x-src-1.0.4-ubuntu10.04.debYou will now get the message:You can use dkms commands to compile / install nct677x / w836x7 CIR driver now.
e.g.
to build src : dkms build -m lirc-nct677x-src -v 1.0.0-ubuntu9.10
to install binary : dkms install -m lirc-nct677x-src -v 1.0.0-ubuntu9.10
to uninst