Jitter in recording from Samsung remote?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Jitter in recording from Samsung remote?

Michael Sarahan
I'm having trouble getting irrecord to work with a Samsung remote from a BD-J5100 blu-ray player.  I have tried this in a dark room.  I'm using a Raspberry Pi 3, with a Sharp brand IR transceiver.  I have successfully recorded signals from a Sceptre TV remote and an Onkyo receiver remote, so I'm fairly confident in the capability of the capture electronics.

Sometimes irrecord succeeds in finding its parameters, like:

# Please make this file available to others
# by sending it to <[hidden email]>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Mon Apr 25 02:21:07 2016
#
# contributed by
#
# brand:                       /home/pi/samsung.conf3
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

  name  /home/pi/samsung.conf3
  bits           37
  flags SPACE_ENC
  eps            30
  aeps          100

  header       4632  4389
  one           607  1400
  zero          607   394
  ptrail        596
  gap          57312
  toggle_bit_mask 0x0

      begin codes
      end codes

end remote

However, it then never is able to correctly do a key, always failing with Something went wrong. Please try again. (9 retries left).

I have tried also to record raw signals, and get output like the following bit:

     4615     4394      607      421      582      420
      583      420      584      419      583      420
      583     1422      584      420      582      421
      582      421      582      420      583      420
      583      421      581      422      581      422
      582      420      582      408      582     4422
      579     1423      583     1422      583     1423
      583      421      582      421      586      417
      581      422      582      421      581      422
      582      421      582      421      582      421
      582     1424      582     1429      577     1424
      581     1424      582     1424      582     1424
      581     1425      582     1423      583    57323

     4616     4394      612      414      583      420
      583      420      583      420      583      420
      582     1422      584      420      583      420
      583      420      586      417      582      420
      583      420      582      421      582      421
      582      421      582      408      582     4421
      578     1424      582     1422      583     1422
      583      421      582      421      586      417
      581      422      581      422      581      422
      581      421      582      421      582      422
      580     1425      581     1429      578     1424
      587     1418      582     1424      582     1424
      582     1428      577     1424      582    57326

     4614     4394      611      416      582      421
      582      421      582      420      583      420
      584     1422      582      421      582      421
      582      421      587      416      582      420
      583      421      582      420      583      420
      582      421      582      408      582     4422
      578     1423      583     1423      582     1424
      581      422      582      421      587      415
      582      421      582      421      582      421
      582      421      581      421      582      422
      581     1424      582     1429      576     1425
      580     1425      582     1424      582     1424
      581     1429      576     1425      582    57329

Analysing these blocks with irrecord -a always fails.

Is it normal to see small jitter in these values?  Is this something that Samsung is doing intentionally to block things like LIRC?  Is there anything I can do to work around this?

Thanks for any tips.
Michael

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Jitter in recording from Samsung remote?

Bengt Martensson-2
On 04/25/16 04:35, Michael Sarahan wrote:
 > I'm having trouble getting irrecord to work with a Samsung remote from a
 > BD-J5100 blu-ray player.  I have tried this in a dark room.  I'm using a
 > Raspberry Pi 3, with a Sharp brand IR transceiver.  I have successfully
 > recorded signals from a Sceptre TV remote and an Onkyo receiver remote,
 > so I'm fairly confident in the capability of the capture electronics.

...

 > Is it normal to see small jitter in these values?  Is this something
 > that Samsung is doing intentionally to block things like LIRC?  Is there
 > anything I can do to work around this?
 >
 > Thanks for any tips.
 > Michael

All physical measurements are associated with measurement errors, random
and systematic. Thus, a certain amount of "jitter" is normal. The raw
signals you gave can all be decoded by IrScrutinizer as

protocol = Samsung36, device = 32, subdevice = 0, obc = 0, misc = E=7

irrecord is a piece of, well, not-so-modern technology. Don't use it.
Instead you can use IrScrutinizer, which can generate lircd.conf files
for you, at least in raw format.

Furthermore, the command set used for Samsung's BluRay players is well
known and has not changed for many years, and available on many sources
on the internet. I just snarfed the one ("All Models") on
https://irdb.globalcache.com, imported it in TrScrutinizer, and exported
as lirc, enclosed. (I had to shorten the file, since the mailing list
has a limit of 20kB(!))

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

lirc_2016-04-25_10-22-02.lircd.conf (17K) Download Attachment
Loading...