File: tweak-imon-default-value

package info (click to toggle)
lcdproc 0.5.9-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 5,080 kB
  • sloc: ansic: 59,645; sh: 1,740; perl: 681; makefile: 414
file content (21 lines) | stat: -rw-r--r-- 681 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Tweak imon default value
 79-lcd-imon.rules is a udev rule to provide a permanent 
 symlink to the actual device file of  imon device
 (which proved to be a moving target).
 .
 This patch tweaks the default device file on imon to
 use this symlink
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lcdproc/+bug/1186569
Author: dod
Applied-Upstream: not-needed
--- a/server/drivers/imon.c
+++ b/server/drivers/imon.c
@@ -81,7 +81,7 @@
 #define IMON_CHAR_BLOCK_FILLED	IMON_CHAR_8_BARS
 #define IMON_CHAR_BLOCK_EMPTY	' '
 
-#define DEFAULT_DEVICE	"/dev/usb/lcd"
+#define DEFAULT_DEVICE	"/dev/lcd-imon"
 #define DEFAULT_SIZE	"16x2"
 
 #define VFD_DEFAULT_CELL_WIDTH	5