From: Henrik Ostergaard Madsen <Henrik@os...> - 2007-08-12 13:40:28
Forgive me if this is a dumb question (standard disclamer), but I have not
been able to find anything about this yet..
I have a Zalman HD160XT enclosure, which includes an IR receiver
module and a few buttons. They are interfaced as a genereic FT232BM
serial-to-USB device, attached to /dev/ttyUSB0.
When I try cat /dev/ttyUSB0, I get a two-character code for each button on
the chassis or the remote I press. So far so good.
But I can't get lirc to accept this input. It seems like lirc expects the device
to accept commands, which it does not (at least not lirc-compatible
commands). Starting up lirc goes well until I start e.g. irw. Then it times out
as the device does not respond to commands and irw exits.
What I (think I do) need, is a way to send these two-character codes to lirc,
so I can use lirc to pass them on as events and configure lirc to interpret
the codes - but without lirc insisting to send commands to the device. I
have tried the generic USB-uirt driver, the uirt2_raw driver, and the irman
driver, but without luck.
I'm running kernel 2.6.20 on Debian. I have tried lirc 0.8.0, 0.8.1 and 0.8.2 -
Does anyone has some good suggestions for this?
Output form dmesg:
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB
ftdi_sio 3-2:1.0: FTDI USB Serial Device converter detected
drivers/usb/serial/ftdi_sio.c: Detected FT232BM
usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB0
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
Get latest updates about Open Source Projects, Conferences and News.