Hello All,
I am currently trying to set up lirc with a IRA-3 receiver that i
purchased from Home Electronics
(http://www.home-electro.com/ira3.php). The receiver is hooked up to
serial port 1 (ttyS0) and when I cat /dev/ttyS0, i can see it print
output to the screen when I send it commands from a Radio Shack
15-2116 remote control.
I have installed libirman-0.4.3, which I compiled from source after
applying the patch for IRA-3 devices that Pratap Pereira release on
this list (http://sourceforge.net/mailarchive/message.php?msg_id=3D10826076=
).
I am running Gentoo and the kernel is 2.6.12-gentoo-r9. The serial
driver is compiled into the kernel. I installed lirc-0.7.2 using the
Gentoo ebuild and did pass options to build the irman driver when
installing.
When I try to run irrecord, it quits with the following message
kubrick usr # irrecord -d /dev/ttyS0 -H irman test
irrecord - application for recording IR-codes for usage with lirc
Copyright (C) 1998,1999 Christoph Bartelmus(lirc@...)
irrecord: could not init hardware (lircd running ? --> close it, check
permissions)
The output to syslog is:
Aug 27 02:33:19 kubrick irrecord: could not open /dev/ttyS0
Aug 27 02:33:19 kubrick irrecord: irman_init(): Unknown error 4294967293
When I run lircd, it starts up but quits as soon as I run irw.
kubrick sbin # ./lircd -n -d /dev/ttyS0 -H irman
lircd-0.7.2[13068]: lircd(irman) ready
running irw crashes lircd
lircd-0.7.2[13068]: accepted new client on /dev/lircd
lircd-0.7.2[13068]: could not open /dev/ttyS0
lircd-0.7.2[13068]: irman_init(): Unknown error 4294967293
lircd-0.7.2[13068]: caught signal
I am running as root so permissions aren't a problem. Particularly
since I can get output on the same serial port by just catting the
device (as mentioned above).
Machine specs:
P4 3.2 ghz
2GB RAM
Gigabyte GA-8I945P Pro motherboard
Gigabyte GeForce 6600 256MB vga card
Hauppauge PVR-500 tv tuner card
Alink+ Atheros based PCI wireless card
2 x 250gb Hitachi SATA-2 HD
NEC ND-3520 DVD burner
ASUS 16x DVD-ROM
Antec NeoPower 480 PS
I'm using the one and only serial card on the MB and its irq settings are
ttyS0 at I/O 0x3f8 (irq =3D 4)
I am attaching my kernel .config file to this message. I am running
the NVIDIA binary graphics drivers (v 1.0.7676).
This is the last missing bit thats preventing my MythTV machine from
being rolled out into the TV area. I would be hugely grateful if some
kind soul were to help me get lirc working.
Thanks
Ali
P.S. I apologize to the admins if this appears as a repost, I had
initially attached my kernel config file and the message was over the
20k size limit.
|