Quantcast

Proper blaster config in this file?

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

Proper blaster config in this file?

Mark Hutchinson
Hello,

I have an MCE remote working perfectly ( first part of the config )

The remote is from my STB box, and I need to transmit those same signals
to my STB to change channels.

So in the config below, I simply duplicated the config and renamed it
"blaster"

However, it does not seem to work!


Any advice?  Would the send and receive config be the same with the codes?


Thanks


Mark

Please make this file available to others
# by sending it to <[hidden email]>
#
# this config file was automatically generated
# using lirc-0.9.0(default) on Mon Mar 20 14:57:23 2017
#
# contributed by
#
# brand:                       own_remote.conf.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

   name  own_remote.conf
   bits            8
   flags RCMM|CONST_LENGTH
   eps            18
   aeps          100

   header        417   278
   three         167   778
   two           167   611
   one           167   444
   zero          167   278
   ptrail        167
   pre_data_bits   24
   pre_data       0x248026
   gap          99817
   min_repeat 1
   suppress_repeat 2
   toggle_bit_mask 0x8000

begin codes
           KEY_1                    0x01
           KEY_2                    0x02
           KEY_3                    0x03
           KEY_4                    0x04
           KEY_5                    0x05
           KEY_6                    0x06
           KEY_7                    0x07
           KEY_8                    0x08
           KEY_9                    0x09
           KEY_0                    0x00
       KEY_POWER                0x0C
           KEY_REWIND               0x29
           KEY_STOP                 0x31
           KEY_FASTFORWARD          0x28
           KEY_PAUSE                0x2C
           KEY_OK                   0x5C
           KEY_VOLUMEUP             0x0C
           KEY_CHANNELUP            0x20
           KEY_CHANNELDOWN          0x21
       end codes

end remote

begin remote

   name  blaster
   bits            8
   flags RCMM|CONST_LENGTH
   eps            18
   aeps          100

   header        417   278
   three         167   778
   two           167   611
   one           167   444
   zero          167   278
   ptrail        167
   pre_data_bits   24
   pre_data       0x248026
   gap          99817
   min_repeat 1
   suppress_repeat 2
   toggle_bit_mask 0x8000

begin codes
           KEY_1                    0x01
           KEY_2                    0x02
           KEY_3                    0x03
           KEY_4                    0x04
           KEY_5                    0x05
           KEY_6                    0x06
           KEY_7                    0x07
           KEY_8                    0x08
           KEY_9                    0x09
           KEY_0                    0x00
           KEY_POWER                0x0C
           KEY_REWIND               0x29
           KEY_STOP                 0x31
           KEY_FASTFORWARD          0x28
           KEY_PAUSE                0x2C
           KEY_OK                   0x5C
           KEY_VOLUMEUP             0x0C
           KEY_CHANNELUP            0x20
           KEY_CHANNELDOWN          0x21
       end codes

end remote


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proper blaster config in this file?

Bengt Martensson-2
On 03/22/17 15:18, Mark wrote:

> Hello,
>
> I have an MCE remote working perfectly ( first part of the config )
>
> The remote is from my STB box, and I need to transmit those same signals
> to my STB to change channels.
>
> So in the config below, I simply duplicated the config and renamed it
> "blaster"
>
> However, it does not seem to work!
>
>
> Any advice?  Would the send and receive config be the same with the codes?
>
>...

> begin remote
>
>    name  own_remote.conf
>    bits            8
>    flags RCMM|CONST_LENGTH
>    eps            18
>    aeps          100
>
>    header        417   278
>    three         167   778
>    two           167   611
>    one           167   444
>    zero          167   278

Yes, I can tell you. The signals are RCMM or Nokia32. This does not
decode one bit at a time on one of two bursts (ZERO and ONE), but
decodes TWO bits at one of four bursts (ZERO, ONE, TWO, THREE). IIRC,
Lirc can handle this on reading, but it was never implemented for sending.

Other than this, the files are fine, and import without problems in
IrScrutinizer.

Greetz,

Bengt

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

IRSEND locks up device. was...Re: [mythtv-users] Proper blaster config in this file?

Mark Hutchinson
In reply to this post by Mark Hutchinson
Making some progress......

mceusb device with transmitter.

irw works fine to see remote, but when I try: "irsend SEND_ONCE blaster
KEY_OK"

It locks up lirc and irw stops working.  This is restored with a lircd
restart.

Something must be wrong in my config.  I am on Fedora 25 with lirc 0.9.4c.

Here are the two configs.  Ideas on what is wrong?


[root@ratty lircd.conf.d]# cat VIP_1200.lircd.conf
# Please make this file available to others
# by sending it to <[hidden email]>
#
# this config file was automatically generated
# using lirc-0.9.0(default) on Mon Mar 20 14:57:23 2017
#
# contributed by
#
# brand:                       own_remote.conf.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

   name  own_remote.conf
   bits            8
   flags RCMM|CONST_LENGTH
   eps            18
   aeps          100

   header        417   278
   three         167   778
   two           167   611
   one           167   444
   zero          167   278
   ptrail        167
   pre_data_bits   24
   pre_data       0x248026
   gap          99817
   min_repeat 1
   suppress_repeat 2
   toggle_bit_mask 0x8000

begin codes
           KEY_1                    0x01
           KEY_2                    0x02
           KEY_3                    0x03
           KEY_4                    0x04
           KEY_5                    0x05
           KEY_6                    0x06
           KEY_7                    0x07
           KEY_8                    0x08
           KEY_9                    0x09
           KEY_0                    0x00
       KEY_POWER                0x0C
           KEY_REWIND               0x29
           KEY_STOP                 0x31
           KEY_FASTFORWARD          0x28
           KEY_PAUSE                0x2C
           KEY_OK                   0x5C
           KEY_VOLUMEUP             0x0C
           KEY_CHANNELUP            0x20
           KEY_CHANNELDOWN          0x21
       end codes

end remote

begin remote

   name  blaster
   bits            8
   flags RCMM|CONST_LENGTH
   eps            18
   aeps          100

   header        417   278
   three         167   778
   two           167   611
   one           167   444
   zero          167   278
   ptrail        167
   pre_data_bits   24
   pre_data       0x248026
   gap          99817
   min_repeat 1
   suppress_repeat 2
   toggle_bit_mask 0x8000

begin codes
           KEY_1                    0x01
           KEY_2                    0x02
           KEY_3                    0x03
           KEY_4                    0x04
           KEY_5                    0x05
           KEY_6                    0x06
           KEY_7                    0x07
           KEY_8                    0x08
           KEY_9                    0x09
           KEY_0                    0x00
           KEY_POWER                0x0C
           KEY_REWIND               0x29
           KEY_STOP                 0x31
           KEY_FASTFORWARD          0x28
           KEY_PAUSE                0x2C
           KEY_OK                   0x5C
           KEY_VOLUMEUP             0x0C
           KEY_CHANNELUP            0x20
           KEY_CHANNELDOWN          0x21
       end codes

end remote

[root@ratty lirc]# cat lirc_options.conf
# Generated by lirc-setup
[lircd]
nodaemon = False
driver = default
device = /dev/lirc0
output = /var/run/lirc/lircd
pidfile = /var/run/lirc/lircd.pid
plugindir = /usr/lib64/lirc/plugins
permission = 666
allow-simulate = No
repeat-max = 600
effective-user = lirc
lircd_conf = VIP_1200.lircd.conf

[lircmd]
uinput = False
nodaemon = False

[modinit]
code = echo lirc > /sys/class/rc/rc0/protocols















On 22/03/17 08:30 AM, Alec Leamas wrote:

>
>
> On 22/03/17 15:18, Mark wrote:
>> Hello,
>>
>> I have an MCE remote working perfectly ( first part of the config )
>>
>> The remote is from my STB box, and I need to transmit those same signals
>> to my STB to change channels.
>>
>> So in the config below, I simply duplicated the config and renamed it
>> "blaster"
>>
>> However, it does not seem to work!
>>
>>
>> Any advice?  Would the send and receive config be the same with the
>> codes?
>
> It really depends on the hardware involved., You have not really
> stated what kind of capture hardware you have been using for receiving
> data from the remote. Nor have you said what you are using to send IR
> data.
>
> Also, you are using the old 0.9.09 which is more or less unsupported
> here by upstream - current is 0.9.4.
>
> All this said. in the general case there is no need to duplicate the
> config. A configuration which works for receiving can usually (but not
> always) be used as-is also for transmit. And if it doesn't, a simple
> duplicate with a new name does not solve anything.
>
>
> Cheers!
>
> --alec
>
>
>
>
>
> Cheers!
>
> --alec
> _______________________________________________
> mythtv-users mailing list
> [hidden email]
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proper blaster config in this file?

John Adams
In reply to this post by Bengt Martensson-2
On Wed, 22 Mar 2017 15:42:31 +0100
Bengt Martensson <[hidden email]> wrote:

>
> Yes, I can tell you. The signals are RCMM or Nokia32. This does not
> decode one bit at a time on one of two bursts (ZERO and ONE), but
> decodes TWO bits at one of four bursts (ZERO, ONE, TWO, THREE). IIRC,
> Lirc can handle this on reading, but it was never implemented for
> sending.
>
> Other than this, the files are fine, and import without problems in
> IrScrutinizer.
>
> Greetz,
>
> Bengt

I have been using RCMM sending with lirc for the last couple of years.
It works perfectly for me (after I blocked the nearby mirror
reflection).
--
John Adams ([hidden email])

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IRSEND locks up device. was...Re: [mythtv-users] Proper blaster config in this file?

Alec Leamas
In reply to this post by Mark Hutchinson
Hi!

Please don't top-post, the archives becomes a mess.

On 22/03/17 17:09, Mark wrote:
> Making some progress......
>
> mceusb device with transmitter.

This is a somewhat vague description... what does dmesg say when you
re-insert the usb dongle?

> irw works fine to see remote, but when I try: "irsend SEND_ONCE blaster
> KEY_OK"

First, at a glance the "blaster" remote configuration seems like a
verbatim copy of the "own_remote.conf". Given this, you might as well
nuke the "blaster" config and use own_remote.conf for both receiving and
sending. This way will ensure that you are using the config data you
have tested when receiving.

Secondly, please post the logs. First, add a line to lirc_options.conf like

    loglevel = debug

Then run the irsend command and post output from

   $ journalctl -b0 /usr/sbin/lircd | tail -30
   $ :dmesg | tail

or something similar, catching the relevant parts.

Cheers!

--alec

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proper blaster config in this file?

Bengt Martensson-2
In reply to this post by John Adams
On 03/22/17 17:45, John Adams wrote:

> On Wed, 22 Mar 2017 15:42:31 +0100
> Bengt Martensson <[hidden email]> wrote:
>
>>
>> Yes, I can tell you. The signals are RCMM or Nokia32. This does not
>> decode one bit at a time on one of two bursts (ZERO and ONE), but
>> decodes TWO bits at one of four bursts (ZERO, ONE, TWO, THREE). IIRC,
>> Lirc can handle this on reading, but it was never implemented for
>> sending.
>>
>> Other than this, the files are fine, and import without problems in
>> IrScrutinizer.
>>
>> Greetz,
>>
>> Bengt
>
> I have been using RCMM sending with lirc for the last couple of years.
> It works perfectly for me (after I blocked the nearby mirror
> reflection).

Hmm, man lircd.conf(5) sez:


    RCMM
            The remote uses the RC-MM protocol (transmitting not supported).

so at least one is not "telling the truth". We should clarify.

Greetz,

Bengt

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proper blaster config in this file?

Mark Hutchinson


On 22/03/17 12:02 PM, Bengt Martensson wrote:

> On 03/22/17 17:45, John Adams wrote:
>> On Wed, 22 Mar 2017 15:42:31 +0100
>> Bengt Martensson <[hidden email]> wrote:
>>
>>> Yes, I can tell you. The signals are RCMM or Nokia32. This does not
>>> decode one bit at a time on one of two bursts (ZERO and ONE), but
>>> decodes TWO bits at one of four bursts (ZERO, ONE, TWO, THREE). IIRC,
>>> Lirc can handle this on reading, but it was never implemented for
>>> sending.
>>>
>>> Other than this, the files are fine, and import without problems in
>>> IrScrutinizer.
>>>
>>> Greetz,
>>>
>>> Bengt
>> I have been using RCMM sending with lirc for the last couple of years.
>> It works perfectly for me (after I blocked the nearby mirror
>> reflection).
> Hmm, man lircd.conf(5) sez:
>
>
>      RCMM
>              The remote uses the RC-MM protocol (transmitting not supported).
>
> so at least one is not "telling the truth". We should clarify.
>
> Greetz,
>
> Bengt
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
That would be good.  Can anyone that is successfully transmitting
confirm what protocol ( and if they are using RCMM ) they are using.

Maybe share their config file would be great.

Thanks,

Mark

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proper blaster config in this file?

John Adams
In reply to this post by Bengt Martensson-2
On Wed, 22 Mar 2017 19:02:45 +0100
Bengt Martensson <[hidden email]> wrote:

> On 03/22/17 17:45, John Adams wrote:
> > On Wed, 22 Mar 2017 15:42:31 +0100
> > Bengt Martensson <[hidden email]> wrote:
> >
> >>
> >> Yes, I can tell you. The signals are RCMM or Nokia32. This does not
> >> decode one bit at a time on one of two bursts (ZERO and ONE), but
> >> decodes TWO bits at one of four bursts (ZERO, ONE, TWO, THREE).
> >> IIRC, Lirc can handle this on reading, but it was never
> >> implemented for sending.
> >>
> >> Other than this, the files are fine, and import without problems in
> >> IrScrutinizer.
> >>
> >> Greetz,
> >>
> >> Bengt
> >
> > I have been using RCMM sending with lirc for the last couple of
> > years. It works perfectly for me (after I blocked the nearby mirror
> > reflection).
>
> Hmm, man lircd.conf(5) sez:
>
>
>     RCMM
>             The remote uses the RC-MM protocol (transmitting not
> supported).
>
> so at least one is not "telling the truth". We should clarify.
>
> Greetz,
>
> Bengt
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

When I first started to use RCMM sending, I too read the manual and the
comment in the code.  So I set out to fix it.  To my surprise, it
wasn't broken.

Its easy to see who's "telling the truth".  Read the source., dude.
I use lirc 0.9x running entirely in user space.

--
John Adams ([hidden email])

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proper blaster config in this file?

John Adams
In reply to this post by Mark Hutchinson
On Wed, 22 Mar 2017 12:35:11 -0600
Mark <[hidden email]> wrote:

>
>
> On 22/03/17 12:02 PM, Bengt Martensson wrote:
> > On 03/22/17 17:45, John Adams wrote:
> >> On Wed, 22 Mar 2017 15:42:31 +0100
> >> Bengt Martensson <[hidden email]> wrote:
> >>
> >>> Yes, I can tell you. The signals are RCMM or Nokia32. This does
> >>> not decode one bit at a time on one of two bursts (ZERO and ONE),
> >>> but decodes TWO bits at one of four bursts (ZERO, ONE, TWO,
> >>> THREE). IIRC, Lirc can handle this on reading, but it was never
> >>> implemented for sending.
> >>>
> >>> Other than this, the files are fine, and import without problems
> >>> in IrScrutinizer.
> >>>
> >>> Greetz,
> >>>
> >>> Bengt
> >> I have been using RCMM sending with lirc for the last couple of
> >> years. It works perfectly for me (after I blocked the nearby mirror
> >> reflection).
> > Hmm, man lircd.conf(5) sez:
> >
> >
> >      RCMM
> >              The remote uses the RC-MM protocol (transmitting not
> > supported).
> >
> > so at least one is not "telling the truth". We should clarify.
> >
> > Greetz,
> >
> > Bengt
> >
> > ------------------------------------------------------------------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> That would be good.  Can anyone that is successfully transmitting
> confirm what protocol ( and if they are using RCMM ) they are using.
>
> Maybe share their config file would be great.
>
> Thanks,
>
> Mark
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

I'm using RCMM, have been for a couple of years.  I use an Iguana
xceiver.  The config file for my PACE IH8000 is available on my
website http://www.onevista.com/lircd.conf

--
John Adams ([hidden email])

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proper blaster config in this file?

Alec Leamas
In reply to this post by John Adams


On 22/03/17 19:42, John Adams wrote:

> On Wed, 22 Mar 2017 19:02:45 +0100
> Bengt Martensson <[hidden email]> wrote:
>
>> On 03/22/17 17:45, John Adams wrote:
>>> On Wed, 22 Mar 2017 15:42:31 +0100
>>> Bengt Martensson <[hidden email]> wrote:
>>>
>>>>
>>>> Yes, I can tell you. The signals are RCMM or Nokia32. This does not
>>>> decode one bit at a time on one of two bursts (ZERO and ONE), but
>>>> decodes TWO bits at one of four bursts (ZERO, ONE, TWO, THREE).
>>>> IIRC, Lirc can handle this on reading, but it was never
>>>> implemented for sending.
>>>>
>>>> Other than this, the files are fine, and import without problems in
>>>> IrScrutinizer.
>>>>
>>>> Greetz,
>>>>
>>>> Bengt
>>>
>>> I have been using RCMM sending with lirc for the last couple of
>>> years. It works perfectly for me (after I blocked the nearby mirror
>>> reflection).
>>
>> Hmm, man lircd.conf(5) sez:
>>
>>
>>     RCMM
>>             The remote uses the RC-MM protocol (transmitting not
>> supported).
>>
>> so at least one is not "telling the truth". We should clarify.
>>
>> Greetz,
>>
>> Bengt
>>



https://sourceforge.net/p/lirc/tickets/276/


--alec

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proper blaster config in this file?

Alec Leamas
In reply to this post by John Adams


On 22/03/17 19:48, John Adams wrote:

> I'm using RCMM, have been for a couple of years.  I use an Iguana
> xceiver.  The config file for my PACE IH8000 is available on my
> website http://www.onevista.com/lircd.conf

I take the comments in that file as if irrecord didn't make it, right?

--alec

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proper blaster config in this file?

John Adams
On Wed, 22 Mar 2017 19:57:06 +0100
Alec Leamas <[hidden email]> wrote:

>
>
> On 22/03/17 19:48, John Adams wrote:
>
> > I'm using RCMM, have been for a couple of years.  I use an Iguana
> > xceiver.  The config file for my PACE IH8000 is available on my
> > website http://www.onevista.com/lircd.conf
>
> I take the comments in that file as if irrecord didn't make it, right?
>
> --alec

No, I used irw and a generic template from the template archive.

--
John Adams ([hidden email])

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Proper blaster config in this file?

Alec Leamas


On 22/03/17 20:06, John Adams wrote:

> On Wed, 22 Mar 2017 19:57:06 +0100
> Alec Leamas <[hidden email]> wrote:
>
>>
>>
>> On 22/03/17 19:48, John Adams wrote:
>>
>>> I'm using RCMM, have been for a couple of years.  I use an Iguana
>>> xceiver.  The config file for my PACE IH8000 is available on my
>>> website http://www.onevista.com/lircd.conf
>>
>> I take the comments in that file as if irrecord didn't make it, right?
>>
>> --alec
>
> No, I used irw and a generic template from the template archive.


Never heard of anyone doing this. Creative, I'd say.

Perhaps worth a note in some documentation somewhere...

--alec



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Loading...