RE: FW: Cannot install GIRS driver

Chris van Hoven <[email protected]>
Newsgroups gmane.comp.hardware.lirc
Message-ID <HE1PR0801MB19963B717194D002EEE68E64AF200@HE1PR0801MB1996.eurprd08.prod.outlook.com>
Hey Bengt, I knew it: if I keep asking, you come up with some specific stuff :-)

The Python Script sounds VERY interesting, especially because I might be able to rewrite it into PHP in order to integrate it better in my home automation solution. 

One question though: does the statement "It does not depend on anything but standard Python libraries." not contradict this statement "The name comes from the fact that the program requsts services from a Lirc server (lircd)."?
This implies that LIRC still needs to be installed and running correctly, right? It is a mere replacement for IRSEND and does not talk directly to your Arduino solution?!

Cheers,

Chris

-----Original Message-----
From: Bengt Martensson [mailto:[email protected]] 
Sent: Freitag, 10. März 2017 11:20
To: [email protected]
Subject: Re: FW: Cannot install GIRS driver

On 03/10/17 10:53, Chris van Hoven wrote:
> Hi Alec,
>
> So, last night I tried several methods of install:
>
> 1) ./configure
> 2) ./configure --prefix=/usr
> 3) ./configure --sysconfdir=/etc  --localstatedir=/var
> 4) PPA method as described here:
> https://launchpad.net/~leamas-alec/+archive/ubuntu/lirc-0.9.4
>
> Before each install I removed everything using "make uninstall" and 
> (if
> possible) deleting all directories I found using "find / -type d | 
> grep lirc ". Also I rebooted every time to make sure nothing funny is going on.
>
> Result:
> - All methods had trouble with paths, so I guess that a (or several) 
> path(s) are hardcoded somewhere.
> - Setting/Exporting LIRC_SOCKET_PATH did not help.

I am sure there is an explanation; but Alec can help better.

You can
* use irsend with --device /var/run/lirc/lircd
* Use my "Python irsend" https://github.com/bengtmartensson/PythonLircClient
* Start lircd with --listen, and then use the TCP socket interface, for example, IrScrutinizer as irsend (Sending hw -> Lirc)

IMHO (which is *not* Alec's HO) the third is preferable.

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.