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

Mark 8012900 at gmail.com
Wed Mar 22 16:09:31 UTC 2017


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 at ratty lircd.conf.d]# cat VIP_1200.lircd.conf
# Please make this file available to others
# by sending it to <lirc at bartelmus.de>
#
# 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 at 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
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org



More information about the mythtv-users mailing list