RE: FW: Cannot install GIRS driver

"Chris van Hoven" <[email protected]>
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>
My platform is Ubuntu (newest server version) on an Intel platform.

What I did now:

Installed everything AGAIN (clean), using the approach as described on
lirc.org, including your remarks below.

sudo apt-get install libtool-bin
cd /tmp
wget http://prdownloads.sourceforge.net/lirc/lirc-0.9.4d.tar.bz2
tar -jxf lirc-0.9.4d.tar.bz2
cd lirc-0.9.4d
./autogen.sh
./configure  --prefix=/usr --sysconfdir=/etc
make
sudo make install

Did lircd -d /dev/ttyUSB0 - no problem!
 
Edited lircd.conf, so it contains the correct IR codes.

Tried IRSEND, which failed :-(

root@TVHEADEND:/tmp/lirc-0.9.4d# irsend SEND_ONCE LE55A956 KEY_1
do_connect: could not connect to socket
connect: Connection refused
Cannot open socket /usr/local/var/run/lirc/lircd: Connection refused


-----Original Message-----
From: Alec Leamas [mailto:[email protected]] 
Sent: Donnerstag, 9. März 2017 17:56
To: Chris van Hoven <[email protected]>;
[email protected]
Subject: Re: FW: Cannot install GIRS driver



On 09/03/17 17:40, Chris van Hoven wrote:
> Ok, sorry - I have to get used to this mailing list, so please indulge 
> me
> :-)
>
> What I did now: I removed EVERYTHING LIRC and reinstalled to get to a 
> defined state.
>
> cd /tmp
> wget http://prdownloads.sourceforge.net/lirc/lirc-0.9.4d.tar.bz2
> tar -jxf lirc-0.9.4d.tar.bz2
> cd lirc-0.9.4d
> aclocal && autoheader && autoconf
> ./configure --prefix=/usr
> make && sudo make install

There is a autogen.sh script for this...
>
> lirc_options.conf  was created in /usr/etc/lirc. I set the loglevel to 
> debug using loglevel = debug.
>
> I tested this first, it returns an error:
>
> lircd -d /dev/ttyUSB0
> Warning: cannot open /etc/lirc/lirc_options.conf can't open or create 
> /var/run/lirc/lircd.pid: No such file or directory
>
> The directory it looks for lirc_options.conf does not match the 
> directory lirc_options.conf is created in. Shall I just create 
> /etc/lirc and MOVE everything in /usr/etc/lirc to this directory?

So,in this setup you need to add --sysconfdir=/etc as well to configure
before building.

You also need to make sure that the directory /var/run/lirc exists and is
writable.

What's your platform?


--a


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.