Added lirc.
[irreco.git] / lirc-0.8.4a / doc / html / install.html
blob7c3501361647b2ff00b583de9ae097629685f64f
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3 <HTML>
4 <HEAD>
5 <TITLE>LIRC - Linux Infrared Remote Control</TITLE>
6 <LINK REL=stylesheet TYPE="text/css" HREF="../lirc.css">
7 <LINK REL="shortcut icon" HREF="../favicon.ico">
8 <META NAME="description" CONTENT="LIRC - Linux Infra-red Remote Control">
9 <META NAME="keywords" CONTENT="linux, kernel module, remote control, animax, multimedia">
10 </HEAD>
12 <BODY BACKGROUND="../images/marb18.jpg"
13 BGCOLOR="#FFFFFF" TEXT="#000000" ALINK="#8080FF">
14 <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
15 <TR>
16 <TD CLASS="menu" WIDTH="100%" HEIGHT="150">
17 <IMG SRC="../images/diode.gif" ALT=""
18 WIDTH="300" HEIGHT="150" BORDER="0" HSPACE="20"
19 VSPACE="0" ALIGN="LEFT">
20 <IMG SRC="../images/lirc.gif" ALT=""
21 WIDTH="300" HEIGHT="150" BORDER="0" HSPACE="20"
22 VSPACE="0" ALIGN="RIGHT">
23 </TD>
24 </TR>
25 <TR>
26 <TD WIDTH="100%">&#160;<BR>
27 <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
28 <TR>
29 <TD WIDTH="15%">&#160;<BR></TD>
30 <TD WIDTH="70%" ALIGN="LEFT" VALIGN="TOP">&#160;<BR>
32 <!-- Text ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
34 <!-- Dependencies +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
36 <A NAME="dependencies"></A><HR>
37 <H1 ALIGN="CENTER">Dependencies</H1>
38 <HR WIDTH="70%">
40 <P>
41 To use LIRC's <em>setup.sh</em> script you need the dialog
42 package. It already should be installed on most systems. The
43 setup.sh script makes configuration of LIRC much easier but
44 using it is not obligatory.
45 </P>
47 <P>
48 If you want to compile and use all tools, you also need an
49 installed <em>svgalib</em> (used by <em>smode2</em>) and the X
50 Windows header files (needed by <em>irxevent</em> and
51 <em>xmode2</em>). You can get svgalib from <A
52 HREF="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/">
53 ftp://sunsite.unc.edu/pub/Linux/libs/graphics/</A>. The
54 configure script will notify you if some necessary files are
55 missing and the according tools won't be compiled.
56 </P>
58 <P>
59 <B>Irman (=UIR) :</B> To use your Irman with LIRC you need the
60 latest <A HREF="http://www.lirc.org/software/snapshots/">
61 <em>libirman</em></A> library. At the time this has been written
62 the current libirman version was 0.4.3. Former versions won't
63 work. Please also read <A HREF="#updating">Updating from
64 lirc-0.5.4</A>.
65 </P>
67 <A NAME="kernel"></A>
69 <P>
70 <B>Kernel modules:</B> All devices that require a kernel module
71 will need the properly configured kernel sources being available
72 somewhere in /usr/src/. During the build process of this package
73 the kernel Makefile and the current kernel configuration will be
74 used to work around some other problems that would arise if we
75 used our own Makefile. That means that you might have to build
76 your own kernel which is a good idea anyway. Make sure you use
77 the standard kernel which you can download at <A
78 HREF="http://www.kernel.org">www.kernel.org</A>. Don't use any
79 kernel sources that have been modified for your
80 distribution. For example you won't be able to compile some
81 modules for kernels that come with S.u.S.E. 7.0. Please refer to
82 the documentation of your distribution or read the
83 <em>README</em> file in the kernel source directory to get more
84 information on how to compile and set up an own kernel. More
85 documentation is available at the <A
86 HREF="http://sunsite.unc.edu/LDP/">Linux Documentation
87 Project</A>.
88 </P>
89 <P>
90 If you are still running a stock kernel that came with your
91 distribution and don't want to compile a new kernel you can try
92 the following. Install the kernel sources package of the
93 currently running kernel. Most distributions provide rpm/deb
94 packages of their stock kernels. Double-check that you selected
95 the correct kernel sources. Now make sure that there is a file
96 called .config in the root directory of the kernel source
97 tree. This file holds the configuration used to compile this
98 kernel. If it is not available and you can't get it from a
99 different source (/boot/config-<em>version</em> (Debian),
100 /proc/config.gz (SuSE) or
101 /usr/src/linux-<em>version</em>/configs/ (Red Hat) are good
102 places to look into) you are out of luck and will have to
103 configure and compile your own kernel. Otherwise call <em>make
104 oldconfig &amp;&amp; make dep</em> inside the root directory of
105 the kernel source tree. After that you should be able to compile
106 the LIRC modules without problems. Just make sure that the
107 configure script for the LIRC package picked the correct kernel
108 source directory. But be aware that there might still be some
109 problems due to incompatible extensions of the distribution
110 kernels as mentioned in the last paragraph. There are even more
111 pitfalls. The modules should be compiled with the same compiler
112 version. Otherwise you might see strange lockups and kernel
113 oopses. Another problem might be that some distribution vendors
114 also modify the kernel version variables inside the Makefile of
115 the kernel and e.g. add something like <em>custom</em> to the
116 EXTRAVERSION variable. This will result in the modules being
117 installed in the wrong directory. In such cases it is common
118 practice to remove the <em>custom</em> string before proceeding
119 with kernel compilation. This has been only a list of known
120 problems. If you run into such problems I won't be able to help
121 you, so don't even ask.
122 </P>
124 If you want to use a home-brew receiver, an Anir Multimedia
125 Magic, a Packard Bell receiver, the IRdeo or if you want to use
126 the SIR IrDA driver, I suggest that you compile the Linux kernel
127 serial port driver as a module (however, you can choose not to
128 do so if you use setserial properly, see below). The according
129 kernel option that should be set to <em>M</em> is
130 <em>Standard/generic (dumb) serial support</em>
131 (resp. <em>Standard/generic (8250/16550 and compatible UARTs)
132 serial support</em> for 2.4 kernels) in the <em>Character
133 devices</em> section of the kernel configuration
134 dialogue. Usually the serial port driver grabs all ports it
135 auto-detects as soon as it is loaded and the LIRC modules won't
136 be able to use any of them.
137 </P>
140 There are two solutions for this problem. Either you load the
141 LIRC module before the kernel serial port driver is loaded
142 (that's why you have to compile it as a module) or you call
143 <em>setserial /dev/ttySx uart none</em> to release the according
144 port. setserial usually is already called during boot-up in some
145 init script whose location depends on the distribution you
146 use. Be aware that setserial might also be the cause of
147 trouble. The reason for this is a kernel bug (known to be true
148 for 2.2.20, patches are on the way). If you tell setserial to
149 configure a port that is already claimed by a LIRC module, the
150 kernel serial driver will steal the port from the LIRC module
151 and LIRC will stop working. So check your setserial
152 configuration to only configure available ports. Debian users
153 should adjust their <em>/etc/serial.conf</em>.
154 </P>
157 <B>TV cards:</B> To use any remote control receivers connected
158 directly to a bttv based TV card you will need a working bttv
159 setup in your kernel. For most TV cards we rely on bttv
160 autodetection. That way you don't have to give any parameters to
161 the module as they are selected internally depending on the
162 information the bttv module gives us. This means that you should
163 pay attention that your TV card is detected correctly by bttv.
164 </P>
166 <B>Technisat MediaFocus I:</B> You will have to install the <A
167 HREF="http://freenet-homepage.de/mediafocus/">driver</A> for this
168 card.
169 </P>
171 <!-- Supported Hardware ++++++++++++++++++++++++++++++++++++++++++++++ -->
173 <A NAME="hardware"></A><HR>
174 <H1 ALIGN="CENTER">Supported Hardware</H1>
175 <HR WIDTH="70%">
178 Generally speaking everything that can receive or send infrared
179 signals can be supported by LIRC. The project began with support
180 for home-brew receivers and transmitters for the serial port and
181 later support for analogous hardware for the parallel port was
182 added. At that time the focus of the project was to provide an
183 infrared solution that is both very cheap and easy to
184 assemble. The following links point to instructions how to build
185 your own receiver/transmitter.
186 </P>
188 <UL>
189 <LI><A HREF="http://www.lirc.org/receivers.html">
190 Building a serial port receiver</A></LI>
191 <LI><A HREF="http://www.lirc.org/transmitters.html">
192 Building a serial port transmitter</A></LI>
193 <LI><A HREF="http://www.lirc.org/parallel.html">
194 Building a parallel port transceiver</A></LI>
195 </UL>
198 Current versions of LIRC now support many more commercially
199 available solutions. Examples are the Irman, built-in IrDA ports
200 or TV cards. Drivers for even more hardware are likely to appear
201 in the future. If you are a programmer who wants to maintain
202 such a driver you are welcome to join the project.
203 </P>
205 You should locate your device in this <A HREF="table.html">list
206 of supported devices</A> and see if there is additional
207 information available regarding the setup of your device.
208 </P>
210 <!-- Compiling +++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
212 <A NAME="compiling"></A><HR>
213 <H1 ALIGN="CENTER">Compiling</H1>
214 <HR WIDTH="70%">
217 Before compiling the binaries you have to choose which driver to
218 use. This can easily be done with the <em>setup.sh</em>
219 script. Just type <em>./setup.sh</em> from the shell
220 prompt. After selecting your driver you can exit the setup with
221 &quot;Save configuration &amp; run configure&quot;.
222 </P>
225 If you don't have <em>dialog</em> installed you will have to do
226 it the hard way and give the correct parameters to the configure
227 script manually. See <em>./configure --help</em> for a detailed
228 description of the possible parameters. You will have to at
229 least choose a driver with the <em>--with-driver=X</em>
230 option.
231 </P>
233 <P>There are three special drivers:</P>
234 <DL>
235 <DT>all</DT>
236 <DD>
237 will build multiple drivers into lircd and runtime selection
238 will be possible using the <em>--driver</em> option. However,
239 not all drivers are included, so in some cases you will have
240 to select the appropriate driver and not <em>all</em>. This
241 option will also compile all available kernel modules. Some
242 kernel modules are only supported with recent kernel
243 versions. That means that compilation of these drivers might
244 fail with older kernel versions. If this happens for you, you
245 should consider using the <em>userspace</em> driver described
246 below and only compile the kernel modules that you need
247 separately.
248 </DD>
250 <DT>none</DT>
251 <DD>
252 will only let lircd talk to other lircd's though the network and
253 not to any local hardware.
254 </DD>
256 <DT>userspace</DT>
257 <DD>
258 behaves like the <em>all</em> driver option except that no
259 kernel modules will be built.
260 </DD>
261 </DL>
264 When running the configure script, please pay attention at its
265 output. At the end of the configuration checks, it will tell you
266 which kernel module (if any) will be required for your
267 hardware. You can also look up this information in the <A
268 HREF="table.html">device table</A>. After having configured the
269 package just type <em>make</em> and lean back.
270 </P>
273 <B>Note:</B> You won't find a configure script in the CVS
274 version of LIRC. You will have to generate it first by executing
275 <em>./autogen.sh</em>. You need at least libtool-1.3.3,
276 automake-1.4 and autoconf-2.13 to do this properly.
277 </P>
279 <!-- Install LIRC ++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
281 <A NAME="installing"></A><HR>
282 <H1 ALIGN="CENTER">Installation</H1>
283 <HR WIDTH="70%">
286 Installing the compiled programs is really easy, just type
287 <em>make install</em>. All binaries and modules should be
288 installed at the usual places. The necessary devices should be
289 generated in the <em>/dev/</em> directory and all configuration
290 files should be copied to its proper destination if you happen
291 to use some hardware where configuration files are already
292 available.
293 </P>
296 When you are using <em>devfs</em> or <em>sysfs</em> with your
297 kernel, the /dev/lirc device node will disappear again once you
298 reboot your machine. In that case the LIRC kernel module will
299 generate the required entry every time it is loaded. But the
300 device node won't be visible as /dev/lirc, but might be located
301 in a different location like e.g. /dev/lirc/0. Please be aware
302 of this fact when starting programs that access the device node
303 like mode2 or lircd. You will have to use the --device command
304 line option of these programs to point them to the correct
305 location. When using sysfs together with the udev daemon you
306 should copy the <em>lirc.rules</em> file located in the contrib
307 directory of the source package to
308 <em>/etc/udev/rules.d/</em>. This will make sure that the device
309 node will be created.
310 </P>
313 The core program of LIRC is <em>lircd</em>, the LIRC system
314 daemon that does all of the decoding of infrared signals. LIRC
315 comes with a second daemon program: <em>lircmd</em>. lircmd
316 depends on lircd and translates remote control activity to mouse
317 movements. Just like all other daemons both lircd and lircmd
318 should be started at system boot time and do their work in
319 background. If you want to start them automatically at boot time
320 you will have to add an init script for them to your
321 system. Unfortunately the syntax and location of this init
322 script is highly dependent on the distribution you use so you
323 will have to figure it out yourself how this works on your
324 system. Good news is that there already are some init scripts
325 available in the <em>contrib/</em> directory of the LIRC
326 package.
327 </P>
330 <B>Warning:</B> Never compile daemons with &quot;Disable
331 daemonize&quot; turned on and place them in some init script
332 unless you have a rescue disc nearby...
333 </P>
336 Now you should adjust the file permissions of
337 <em>/dev/lircd</em> (this is the Unix domain socket that clients
338 use to connect to lircd) so others than <em>root</em> can
339 connect to lircd.</P>
340 <PRE>
341 chmod 666 /dev/lircd</PRE>
343 should do. You can also create a special group for this purpose.
344 </P>
347 If your hardware requires a kernel module you should make sure
348 that the kernel will find the correct module if a program tries
349 to access <em>/dev/lirc</em>. This can be done by inserting the
350 following line to your <em>/etc/conf.modules</em>
351 (<em>/etc/modules.conf</em> for current kernel versions):
352 </P>
353 <PRE>
354 alias char-major-61 lirc_driver</PRE>
356 Note that here <em>driver</em> is a placeholder for the actual
357 driver you are using (serial, parallel, etc.).
358 </P>
361 If your driver requires some special parameters to work you can
362 specify them at the same place. For example you can set the IRQ
363 and I/O base the serial port drivers shall use by adding the
364 following line to <em>/etc/conf.modules</em>:</P>
365 <PRE>
366 options lirc_serial irq=4 io=0x3e8</PRE>
368 This will override the default values you have selected during setup.
369 The configure script will tell you which kernel module you need.
370 </P>
373 Finally you might want to add <em>/usr/local/lib</em> to
374 <em>/etc/ld.so.conf</em> so the <em>lirc_client</em> library is
375 found by the run-time linker. Don't forget to call
376 <em>ldconfig</em> afterwards for the change to take effect.
377 </P>
379 <!-- Testing +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
381 <A NAME="testing"></A><HR>
382 <H1 ALIGN="CENTER">Testing your hardware &amp; configuration</H1>
383 <HR WIDTH="70%">
386 If you have build the infrared hardware yourself you are
387 probably eager to find out if it really works. If you have not
388 build the hardware yourself you can skip the first test. For
389 most receivers it even won't work because it makes no
390 sense.
391 </P>
394 Type <em>su</em> to get root privileges and start <em>mode2</em>
395 (<B>Warning:</B> don't confuse mode2 with mode3: mode3 will set
396 your video card to a vesa mode using the vesa bios
397 calls...). This should load the kernel module into the kernel
398 and display the infrared signals. Hold your remote control to
399 your infrared receiver and press some buttons. You should see an
400 output like this (the values of your remote will probably be
401 different):
402 </P>
404 <PRE>
405 pulse 93
406 space 4965
407 pulse 108
408 space 4969
409 pulse 93
410 space 7496
411 pulse 93
412 space 7489
413 pulse 93
414 space 47915
415 pulse 138
416 space 7475
417 pulse 93
418 space 7494
419 pulse 93</PRE>
421 If you don't see anything, try to find out: (a) if you selected
422 the correct driver with the correct settings (I/O base address,
423 IRQ), (b) if you use a remote which works and (c) if your
424 hardware works. The voltage input of the infrared receiver
425 should be 5V +/- 0.5V, the output pin of the receiver should be
426 about 0.5V less than the input voltage.
427 </P>
430 From time to time there should be long spaces (&gt;30000). If you
431 can see very long pulses this usually means that sense auto
432 detection of your serial port IR receiver circuit has
433 failed. You can override sense auto detection by loading the
434 device driver with the following option:</P>
437 <em>insmod lirc_serial sense=0</em> if your receiver circuit is active
438 high or<BR>
440 <em>insmod lirc_serial sense=1</em> if your receiver circuit is active
441 low.
442 </P>
445 Well, the driver seems to work, now let's test if lircd also
446 does its job. This only works, if lircd uses a <A
447 HREF="configure.html#lircd.conf">config file</A> which fits to
448 your remote control. Use <A
449 HREF="irrecord.html"><em>irrecord</em></A> in the case the LIRC
450 distribution doesn't provide a config file suitable for your
451 remote and it still is not available at the LIRC homepage. A
452 more detailed discussion of creating new config files is
453 available in the section about, you guess it: <A
454 HREF="help.html#new_remote">Adding new remote controls</A>.
455 </P>
458 Then start the decoder daemon with (make sure it is in your
459 path): <em>lircd</em> [config file]
460 </P>
463 The following program dumps the decoded key codes from lircd to
464 stdout: <em>irw</em>
465 </P>
468 This looks like this (depending on your remote):
469 </P>
470 <PRE>
471 0000000000f40bf0 00 1_DOWN ANIMAX
472 0000000000f40bf0 01 1_DOWN ANIMAX
473 0000000000f40bf0 02 1_DOWN ANIMAX
474 0000000000f40bf0 03 1_DOWN ANIMAX
475 0000000000f40bf0 04 1_DOWN ANIMAX
476 0000000000f40bf0 05 1_DOWN ANIMAX
477 0000000000748bf0 00 1_UP ANIMAX
478 0000000000748bf0 01 1_UP ANIMAX
479 0000000000748bf0 02 1_UP ANIMAX
480 0000000000718ef0 00 RED_BUTTON_UP ANIMAX</PRE>
482 If the driver test did work, but you now see nothing, then check
483 <em>/var/log/lircd</em>. If you still see nothing suspicious
484 compile lircd in DEBUG mode and look at the log file again. In
485 debug mode lircd has an additional command line option that lets
486 you choose the detail level of debug information.
487 </P>
489 <A NAME="sending"></A><HR>
490 <H1 ALIGN="CENTER">Sending infrared signals</H1>
491 <HR WIDTH="70%">
494 The LIRC package contains the <A HREF="irsend.html">irsend</A> tool for
495 sending infrared signals to e.g. your TV or CD player. For
496 reliable transmission a good config file is even more important
497 than for receiving. A discussion of all the infrared protocols
498 is way beyond the scope of this manual but when creating a
499 config file at least read the <A
500 HREF="help.html#new_remote">hints</A> at the end of this
501 manual. You can find exact timing specifications for most common
502 inside the remotes/generic/ directory of the LIRC package.
503 </P>
505 If you want a graphical interface for controlling your devices
506 using LIRC, you should have a look at xrc. You can download the
507 xrc package from the LIRC homepage. xrc is a Qt based
508 program. Setting up xrc and Qt is a bit tricky so if you don't
509 manage to compile it you can still use irsend. It has the full
510 functionality you need.
511 </P>
513 <!-- Uninstall LIRC ++++++++++++++++++++++++++++++++++++++++++++++++++ -->
515 <A NAME="uninstall"></A><HR>
516 <H1 ALIGN="CENTER">Uninstall</H1>
517 <HR WIDTH="70%">
519 <UL>
520 <LI>Remove the installed binaries, and device nodes:<BR>
521 <BR>
522 <em>make uninstall</em><BR>
523 <BR>
524 </LI>
525 <LI>Remove the config files, if you don't need them anymore:<BR>
526 <BR>
527 <em>rm /etc/lircd.conf /etc/lircmd.conf /etc/lircrc ~/.lircrc</em><BR>
528 <BR>
529 </LI>
530 </UL>
532 <!-- Module specific information +++++++++++++++++++++++++++++++++++++ -->
534 <A NAME="specific"></A><HR>
535 <H1 ALIGN="CENTER">Module specific information</H1>
536 <HR WIDTH="70%">
538 <H3>lirc_gpio</H3>
541 This module receives scan codes from the GPIO register of bt8[47]8
542 chips using polling or interrupts if the card supports this. It is a
543 &quot;plugin&quot; for the <em>lirc_dev</em> module. It loads
544 <em>bttv</em> and <em>lirc_dev</em> modules if they are not
545 loaded yet.<BR>
546 </P>
549 The following gives a list of parameters for the module. If your
550 TV card is already listed as supported than you don't need to
551 care about parameters except <em>debug</em> and <em>card</em>
552 because all other are set to the correct values
553 automatically. Setting the values manually only makes sense
554 while adding support for a new TV card so that you don't have to
555 recompile the module each time you try a different value.
556 </P>
557 <UL>
558 <LI><B>debug</B> (0) - value other than 0 (zero) enables
559 printing more log messages</LI>
560 <LI><B>card</B> (0) - number of TV card from which receive scan
561 codes</LI>
562 <LI><B>minor</B> (-1) - minor device number for
563 /dev/lirc device</LI>
564 <LI><B>gpio_mask</B> (0) - bit mask used for extracting usable
565 bits from GPIO value<BR> If this parameter is equal to 0 then
566 the module tries to autodetect the TV card and the remaining
567 parameters are ignored.</LI>
568 <LI><B>gpio_lock_mask</B> (0) - if this value &quot;anded&quot;
569 with GPIO value is non zero than it indicates that scan code
570 is not ready (value of 0 of this parameter disables
571 checking)</LI>
572 <LI><B>gpio_xor_mask</B> (0) - bitmask applied (by xor
573 operation) to GPIO value before lock_mask is checked</LI>
574 <LI><B>soft_gap</B> (0) - minimal gap (in milliseconds) between
575 two scan codes (value of 0 disables checking)</LI>
576 <LI><B>sample_rate</B> (10) - how often (times per second) GPIO
577 will be polled, set to 0 for interrupt driven input</LI>
578 <LI><B>bttv_id</B> (unknown) - force given bttv id, signals from
579 some cards are translated to match original codes</LI>
580 </UL>
582 Usage example would be e.g:
583 </P>
584 <em>modprobe lirc_gpio gpio_mask=0x1f00 gpio_lock_mask=0x8000 gpio_xor_mask=0 soft_gap=400 sample_rate=12</em>
586 Autodetection is performed using the API from the <em>bttv</em>
587 module - this means that if <em>bttv</em> doesn't properly
588 recognize the card type the remote control won't work.
589 </P>
591 <!-- Updating from lirc-0.5.4 ++++++++++++++++++++++++++++++++++++++++ -->
593 <A NAME="updating054"></A><HR>
594 <H1 ALIGN="CENTER">Updating from lirc-0.5.4</H1>
595 <HR WIDTH="70%">
598 This section only describes changes that break compatibility
599 with older versions. Please read the <EM>NEWS</EM> file to learn
600 about all new features of this release.
601 </P>
603 The config files of <em>lircd</em> and <em>lircmd</em> are now
604 located in <em>/usr/local/etc/</em> instead of <em>/etc/</em>
605 per default. Most people prefer to make <em>/usr/local/etc/</em>
606 a link to <em>/etc/</em>.
607 </P>
609 The modules no longer are uniformly installed as <em>lirc.o</em>
610 but are called lirc_<em>driver</em>.o depending on the driver
611 you are using. Therefore you might have to edit your
612 <em>/etc/conf.modules</em> and change the line
613 </P>
614 <PRE>
615 alias char-major-61 lirc</PRE>
617 to whatever you need.
618 </P>
620 LIRC now supports the Irman directly. <em>lirmand</em> is no
621 longer necessary. Before installing this version you should call
622 <NOBR><EM>rm /dev/lirc</EM></NOBR> to remove the FIFO that was
623 used in lirc-0.5.4. <em>/dev/lirc</em> now should be a link to
624 the device the Irman is connected to (e.g. <em>/dev/ttyS1</em>).
625 </P>
627 <A NAME="updating062"></A><HR>
628 <H1 ALIGN="CENTER">Updating from lirc-0.6.2</H1>
629 <HR WIDTH="70%">
632 The lirc_gpio_p has been renamed to lirc_gpio. It now also
633 contains support for TV cards that are able to generate
634 interrupts if infra-red commands are received. The lirc_gpio_i
635 driver that implemented this has been removed. The lirc_fly98
636 also has been removed as it is now supported by the lirc_gpio
637 driver.
638 </P>
641 The <em>lirc_haup</em> module has been renamed to <em>lirc_i2c</em>.
642 </P>
645 The transmit code in <em>lirc_serial</em> has been modified
646 slightly. If you have problems transmitting decrease the
647 frequency value in the lircd config file by approximately 2000.
648 </P>
651 There have been major changes to the SIR driver. If you used
652 this driver before you may have to generate new config files for
653 your remotes. Transmitting is now more likely to work.
654 </P>
657 The config file for the old AVerMedia TVCapture and TVPhone
658 cards (pre 98) has changed. Please use the new config file that
659 you can find in <em>remotes/avermedia/lircd.conf.avermedia</em>.
660 </P>
662 <A NAME="updating063"></A><HR>
663 <H1 ALIGN="CENTER">Updating from lirc-0.6.3</H1>
664 <HR WIDTH="70%">
666 <P>lircd.conf and lircmd.conf are in /etc again.</P>
669 Two independend bugs were fixed in the IRdeo and home-brew
670 transmitter code that affected correct pulse/space timings in
671 some situations. This might break config files that did work
672 with previous versions.
673 </P>
675 <A NAME="updating064"></A><HR>
676 <H1 ALIGN="CENTER">Updating from lirc-0.6.4</H1>
677 <HR WIDTH="70%">
680 AVerMedia TV cards with ID 0x00011461 and 0x00041461 should
681 finally work with the provided config files. That means they
682 will no longer work with the config files you have created
683 yourself.
684 </P>
686 The I/O base address for some modules now is set with the
687 <em>io</em> parameter. (formerly: lirc_sir = iobase, lirc_serial
688 and lirc_parallel = port).
689 </P>
691 <A NAME="updating065"></A><HR>
692 <H1 ALIGN="CENTER">Updating from lirc-0.6.5</H1>
693 <HR WIDTH="70%">
696 The config file for the Pixelview PlayTV pro and compatible TV
697 cards has changed. Please use the config file in
698 <em>remotes/pixelview/lircd.conf.playtv_pro</em>.
699 </P>
701 The config file for the Winfast TV2000 and compatible TV cards
702 has changed. Please use the config file in
703 <em>remotes/winfast/lircd.conf.tv2000</em>.
704 </P>
706 <A NAME="updating066"></A><HR>
707 <H1 ALIGN="CENTER">Updating from lirc-0.6.6</H1>
708 <HR WIDTH="70%">
711 The config files for all FlyVideo TV cards have changed. Please
712 use the config file in
713 <em>remotes/life-view/lircd.conf.flyvideo</em>.
714 </P>
716 The config file for the Winfast TV2000 TV card has
717 changed. Please use the config file in
718 <em>remotes/leadtek/lircd.conf.RM-0010</em>.
719 </P>
721 The lirc_sir now should generate better signals for some
722 remotes. Due to the change some old config files generated with
723 previous versions of the driver might stop working. In this case
724 you should just create a new config file using the new
725 driver. If you want to get the old behaviour of the driver
726 (deprecated) you can insert the module using the
727 <em>threshold=2</em> parameter. The default of
728 <em>threshold</em> is now set to 3. You might even want to try
729 higher values.
730 </P>
732 When you are using LIRC with the <B>Linux input layer</B>
733 driver, make sure that your config file contains the following
734 line in its header:
735 </P>
736 <pre>
737 bits 32
738 </pre>
740 Otherwise lircd will not recoginise any events.
741 </P>
744 <A NAME="updating07x"></A><HR>
745 <H1 ALIGN="CENTER">Updating from lirc-0.7.x</H1>
746 <HR WIDTH="70%">
749 There is a new program that you probably want to use: <A
750 HREF="lircrcd.html">lircrcd</a> reads the .lircrc config file
751 and synchronises the mode that the LIRC clients using this
752 config file (irexec, irxevent, etc.) are in. Using lircrcd has
753 to be explicitly enabled in the config file by adding the
754 following line at the beginning of the file:
755 <pre>
756 #! lircrcd
757 </pre>
758 </P>
761 <A NAME="updating081"></A><HR>
762 <H1 ALIGN="CENTER">Updating from lirc-0.8.1</H1>
763 <HR WIDTH="70%">
766 The config file for the Pinnacle Systems PCTV (pro) receiver has
767 changed. Please use the config file in
768 <em>remotes/pinnacle_systems/lircd.conf.pctv</em>.
769 </P>
771 The config file for the Creative Infra Receiver/CIMR100 has
772 changed. Please use the config file in
773 <em>remotes/creative/lircd.conf.creative</em>.
774 </P>
776 <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
778 <BR><BR>
779 <CENTER>[<A HREF="http://www.lirc.org/">LIRC homepage</A>]<BR>
780 <I>The LIRC Manual, last update: 12-Oct-2008</I></CENTER>
781 <BR><BR>
782 </TD>
783 <TD WIDTH="15%">&#160;<BR></TD>
784 </TR>
785 </TABLE>
786 </TD>
787 </TR>
788 <TR>
789 <TD CLASS="menu" WIDTH="100%">&#160;<BR>
790 </TD>
791 </TR>
792 </TABLE>
793 </BODY>
794 </HTML>