View previous topic :: View next topic |
Author |
Message |
erectus n00b
Joined: 04 Nov 2002 Posts: 9
|
Posted: Tue Nov 05, 2002 6:29 pm Post subject: Lirc problems |
|
|
I´ve got an ir reciever and I have lirc installed, but when I have loaded the lirc_serial and the serial port. It worked on my s.u.s.e dist before i installed gentoo, I have the old configs from suse which worked fine like /etc/lircd.conf, and .lircrc in my home catalog.. i have done a mknod /dev/lirc c 61 0, which i read here on the forum, when i try to do mode2 it starts fine but the ir reciever doesnt react!!! how come, |
|
Back to top |
|
|
Coogee Apprentice
Joined: 23 Apr 2002 Posts: 184 Location: E.U.
|
Posted: Tue Nov 05, 2002 7:53 pm Post subject: |
|
|
In my case I had to add the device in the init script (/etc/init.d/lircd):
Code: | #!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
depend()
{
need net
}
start()
{
ebegin "Starting lircd"
start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- --device=/dev/lirc/0
eend $?
}
stop()
{
ebegin "Stopping lircd"
start-stop-daemon --stop --quiet --exec /usr/sbin/lircd -- --device=/dev/lirc/0
eend $?
}
|
Perhaps, you need something similar... |
|
Back to top |
|
|
erectus n00b
Joined: 04 Nov 2002 Posts: 9
|
Posted: Tue Nov 05, 2002 8:08 pm Post subject: |
|
|
Thank u, u are my hero.. it works now... thanx |
|
Back to top |
|
|
Matje l33t
Joined: 29 Oct 2002 Posts: 619 Location: Hasselt, Belgium
|
Posted: Sun Nov 24, 2002 9:34 pm Post subject: |
|
|
This should be made sticky :d
It was the answer too my problem too. Irexec just said "Couldn't connect to socket" but now it works like a charm again! |
|
Back to top |
|
|
Henning Apprentice
Joined: 08 Sep 2002 Posts: 196 Location: Braunschweig
|
Posted: Mon Nov 25, 2002 7:40 pm Post subject: |
|
|
Hi,
my init script looks like above, but does not contain 'device=/dev/lirc/0'.
I have also made mknod.
In my /etc/modules.d I have created a file lircd, with the following content:
alias char-major-61 lirc_serial
options lirc_serial irq=4 io=0x3F8
Is this file neccesary or not?
Henning |
|
Back to top |
|
|
Matje l33t
Joined: 29 Oct 2002 Posts: 619 Location: Hasselt, Belgium
|
Posted: Tue Nov 26, 2002 9:31 pm Post subject: |
|
|
I know it might sound stupid, but did you run update-modules after creating the lirc-file? |
|
Back to top |
|
|
cranch n00b
Joined: 02 Jul 2002 Posts: 47
|
Posted: Wed Nov 27, 2002 4:59 am Post subject: |
|
|
Where did you guys get your config files from? I've got a Packard Bell Fast Media Remote I was thinking I could setup. I've googled a bit but only seem to find dead-links to the configs... |
|
Back to top |
|
|
Matje l33t
Joined: 29 Oct 2002 Posts: 619 Location: Hasselt, Belgium
|
Posted: Wed Nov 27, 2002 10:45 am Post subject: |
|
|
On http://www.lirc.org there are a bunch of sample config files. If it isn't there you can still create it yourself, with irrecord. But don't know how that works precisely |
|
Back to top |
|
|
Henning Apprentice
Joined: 08 Sep 2002 Posts: 196 Location: Braunschweig
|
Posted: Wed Nov 27, 2002 6:15 pm Post subject: |
|
|
Hi,
I did 'update-modules' of course.
To get the codes for my IR i did record them with irrecord.
Henning |
|
Back to top |
|
|
|