xychix Wrote:I'm still struggling with this.
I had a running Ubuntu 9.** install.
After an upgrade to 10.4
Code:
Linux tvpc 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
Remote doesn't work anymore... not that strange...
Code:
apt-get remove lirc lirc-nct677x ; apt-get purge lirc-nct677x lirc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lirc is not installed, so not removed
E: Couldn't find package lirc-nct677x
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package lirc-nct677x
This should give me a clean start!
Code:
apt-get install lirc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
lirc-modules-source lirc-x
The following NEW packages will be installed:
lirc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/559kB of archives.
After this operation, 2,507kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package lirc.
(Reading database ... 165347 files and directories currently installed.)
Unpacking lirc (from .../lirc_0.8.6-0ubuntu4_i386.deb) ...
Processing triggers for doc-base ...
Processing 1 added doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Processing triggers for hal ...
Regenerating hal fdi cache ...
Processing triggers for ureadahead ...
Setting up lirc (0.8.6-0ubuntu4) ...
* Starting execution daemon: irexec
...fail!
This already doesn't work out as expected? I should be able to get lirc up and running WITHOUT the proper driver right?
Code:
dmesg | grep lirc
[ 1699.212935] lirc_wb677: disagrees about version of symbol module_layout
how to completely remove the current drivers for lirc and start clean ?
I had the exact same issue, until I read the Readme.txt included in the zip file from ASRock. This is how I got this working on a fresh 10.04.1 LTS server install, should work for desktop.
By default the 10.04.1 LTS installed kernel 2.6.32-24-generic-pae, so you need to install the kernel 2.6.32-23-generic, which the lirc fix from ASRock has been based on.
Assuming you have everything working just the way you like it but the remote is not working follow this procedure:
1. Remote lirc if it aleady exists
# sudo apt-get remove lirc liblircclient0 ; sudo dpkg --purge lirc liblircclient0
2. Install kernel 2.6.32-23-generic
# sudo apt-get install linux-headers-2.6.32-23-generic linux-image-2.6.32-23-generic
3. Edit /etc/default/grub and change GRUB_DEFAULT so it boot to the older kernel
# sudo vi /etc/default/grub
In my case changed GRUB_DEFAULT=0 to GRUB_DEFAULT=2
4. Reboot into 2.6.32-23-generic kernel
# sudo reboot
5. After reboot check you are running the correct kernel
# uname -a
Linux xbmc1 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC 2010 i686 GNU/Linux
6. Install lirc
# sudo apt-get install lirc
Select "None" & "None" during setup
7. Download the lirc fix from ASRock
cd /tmp
wget
http://download.asrock.com/drivers/Nettop/Ubuntu/"IR(10.04)kernel2.6.32-23.zip"
unzip IR\(10.04\)kernel2.6.32-23.zip
cd lirc-nct677x-1.0.4-buntu10.04_kernel2.6.32-23/
sudo dpkg -i lirc-nct677x-1.0.4-ubuntu10.04_kernel2.6.32-23.deb
Select "Nuvoton Transceivers/Remotes" and "None" during setup.
8. Check that it installed correctly
# sudo dmesg | grep lirc
You should see something similar to this
[ 7.001180] lirc_dev: IR Remote Control driver registered, major 61
[ 7.046587] lirc_wb677 w677hga: chip id high: 0xb4
[ 7.046603] lirc_wb677 w677hga: chip id low: 0x73 expect:0x73
[ 7.048158] lirc_dev: lirc_register_driver: sample_rate: 0
9. Reboot and enjoy!