"PATCH" to enable lirc over network

Bug #709901 reported by Pieter De Wit
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lirc (Ubuntu)
Expired
Undecided
Unassigned

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 !

Tags: patch
Revision history for this message
Pieter De Wit (pieter-insync) wrote :

Hello......echo echo echo.....

Revision history for this message
Pieter De Wit (pieter-insync) wrote :

No takers ?

tags: added: patch
Revision history for this message
Alec Leamas (leamas-alec) wrote :

This is obsoleted by last update 0.9.4c, which has a completely different configuration system. Could check this version and come back if you think this bug still is valid?

Changed in lirc (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lirc (Ubuntu) because there has been no activity for 60 days.]

Changed in lirc (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.