I tried to use lircd -d /dev/ttyS0 (the first serial port) and I read in the logs:
Jun 23 08:51:16 Cinzia lircd-0.7.1[13323]: lircd(serial) ready Jun 23 08:51:23 Cinzia lircd-0.7.1[13323]: accepted new client on /dev/lircd Jun 23 08:51:23 Cinzia lircd-0.7.1[13323]: could not get hardware features Jun 23 08:51:23 Cinzia lircd-0.7.1[13323]: this device driver does not support the new LIRC interface Jun 23 08:51:23 Cinzia lircd-0.7.1[13323]: major number of /dev/ttyS0 is 4 Jun 23 08:51:23 Cinzia lircd-0.7.1[13323]: LIRC major number is 61 Jun 23 08:51:23 Cinzia lircd-0.7.1[13323]: check if /dev/ttyS0 is a LIRC device Jun 23 08:51:23 Cinzia lircd-0.7.1[13323]: caught signal What does it mean? Luigi -- Public key GPG(0x073A0960) on http://keyserver.linux.it/
pgptxcQGl8ZTF.pgp
Description: PGP signature