LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-21-2005, 08:13 PM   #1
fraz
Member
 
Registered: Nov 2004
Location: Edinburgh, Scotland
Distribution: Ubuntu
Posts: 149

Rep: Reputation: 15
Lirc doesn't work, irrecord does


Hi,
This is driving me absolutely crazy. I cannot get lirc working for my mythtv box. I am running FC4 i386 version and have the kernel modules in place. They are reported by lsmod so that is fine. I can create a lircd.conf file with irrecord. it responds to my use of the remote BUT nothing else does.
irw completely ignores me, irxevent starts ok but then doesn't do anything irkick doesn't even register that lirc is running.
there are three devices in my /dev. lirc, lircd and lirc0.
Please help me on this.

i should probably say that i am using the serial device from zapway.de on com1

Last edited by fraz; 09-21-2005 at 08:45 PM.
 
Old 10-04-2005, 02:40 PM   #2
tesseractive
LQ Newbie
 
Registered: Dec 2004
Posts: 12

Rep: Reputation: 1
I'm having the same problem on FC4

Switched from a semi-working knoppmyth to this, so I'm sure the hardware works fine.

irw runs once, no output, then I see the shell prompt again. I try to run it again, and it complains that it can't open the socket.

Honestly haven't tried irrecord yet.
 
Old 10-04-2005, 05:31 PM   #3
fraz
Member
 
Registered: Nov 2004
Location: Edinburgh, Scotland
Distribution: Ubuntu
Posts: 149

Original Poster
Rep: Reputation: 15
i might be reasonably well placed to help you now since i managed to get it working recently.
First things first you need to set up a lircd.conf file before irw will even begin to talk to you. It basically aps the ir frequency to a button name so you won't see any output until you get this file set up. try using irrecord, it will ask you to press buttons to set up the remotes basic io params. if when it asks you don't see dots appearing along the bottom then let me know, either way let me know actually.
 
Old 10-04-2005, 10:18 PM   #4
tesseractive
LQ Newbie
 
Registered: Dec 2004
Posts: 12

Rep: Reputation: 1
Fraz -- you mentally prodded me to get it working.

I had tried running irrecord, and it kept complaining that it couldn't find lircd. So I started it.

It then complained:

irrecord: could not init hardware

After poking around a little, I found a reference to loading the lirc_i2c module (see http://pc8.2ch.net/test/read.cgi/linux/1055162507/). When I went to see if it was loaded, it wasn't. I loaded it with:

/sbin/modprobe lirc_i2c debug=1
/sbin/service lircd restart

and lo and behold, irrecord worked, irw worked. I *knew* the lircd.conf was OK (well, I trusted), since it's Jarod's from wilsonet.com.

Myth, however, wouldn't do anything with it, until I saw that I had not put a lircrc in ~/.mythtv. (oops).

Once that was done (again, from wilsonet), it worked perfectly.

Almost. I've added all suggested lines to /etc/modprobe.conf, but when I reboot, none of this loads automatically. lircd is non-existent. lirc_i2c -- not loaded.

Whew. Ever closer...

Thanks, and any suggestions on figuring out why these won't load would be appreciated.
 
Old 10-05-2005, 06:27 AM   #5
fraz
Member
 
Registered: Nov 2004
Location: Edinburgh, Scotland
Distribution: Ubuntu
Posts: 149

Original Poster
Rep: Reputation: 15
yeah I had the problem with it not starting as well. there is a service manager in one of the menus, (can't remember which, at work and away from my linux box buried somewhere in the system tools menu i think) you can set lircd to start from boot there and it *should* work from then on. I haven't really had cause to check into this much since my mythbox is on permanently and hasn't been switched off since i got lirc working, but I'm sure we can work through any further problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lirc won't work, Hauppauge PVR 350, not irrecord either lagu2653 Linux - Hardware 3 12-02-2005 06:15 PM
pb with lirc and xmms amine Linux - Software 4 04-04-2005 09:58 AM
can lirc work without compiling a module? mstrimel Linux - Software 3 01-29-2005 09:35 PM
LIRC and 2.6.3 hoborocks Linux - Hardware 3 08-14-2004 11:56 AM
Compiling LIRC Aeiri Linux - Software 0 02-27-2004 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration