irsend: não foi possível conectar ao soquete, Nenhum arquivo ou diretório

1

Depois de lutar com a configuração do MythTV no meu Ubuntu Server 16.04 por alguns dias, finalmente consegui o backend configurado e o liveTV trabalhando em um Ubuntu Desktop 16.04 no front end. Agora estou no último passo: tentar fazer com que o LIRC funcione no back-end para que eu possa mudar de canal no meu set top box com um IR Blaster embutido na placa sintonizadora.

Quando tento enviar um comando como sudo irsend SEND_ONCE ATT_U-Verse KEY_1 , recebo o seguinte erro:

irsend: could not connect to socket
irsend: No such file or directory

O que eu poderia estar perdendo?

Eu estive em toda a web e a maioria das respostas que eu conheço parece ser mais específico do Raspberry Pi. Eu tropecei no este post do UbuntuForums e mudei alguns dos meus arquivos de configuração para refletir o que o usuário fez na primeira parte da postagem, mas ainda obter o mesmo erro de arquivo / diretório.

Meus arquivos de configuração:

/usr/share/lirc/extras/transmitters/master.conf

#
# this config file was automatically generated
# using lirc-0.8.6(default) on Sun Dec 20 14:45:21 2009
#
# contributed by
#
# brand:                       ATT
# model no. of remote control: U-Verse
# devices being controlled by this remote:
#

begin remote

  name  ATT_U-Verse
  bits           16
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          256

  header        525   384
  one           238   896
  zero          238   471
  ptrail        256
  gap          96002
  toggle_bit_mask 0x20

      begin codes
          KEY_EPG                  0x50DA                    #  Was: KEY_GUIDE
          KEY_OK                   0x58DE
          KEY_CHANNELUP            0x5854
          KEY_CHANNELDOWN          0x50D5
          KEY_UP                   0x5856
          KEY_DOWN                 0x50D7
          KEY_LEFT                 0x505F
          KEY_RIGHT                0x58DF
          KEY_MENU                 0x585E
          KEY_0                    0x50D0
          KEY_1                    0x5851
          KEY_2                    0x58D1
          KEY_3                    0x5051
          KEY_4                    0x58D0
          KEY_5                    0x5053
          KEY_6                    0x50D1
          KEY_7                    0x5853
          KEY_8                    0x58D2
          KEY_9                    0x5852
          KEY_DELETE               0x58DF
          KEY_ZOOM                 0x585D
          KEY_A                    0x58D6
          KEY_B                    0x5857
          KEY_C                    0x58DB
          KEY_EXIT                 0x585E                    #  Was: KEY_EXIT_TO
          KEY_INFO                 0x58D3
          KEY_BACK                 0x5859
          X_KEY_GO_INTERACTIVE     0x58DF
          X_KEY_VOD                0x585C                    #  Was: KEY_VOD
          X_KEY_RECORDED_TV        0x58DA                    #  Was: KEY_RECORDED_TV
          KEY_AGAIN                0x585A
          KEY_FORWARD              0x58DA
          KEY_STOP                 0x5854
          KEY_PAUSE                0x50D4
          KEY_PLAY                 0x5856
          KEY_RECORD               0x58D7
          KEY_REWIND               0x5856
          KEY_FASTFORWARD          0x50D6
          X_KEY_TV_VIDEO           0x505E
          KEY_POWER                0x58D2
      end codes

end remote

/etc/lirc/hardware.conf

#
#Chosen Remote Control
REMOTE="Hauppauge HVR-1100"
REMOTE_MODULES="devinput"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="hauppauge/lircd.conf.hauppauge"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="Command IR : Motorola Cable box"
TRANSMITTER_MODULES="lirc_dev lirc_cmdir"
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF="master.conf"
TRANSMITTER_LIRCD_ARGS=""

#Disable kernel support.
#Typically, lirc will disable in-kernel support for ir devices in order to
#handle them internally.  Set to false to prevent lirc from disabling this
#in-kernel support.
#DISABLE_KERNEL_SUPPORT="true"

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""

Finalmente, /etc/lirc/lircd.conf

#This configuration has been automatically generated via
#the Ubuntu LIRC package maintainer scripts.
#
#It includes the default configuration for the remote and/or
#transmitter that you have selected during package installation.
#
#Feel free to add any custom remotes to the configuration
#via additional include directives or below the existing
#Ubuntu include directives from your selected remote and/or
#transmitter.

#Configuration for the Hauppauge HVR-1100 remote:
include "/usr/share/lirc/extras/more_remotes/hauppauge/lircd.conf.hauppauge"

#Configuration for the Command IR : Motorola Cable box transmitter:
include "/usr/share/lirc/extras/transmitters/master.conf"  

Hardware:

Set top box: Motorola VIP1200

Placa de sintonizador: Hauppauge 1199 WinTV HVR-1600 - Sintonizador de TV / Gravador de Vídeo PCI Duplo Interno com Receptor IR e Blaster

    
por MrZander 07.12.2017 / 01:59

0 respostas