This Page: The Witcher 3 Cheats. The witcher 2 money cheats.
You can download the all mp3 files and Youtube musics from our website easily and free. We are presenting you the best mp3 service of the internet.
The software for Linux: Lirc
Since you likely also have an IR receiver, such as on the Hauppauge cards, you need two lirc modules loaded, the lirci2c module for the IR receiver, and lircserial for the IR emitter. Again please see the details instructions in the links above. Once the modules are loaded, you run two instances of the lirc daemon lircd. One instance uses.
If you have a Linux box Lirc is the software you want to install. It's rathar easy to setup, the following instructions will give some hints. [-] First download the software from the lirc website. I strongly recommend not to use any .deb or .rpm package as they tend to make everything more complicated.Go to the Lirc page and download the most recent package. Untar it with the command:
tar jxvf lirc-0.6.6.tar.bz2
./setup
You should only select your serial port and leave all the other settings. Select the 3rd menu entry, 'Save configuration and run configure', wait until it has finished, then give (as root):
make
make install
setserial /dev/ttySx uart none
depmod -a
modprobe lirc_serial
lircd
Alternatively, if you are using the character version of this program, you should see a list of numbers, spaces, and pulses. What is this all about? It's the graphical representation of the IR pulses, a sort of IR oscilloscope. If you can see the pulses when you press the remote control buttons, you can be sure the hardware is almost basically working. Each button should generate a different 'wave' from the others, but always the same if you press it more times. [-] It's now time to configure your remote(s), that is, give a 'name' to each button:
irrecord /etc/lircd.conf
irrecord -f /etc/lircd.conf
- Start programs
- Use lirc clients
- Emulate a mouse
- Emulate a pseudo-tty or send X11 events
This example shows how to start the mozilla mail program when you press a button on your remote. The second approach, the use of lirc clients, is an extension of this methodology; in the latter example we can see the line 'prog = irexec'. 'irexec' is a particular lirc client that is used to run programs or commands. There are many other lirc clients: for example, MPlayer or VDR. The first uses the traditional ~/.lircrc setup, the second uses an interactive configuration. Let's talk about MPlayer; we can set several entries in the ~/.lirrc file each for every command we want to give to MPlayer. Take a look at the next example: The first section controls the volume: the 'prog' line is set to mplayer; the 'config' line is the message that is sent to the mplayer program. In this case we tell mplayer to increase the volume by 1 unit. The 'repeat' line is set to 1, so the message will be sent multiple times if the button is kept pressed. The following sections are similar, decrease the volume ('volume -1'), seek by 30 seconds, and the pause functrion. Note the pause function has 'repeat' set to 0, because it doesn't make sense to continuosly switch between pause and play mode when we keep that button pressed! For a complete list of the commands, see the mplayer documentation.
The third approach is very interesting and you will be able to set a new pointer in your X11 or gpm configuration; lirc mouse emulation supports even the mouse wheel used to scroll documents! Follow the lircmd instructions for a detailed setup.
The fourth mode is quite technical and I redirect you to the relevant section of the lirc documentation: irpty allows you to feed programs with keystrokes depending on which button you pressed on the remote. irxevent sends mouse clicks and key presses (in other words, X11 events) to X applications.
- The software for Linux: Lirc
Placing the IR receiver
The receiver is ready; we should now place it in the right place.Prev: Mounting it inside the box - Next: The software for Linux: Lirc
[-] As we have mounted the receiving circuit inside the serial box, the first place you can think to mount it is on the back of the pc, inside the serial connector.
[-] You can think that, as there is no direct line between you, sitting in front of the pc, and the serial receiver, on the back of the pc, this is not a good place for the device. However, IR signals can reflect on many surfaces: if you have a white wall behind the computer you will generally be able to use your remote control without problems.
[-] However, if you want to be able to put the receiver in a specific place, because the computer is far or its back is hidden, you can simply take a 'straight' serial cable (*not* NULL-MODEM!!!) like this one: you will insert the receiver in one end of the cable and connect the serial port of the computrer at the other end.
[-] What is the difference between a 'NULL-MODEM' and a 'straight' serial cable? It's simple. A NULL-MODEM cable is made to connect two computer by themselves. It has two female connectors and some wires inside are crossed to be connect the TX pin of one computer with the RX one of the other. This is not what we want for our receiver: we only need something to lengthen the link from the receiver to the serial port. A straight serial cable is depicted below: it has one female connector for the serial port and a male one for the receiver.
[-] This is a picture of the tv-set in my living room. You can see very visible the serial cable and the IR receiver. Of course you can hide it better but a central position is very good, because you will be able to point the remte control where it's most natural.
Prev: Mounting it inside the box - Next: The software for Linux: Lirc
- Placing the IR receiver