next up previous contents
Next: 3 Connecting two PCs Up: 2 Configuring IrDA in Previous: 2.4 Making devices   Índice General

2.5 Checking the infrared device

Once you have completed the previous steps, you have your PC configured to be able to use the infrared device attached to the serial port.

You can check if everything is ok running the next command:

irattach /dev/ttyS0 -d actisys -s

''/dev/ttyS0'' means the serial port in which we have attached the device (if you use another serial port, you need to change this parameter).

After that, you can check if all the necessary modules are been loaded running the lsmod command. You obtain something like this:

You can also use the /etc/init.d/irda script to do the last step, to load the modules when we need them, and to download them we don't need them anymore.

To check if these devices send or receive something, you can configure two PCs, put the IR dongles in front of each one and run the irdadump command. You should see every packet that send and receive every device.


next up previous contents
Next: 3 Connecting two PCs Up: 2 Configuring IrDA in Previous: 2.4 Making devices   Índice General
Diego Chaparro 2002-01-29