Re: Cannot install GIRS driver

Alec Leamas <[email protected]>
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>

On 09/03/17 15:30, Bengt Martensson wrote:
> On 03/09/17 14:42, Chris van Hoven wrote:

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

Yup. Which makes me think you are following some ancient guide...

You might want to try http://lirc.org/html/configuration-guide.html 
(which also describes lirc_options.conf).

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

It's because of GNU conventions. Basically, a default-confígured 
installation should not clash with the rpm-maintained /usr hierarchy 
-that's what we use /usr/local and /opt for.

> --sysconfdir=/etc  --localstatedir=/var
>
> alternatively
>
> --prefix=/usr
>
> I think it should work.

Ypu probably want --prefix=/usr. On many systems you also want to set 
--libdir, but the value is platform-dependent.

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

Indeed,

--alec

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