Re: Cannot install GIRS driver

Bengt Martensson <[email protected]>
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>
On 03/09/17 14:42, Chris van Hoven wrote:
 > I am trying to install GIRS drivers for LIRC. I am using the newest
 > 64bit version of Ubuntu and have installed the latest LIRC version
 > (0.9.4d) like this:
 >
 > cd /tmp
 >
 > wget http://prdownloads.sourceforge.net/lirc/lirc-0.9.4d.tar.bz2
 >
 > tar -jxf lirc-0.9.4d.tar.bz2

(Aside: consider

git clone git://git.code.sf.net/p/lirc/git
)
 >
 > cd lirc-0.9.4d
 >
 > aclocal && autoheader && autoconf
 >
 > ./configure --with-x --with-driver=girs

--with-driver is obsolete, and I *think* --with-x too.

See below.

 > make && sudo make install
 >
 > Install must have worked as IRSEND can be executed – unfortunately with
 > error messages:
 >
 > master@TVHEADEND:/tmp/lirc-0.9.4d$ irsend SEND_ONCE LE55A956 KEY_1
 >
 > do_connect: could not connect to socket
 >
 > connect: No such file or directory
 >
 > Cannot open socket /usr/local/var/run/lirc/lircd: No such file or 
directory

Sigh... Why the Lirc configuration does this as default, after all these 
years, is beyond me ... If you configure with

--sysconfdir=/etc  --localstatedir=/var

alternatively

--prefix=/usr

I think it should work.

 > I am using a IR blaster that I assembled using these instructions:
 > http://www.harctoolbox.org/arduino_nano.html
 >
 > The hardware works perfectly as I tested it using IrScrutinizer.

Interestingly enough, all the problems are with Lirc, none sofar with 
Girs/AGirs...

 > Unfortunately I do not know how to configure GIRS with the hardware
 > module. Can anybody point me in the right direction?

First thing to try is

% mode2 --driver girs --device=/dev/ttyUSB0

Greetz,

Bengt


------------------------------------------------------------------------------
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.