This file is indexed.

/usr/share/doc/lirc/html/imon.html is in lirc 0.9.0~pre1-1.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML>
  <HEAD>
    <TITLE>LIRC - Linux Infrared Remote Control</TITLE>
    <LINK REL=stylesheet TYPE="text/css" HREF="../lirc.css">
    <LINK REL="shortcut icon" HREF="../favicon.ico">
    <META NAME="description" CONTENT="LIRC - Linux Infra-red Remote Control">
    <META NAME="keywords" CONTENT="linux, kernel module, remote control, animax, multimedia">
  </HEAD>
  
  <BODY BACKGROUND="../images/marb18.jpg"
    BGCOLOR="#FFFFFF" TEXT="#000000" ALINK="#8080FF">
    <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
      <TR>
	<TD CLASS="menu" WIDTH="100%" HEIGHT="150">
	  <IMG SRC="../images/diode.gif" ALT=""
	    WIDTH="300" HEIGHT="150" BORDER="0" HSPACE="20"
	    VSPACE="0" ALIGN="LEFT"> 
	  <IMG SRC="../images/lirc.gif" ALT=""
	    WIDTH="300" HEIGHT="150" BORDER="0" HSPACE="20"
	    VSPACE="0" ALIGN="RIGHT">
	</TD>
      </TR>
      <TR>
	<TD WIDTH="100%">&#160;<BR>
	  <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
	    <TR>
	      <TD WIDTH="15%">&#160;<BR></TD>
	      <TD WIDTH="70%" ALIGN="LEFT" VALIGN="TOP">&#160;<BR>

<!-- Text ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

		    <A NAME="overview"></A><HR>
		    <CENTER><H1>iMON PAD, MINI, VFD, LCD, Touch, etc.</H1></CENTER>

		    <P>
		      With lirc 0.8.5 and earlier, iMON device support is a bit
		      lacking in feature-completeness, compared with Windows,
		      and for the newer devices, a pain for users to set up.
		    </P>

		    <P>
		      First up, many devices still need HID quirk overrides to
		      prevent the usbhid driver from claiming them before lirc
		      can. For starters, you need to determine the USB Vendor
		      and Device ID for you iMON device. Most devices have a
		      Vendor ID of 0x15c2. Device IDs are typically either
		      0xffdc or somewhere in the 0x0030 through 0x0046 range.
		      You should be able to see your IDs in the output of the
		      command 'lsusb'. For the purposes of this example, we'll
		      assume you have the 15c2:0045 device.
		    </P>

		    <P>
		      If your kernel has usbhid built as a module, then
		      the following in a modprobe config file (such as
		      /etc/modprobe.d/imon.conf) might be necessary:
		      <pre>
options usbhid quirks=0x15c2:0x0045:0x0004
		      </pre>

		      If your kernel has usbhid built-in, you may need to add
		      the quirk info to the your kernel boot parameters, like
		      so:
		      <pre>
usbhid.quirks=0x15c2:0x0045:0x4
		      </pre>

		      If you're lucky, your device has already been quirked
		      properly in the usbhid driver itself, but if not, please
		      let the lirc developers know, so they can submit patches
		      to the usbhid driver upstream. You can tell if its
		      necessary by grepping your dmesg output after booting up,
		      looking for USB HID and your Device ID, like so:
		      <pre>
$ dmesg |grep "USB HID.*15c2"
input,hidraw0: USB HID v1.01 Mouse [HID 15c2:0045] on usb-0000:00:02.0-2
hiddev96hidraw1: USB HID v1.00 Device [HID 15c2:0045] on usb-0000:00:02.0-2
		      </pre>

		      In the above, we can see that the usbhid driver has claimed
		      our iMON device, and manual quirk addition is required.

		    </P>

		    <P>
		      Newer devices have two USB IR endpoints, which lead to
		      lirc 0.8.5 and earlier setting up two lirc devices for
		      what was in fact a single device, and the two devices
		      had to be bound together in userspace, lest the input
		      buffer would get wedged if a button from the device
		      you weren't listening to wasn't serviced. So if you're
		      using lirc 0.8.5 or earlier, you'll need to start up
		      two lircd daemons, bound to one another, along these
		      lines:
		      <pre>
lircd --driver=default --device=/dev/lirc0 --pidfile=/var/run/lirc0.pid --listen=8765
lircd --driver=default --device=/dev/lirc1 --pidfile=/var/run/lirc1.pid --output=/dev/lircd --connect=localhost:8765
		      </pre>

		        Note that this requires some modification of
			distribution-provided init scripts, manual startup or
			what have you, in most cases. It really does work
			though...

		    </P>

		    <P>
		      With post-0.8.5 lirc, the dual interface iMON devices
		      are handled as a single lirc device, greatly
		      simplifying setup for users -- distribution init
		      scripts should work out of the box. However, it may
		      still be necessary to manually add a quirk to keep
		      the usbhid driver from claiming your device.
		    </P>

		    <P>
		      In addition, post-0.8.5 lirc now includes mouse input
		      device support, so the keyboard/mouse toggle button
		      actually functions as one would expect it to (and as
		      it does under Windows). A special bonus not present
		      under Windows (I think) is that the ch+/- buttons
		      emulate a scroll wheel in mouse mode.
		    </P>

		    <P>
		      A lot of credit is due to Ron Frazier, for documenting
		      the necessary config for lirc 0.8.5 and earlier with
		      the newer iMON devices. See <a href="http://mythtvblog.blogspot.com/2008/04/getting-imon-0038-lcd-working-with-lirc.html" target="_blank">http://mythtvblog.blogspot.com/2008/04/getting-imon-0038-lcd-working-with-lirc.html</a>
		      for historical reference.
		    </P>

<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

		<BR><BR>
		<CENTER>[<A HREF="http://www.lirc.org/">LIRC homepage</A>]<BR>
		  <I>The LIRC Manual, last update: 24-May-2009</I></CENTER>
		<BR><BR>
	      </TD>
	      <TD WIDTH="15%">&#160;<BR></TD>
	    </TR>
	  </TABLE>
	</TD>
      </TR>
      <TR>
	<TD CLASS="menu" WIDTH="100%">&#160;<BR>
	</TD>
      </TR>
    </TABLE>
  </BODY>
</HTML>