Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old April 25th, 2007   #1
tranquillion
First Cup of Ubuntu
 
Join Date: Apr 2005
Location: Los Angeles
Beans: 9
Kubuntu 7.04 Feisty Fawn
Can't get LIRC to work on Feisty

Hi,

I followed the instructions at https://help.ubuntu.com/community/Install_Lirc_Feisty to install LIRC for my Hauppauge remote. However, when I start irw for testing purposes, irw is exiting right away, so according to the instructions some modules are not loading correctly. The relevant lines from dmesg are:
Code:
[   50.156492] lirc_dev: IR Remote Control driver registered, at major 61
[   50.172942] lirc_pvr150: no version for "lirc_unregister_plugin" found: kernel tainted.
[   50.218763] lirc_pvr150: chip found with RX and TX
[   50.219440] lirc_dev: lirc_register_plugin: sample_rate: 0
[   50.231127] lirc_pvr150: firmware haup-ir-blaster.bin not available (-2)
I'm not planning to use the IR blaster, but I don't know if the missing firmware causes the module to fail. Any pointers would be appreciated!

Thanks
Klaus
tranquillion is offline   Reply With Quote
Old April 25th, 2007   #2
superm1
Ubuntu Developer
 
superm1's Avatar
 
Join Date: Oct 2005
Location: Austin, TX
Beans: 2,725
Ubuntu 8.04 Hardy Heron
Re: Can't get LIRC to work on Feisty

If you aren't planning to use the blaster, there is no need to build the pvr150 module. Just need the lirc_i2c module. Rebuild with just that and you should be fine.
superm1 is offline   Reply With Quote
Old April 26th, 2007   #3
tranquillion
First Cup of Ubuntu
 
Join Date: Apr 2005
Location: Los Angeles
Beans: 9
Kubuntu 7.04 Feisty Fawn
Re: Can't get LIRC to work on Feisty

Ok, thanks; I removed pvr150 in both the dpkg-reconfigure dialog, and in /etc/lirc/hardware.conf. Now the only lirc-related message I see in dmesg is

[ 53.879014] lirc_dev: IR Remote Control driver registered, at major 61

However, irw still exits immediately... any suggestions where to look for the problem?

Thanks
Klaus
tranquillion is offline   Reply With Quote
Old April 26th, 2007   #4
superm1
Ubuntu Developer
 
superm1's Avatar
 
Join Date: Oct 2005
Location: Austin, TX
Beans: 2,725
Ubuntu 8.04 Hardy Heron
Re: Can't get LIRC to work on Feisty

Quote:
Originally Posted by tranquillion View Post
Ok, thanks; I removed pvr150 in both the dpkg-reconfigure dialog, and in /etc/lirc/hardware.conf. Now the only lirc-related message I see in dmesg is

[ 53.879014] lirc_dev: IR Remote Control driver registered, at major 61

However, irw still exits immediately... any suggestions where to look for the problem?

Thanks
Klaus
You should still be getting a lirc_i2c module loading, can you attempt to modprobe it.

Code:
sudo modprobe lirc_i2c
superm1 is offline   Reply With Quote
Old April 26th, 2007   #5
tranquillion
First Cup of Ubuntu
 
Join Date: Apr 2005
Location: Los Angeles
Beans: 9
Kubuntu 7.04 Feisty Fawn
Re: Can't get LIRC to work on Feisty

Quote:
Originally Posted by superm1 View Post
You should still be getting a lirc_i2c module loading, can you attempt to modprobe it.

Code:
sudo modprobe lirc_i2c
Oh, maybe I've read the instructions at https://help.ubuntu.com/community/Install_Lirc_Feisty wrong! I took the MODULES line literally from the instructions for the pvr-150 on-card blaster and added only lirc-dev and lirc-pvr150. Now I realize that this probably activates only the blaster, and I should also have lirc-i2c in there. Is that correct?

I'll try this when I get home...

Thanks
Klaus
tranquillion is offline   Reply With Quote
Old April 26th, 2007   #6
tranquillion
First Cup of Ubuntu
 
Join Date: Apr 2005
Location: Los Angeles
Beans: 9
Kubuntu 7.04 Feisty Fawn
Re: Can't get LIRC to work on Feisty

Or is this a simple misprint in the instructions? Should the line in /etc/lirc/hardware.conf read
Code:
MODULES="lirc_i2c lirc_pvr150"
?

Klaus
tranquillion is offline   Reply With Quote
Old April 26th, 2007   #7
superm1
Ubuntu Developer
 
superm1's Avatar
 
Join Date: Oct 2005
Location: Austin, TX
Beans: 2,725
Ubuntu 8.04 Hardy Heron
Re: Can't get LIRC to work on Feisty

It should be

MODULES="lirc_i2c"
if you don't need the blaster.

MODULES="lirc_i2c lirc_pvr150"
if you do need the blaster.
superm1 is offline   Reply With Quote
Old April 26th, 2007   #8
tranquillion
First Cup of Ubuntu
 
Join Date: Apr 2005
Location: Los Angeles
Beans: 9
Kubuntu 7.04 Feisty Fawn
Re: Can't get LIRC to work on Feisty

Quote:
Originally Posted by superm1 View Post
It should be

MODULES="lirc_i2c"
if you don't need the blaster.

MODULES="lirc_i2c lirc_pvr150"
if you do need the blaster.
Thanks! I've updated the documentation.

Klaus
tranquillion is offline   Reply With Quote
Old May 2nd, 2007   #9
cmchugh
First Cup of Ubuntu
 
Join Date: May 2007
Beans: 2
Re: Can't get LIRC to work on Feisty

I also got stuck at the point where irw does not work as described in the guide. I fixed it by quiting lircd if it is running (note that if you try to run irw and it returns with no response, it will also stop lircd if is running). Then I did the following:

sudo ln -s /etc/lirc/lircd.conf /etc/lircd.conf

Then start lircd with:

sudo lircd -d /dev/lirc/0

the irw command should now work as expected and you can continue with the procedure.

Lircd will have to be started using the sudo lircd -d /dev/lirc/0 command after a reboot unless you get it to load that way at boot.

I found most of this information at:

http://forum.byopvr.com/dvr/index.ph....msg14297.html

I don't know if this will work for everyone but it worked for me in edgy and feisty...
cmchugh is offline   Reply With Quote
Old May 3rd, 2007   #10
superm1
Ubuntu Developer
 
superm1's Avatar
 
Join Date: Oct 2005
Location: Austin, TX
Beans: 2,725
Ubuntu 8.04 Hardy Heron
Re: Can't get LIRC to work on Feisty

Quote:
Originally Posted by cmchugh View Post
I also got stuck at the point where irw does not work as described in the guide. I fixed it by quiting lircd if it is running (note that if you try to run irw and it returns with no response, it will also stop lircd if is running). Then I did the following:

sudo ln -s /etc/lirc/lircd.conf /etc/lircd.conf

Then start lircd with:

sudo lircd -d /dev/lirc/0

the irw command should now work as expected and you can continue with the procedure.

Lircd will have to be started using the sudo lircd -d /dev/lirc/0 command after a reboot unless you get it to load that way at boot.

I found most of this information at:

http://forum.byopvr.com/dvr/index.ph....msg14297.html

I don't know if this will work for everyone but it worked for me in edgy and feisty...
If you are stuck using these workarounds, then you don't have the init script from the ubuntu lirc package installed. You are using an init script from a source tgz typically.
superm1 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:19 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry