REMOTE_LIRCD_ARGS="''"

This is an invalid config.  Closing this report.

** Changed in: lirc (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/489394

Title:
  Bugs in lirc init script

Status in “lirc” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: lirc

  I am hoping this bug report has not been reported before but this
  seems to be a pretty obvious one.

  lirc was not doing anything for me in karmic my hardware.conf is :

  # /etc/lirc/hardware.conf
  #
  #Chosen Remote Control
  REMOTE="Windows Media Center Transceivers/Remotes (all)"
  REMOTE_MODULES="lirc_dev lirc_mceusb"
  REMOTE_DRIVER=""
  REMOTE_DEVICE="/dev/lirc0"
  REMOTE_SOCKET=""
  REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
  REMOTE_LIRCD_ARGS="''"

  #Chosen IR Transmitter
  TRANSMITTER="None"
  TRANSMITTER_MODULES=""
  TRANSMITTER_DRIVER=""
  TRANSMITTER_DEVICE=""
  TRANSMITTER_SOCKET=""
  TRANSMITTER_LIRCD_CONF=""
  TRANSMITTER_LIRCD_ARGS=""

  #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=""

  # Receiver settings required by gnome-lirc-properties
  RECEIVER_MODEL="Windows\ Media\ Center\ Remote"
  RECEIVER_VENDOR="Microsoft"

  # Remote settings required by gnome-lirc-properties
  REMOTE_MODEL="TSGH-IR01"
  REMOTE_VENDOR="HP"

  but when starting irw was not giving me anything back, I have noticed
  this in my syslog :

  Nov 27 22:41:43 acer lircd-0.8.6[8702]: lircd(default) ready, using 
/var/run/lirc/lircd
  Nov 27 22:41:50 acer lircd-0.8.6[8702]: caught signal
  Nov 27 22:41:51 acer lircd-0.8.6[8758]: could not open config file ''''
  Nov 27 22:41:51 acer lircd-0.8.6[8758]: No such file or directory

  after some shell debugging it seems to be this part in the initscript
  :

  143:REMOTE_LIRCD_ARGS=`build_remote_args $REMOTE_LIRCD_ARGS`

  when not defined it's passing REMOTE_LIRC_ARGS as the string '' (which
  does not mean undefined) it really 2 single quote.

  I then add at line 40 this :

      [ $REMOTE_ARGS = \'\' ]  && REMOTE_ARGS=""

  which make it working :

  chmouel@acer:/var/log$ irw
  000000037ff07ba3 00 Green mceusb
  000000037ff07ba3 00 Green mceusb
  000000037ff07ba3 00 Green mceusb
  ^C

  it probably need the same in TRANSMITTER but I don't have such thing
  to test.

  Let me know if you need any info or a proper patch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/489394/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mythbuntu-bugs
Post to     : mythbuntu-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mythbuntu-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to