← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 709901] Re: "PATCH" to enable lirc over network

 

No takers ?

-- 
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/709901

Title:
  "PATCH" to enable lirc over network

Status in “lirc” package in Ubuntu:
  New

Bug description:
  Binary package hint: lirc

  Hi Guys,

  I have made the following changes to /etc/init.d/lirc to allow my
  "client" machine to receive lirc commands from my "server" machine,
  over the network. This came from having a mythbuntu frontend machine
  with no remote control support. Not sure if the feature request should
  go to them, but both installs was "Ubunu 10.10 ALT install" first :)

  Here goes:

  Line 59 in /etc/init.d/lirc now looks like:

  if [ ! -z "$TRANSMITTER_DEVICE" ] || [ ! -z "$TRANSMITTER_DRIVER" ] ||
  [ ! -z "$ENABLE_NETWORK" ]; then

  After line 63 I added:

          if [ ! -z "$NETWORK_HOST" ]; then
                  #REMOTE_ARGS="$REMOTE_ARGS --connect $NETWORK_HOST:$NETWORK_PORT"
                  REMOTE_ARGS="$REMOTE_ARGS --connect $NETWORK_HOST"
          fi

  Then, in /etc/lirc/hardware.conf, I set the above variables.

  A few issues "off the bat":

  *) I am not sure if lirc can support a network proxy type setup, imaging a bunch of remote control server out there, with one client, but the client is a server too... If not, we should guard against this, perhaps with a NETWORK_MODE="client|server"
  *) My variable names need to comply to a standard ?
  *) Not sure if my "PATCH" is a patch, rather a hack perhaps ? :)

  lsb_release -rd - for both machines
  Description:    Ubuntu 10.10
  Release:        10.10

  apt-cache policy lirc
  lirc:
    Installed: 0.8.7~pre3-0ubuntu1
    Candidate: 0.8.7~pre3-0ubuntu1
    Version table:
   *** 0.8.7~pre3-0ubuntu1 0
          500 http://nz.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
          100 /var/lib/dpkg/status

  Thanks !

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


References