========================================================= LINKING THE LIRC SERIAL DRIVER STATICALLY INTO THE KERNEL ========================================================= If you want to include the LIRC Serial Driver statically into your Kernel, try this package. !BIG FAT WARNING! I only tried this with a 2.2.9 Kernel. With my Receiver it seems to work but i will give no guarantee. If it deletes your Harddisk don't blame me for that. If you want to try this with other Kernels, then you should NOT use the patched kernel files included in this package. There are only little Modifications i made to this files. In the i appended to the L_OBJS line, this line looks now like this: L_OBJS := tty_io.o n_tty.o tty_ioctl.o mem.o random.o lirc.o Secondly i added some lines in to start the lirc code. At the start of i included a extern function declaration < extern int lirc_init(void) > and at the end i added a function call < lirc_init(); >. Both are marked with the Comment /* LIRC PATCH */. Here the things you have to do, to build a Kernel with statically linked lirc_serial driver: 1. Backup your original and in drivers/char in your Kerneldirectory [usually /usr/src/linux]. Now copy the replacements included in this package [or your own modified files] to this place. 2. configure your Kernel # make menuconfig # make dep ; make clean 3. Now cd to the directory of the driver and edit to set your Parameters [LIRC_PORT, LIRC_IRQ, LIRC_MAJOR] 4. compile the driver # make 5. After sucessful compiling copy the file into to the kernel source tree # cp lirc.o /usr/src/linux/drivers/char 6. # cd /usr/src/linux 7. build your new kernel # make bzImage ------------------------------------1999-JUL-01-