From: Justin S. <jus...@gm...> - 2009-03-04 22:30:18
|
Hi, I am trying to use Lirc + Ubuntu 8.04 on a motherboard where IR is connected to a serial port. Downloaded the latest Lirc from website. I am able to see some output when I do cat /dev/ttyS0 | xxd. I am not sure if I am doing everything right, so I'll write down my steps: Using Homebrew serial port driver. -> setserial /dev/ttyS0 uart none -> sudo modprobe lirc-dev -> sudo modprobe lirc-serial debug I have added some debug code in the IRQ handler also. -> sudo irrecord /tmp/test -d /dev/lirc0 When I do cat /proc/interrupts I see that IRQ4 is handled by lirc_serial but I don't see any output at all, neither I see the debug messages that I have written in the IRQ Handler code. The number of IRQs doesn't change either. Is there any thing I can try or if there is a mode where Lirc can work with the kernel serial driver? Thanks, Justin |