FW: Cannot install GIRS driver

"Chris van Hoven" <[email protected]>
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>
Ok, mode2 gives me this (after sudo -i):


mode2 --driver girs --device=/dev/ttyUSB0 Using driver girs on device
/dev/ttyUSB0 Trying device: /dev/ttyUSB0 Using device: /dev/ttyUSB0 Running
as regular user master


So, something is happening.


Unfortunately irsend fails again:


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


I created a lircd.conf ind /var/run/lirc. The lircd.conf is workings  as I
used it before with a different solution.


PS I did recompile using 

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

Rebooted after that

-----Original Message-----
From: Bengt Martensson [mailto:[email protected]]
Sent: Donnerstag, 9. März 2017 15:31
To: [email protected]
Subject: Re: Cannot install GIRS driver

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



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