[Pkg-lirc-maint] Bug#740490: Change hardware.conf defaults

Marc MAURICE marc-debian at pub.positon.org
Sun Mar 2 11:01:42 UTC 2014


Package: lirc
Version: 0.9.0~pre1-1

Hi,

I suggest the following patch for hardware.conf:
--- /tmp/hardware.conf	2014-03-02 10:52:28.229878749 +0000
+++ /etc/lirc/hardware.conf	2014-03-02 10:55:30.005150849 +0000
@@ -12,10 +12,12 @@
  #Try to load appropriate kernel modules
  LOAD_MODULES=true
  
+# You can set a driver here if your device is not supported by the lirc kernel modules
  # Run "lircd --driver=help" for a list of supported drivers.
-DRIVER="UNCONFIGURED"
+#DRIVER="UNCONFIGURED"
+
  # usually /dev/lirc0 is the correct setting for systems using udev
-DEVICE=""
+DEVICE="/dev/lirc0"
  MODULES=""
  
  # Default configuration files for your hardware if any


This way:
  * We document the fact that setting the DRIVER is not mandatory.
  * lircd will work by default for all devices supported by kernel drivers
  * to my knowledge /dev/lirc0 is the right device name used by kernel drivers. Otherwise lircd default /dev/lirc is used.

I also filed an lircd issue upstream to ask to change the default /dev/lirc to /dev/lirc0:
https://sourceforge.net/apps/mantisbt/lirc/view.php?id=2

Thanks in advance,
Marc



More information about the Pkg-lirc-maint mailing list