I have installed lirc 0.8.7 pre3 and trying to use IR over portaudio.
using this setup:http://people.inf.ethz.ch/mringwal/lirc/
My problem is this:
when lirc starts at system startup, it segfaults when i try to access it with IRW or other program that i configured to use lirc, i.e. XBMC.
The error is this:
Dec 27 18:52:42 media kernel: [ 8212.929126] lircd: segfault at 0 ip 00007f2efaa84fd3 sp 00007f2ef5698cb0 error 4 in libportaudio.so.2.0.0[7f2efaa7c000+2b000]
At first i thought it has something to do with the startup timing, so i set up monit service to watch for lirc, and restart it if not running, so it does exactly that, but still segfaults.
But if i manually run "sudo /etc/init.d/lirc start" from terminal, it stays up and works as it should.
My system is default installtion of UBUNTU 10.10, 64bit.
What can be the problem? What is the diference between these startups? Any help is apreciated.
this is my hardware.conf:
#Chosen Remote Control
REMOTE="Receiver/transmitter using PortAudio (EXPERIMENTAL)"
#Chosen IR Transmitter
#Don't start lircmd even if there seems to be a good config file
#Try to load appropriate kernel modules
# Default configuration files for your hardware if any
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"