Re: LIRC receiving is working, irsend the ir transmitter blinks, but tv does not see it

Jake Gaisser <[email protected]> Tue, 13 Aug 2019 10:14:38 -0700
Newsgroups gmane.comp.hardware.lirc
Message-ID <CALarDwMgp-OUZ0u515Gw9xMrC2B1DUPSGb9tHnB=-DESeUGUPg@mail.gmail.com>
Bengt Martensson sorry for the double reply, I have not really used mailing
lists before, and I think I was supposed to hit reply to all.


I am sorry, I should have explicitly said that I do have the emitter. I
have the wired IR emitter with the jack, it is plugged in, and I have the
emitter positioned about 1 foot in front of my TVs IR Receiver.

When I issue the irsend command I can see that the IR emitter Does blink.

I decided to capture some raw codes so that I could see if that would make
a difference, and also to see what they look like:

sudo mode2 -m --driver default --device /dev/lirc0 > ~/lirc.conf

here are the results, this is me quickly pressing the volume up button on
my Samsung BN59-01199F remote: https://pastebin.com/bwCMLdpR

I have also tried using the pronto codes listed at http://irdb.tk and then
using pronto2lirc to convert them, but the tv also does not recognize them:
http://www.lirc.org/html/pronto2lirc.html

If you were in my situation how would you debug this? I have a second pc
and IR receiver (of the same model) that I can setup in the same room and
check that it is seeing the same/correct codes.

When I issue the irsend the IR receiver on that same PC see's it if I am
also running IRW in another terminal window and it appears to be correct,
such as when I press volume up, it sees volume up for the appropriate
remotes .lircd.conf file.

irsend SEND_ONCE BN59-01199F KEY_VOLUMEUP




On a unrelated side note, every time I try to record with irrecord I must
first edit /etc/lirc/lirc_options.conf

so that driver = devinput and device = auto

otherwise when I try to use irrecord or mode2 I get an error message:

sudo mode2 -m --driver default --device /dev/lirc0 > ~/lirc.conf
Using driver default on device /dev/lirc0
Cannot initiate device /dev/lirc0

so I set it back to devinput and auto, reboot, record whatever I want, edit
the file back to driver = default and device = /dev/lirc0 again, reboot
again, and now sudo irw can make use of my newly created .lircd.conf files,
is this normal behavior when wanting to record?


There is always a next step when it comes to debugging a problem, but I
have zero experience with sending or debugging codes sent with irsend, and
I am hoping to get some help from all of the experts telling me what I
should be checking next. I really appreciate the help, thank you so much.

On Mon, Aug 12, 2019 at 11:10 PM Bengt Martensson <[email protected]>
wrote:

> On 8/13/19 12:35 AM, Jake Gaisser wrote:
> > I am running Ubuntu 18.04 with lirc 0.10.0-2 version
> >
> > hardware: HP Windows Media Center Remote and USB Receiver OVU400103/00 &
> > 5069-8344
> >
> > This receiver has 2 jacks on the back for 2 IR transmitters.
> ....
> It does not come with an internal IR sending LED, so you MUST connect
> something (goggle "stickon IR emitter") to one (or both) of these 3.5mm
> jacks.
>
> Does this help?
>
>