Introducing Plirc, was Re: Problems with RC-5, arduino and usbx
Gerion Entrup <[email protected]> Thu, 15 Feb 2018 21:32:42 +0100
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Message-ID | <6055698.AKpNhX6Ena@gump> |
Am Mittwoch, 4. Oktober 2017, 20:22:29 CET schrieb Bengt Martensson:
> On 10/03/17 17:10, Gerion Entrup wrote:
> > Hi,
> >
> > I own a Hauppauge TV card with a remote, that was perfectly supported by the
> > kernel with lirc and the devinput driver.
> > Anyway I don't use the the TV function, so I tried to use the remote with an
> > arduino and communicate per USB serial with the Linux system.
> >
> > The detection of the remote control with the arduino was no problem and also
> > not the output per Serial. The problem is creating a correct lircd.conf.
> >
> > I decided to use the usbx over the girs driver, bacause of the simple layout
> > (on both sides) and no overhead of speaking to the arduino (I also want to use
> > the arduino for another service, where only sending signals to the arduino is
> > neccessary).
>
> Wow. With so much "creativity" ("ADSTech USBX-707 USB IR Blaster" ???)
> you should not be surprised that no-one is willing and able to support
> you... ;-).
>
> You probably do not want to hear this, but I would instead flash
> GirsLite (properly configured) to the Arduino, and use the Girs driver.
> With GirsLite on the Arduino board, you can use IrScrutinizer to
> generate the lircd.conf instead of irrecord, it is MUCH better... And
> you will be able to send IR using lirc.
>
> That way, you should be up and running in half an hour.
>
> Greetz,
>
> Bengt
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
I want to have a driver, that is only reading the serial device, so at first I
decided to write my own driver. Anyway, that developed into reimplementing
a part of lirc in Python [1]. Feel free to use it. ATM, it is made for my
usecase, but with a modular design, so it can be extended.
I hope the name is ok.
Gerion
[1] https://gitlab.com/geri0n/plirc
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot