On Sun, 18 Nov 2001, Robin Cull wrote: > I now want to get it working with LIRC (Linux Infrared Remote > Control). There's plenty of documentation on how to get it to work > with a serial dongle but nothing on the USB ones. I've tried making > the utilities talk to /dev/ircomm0 (and /dev/ttyS1) but they refuse. > I've got the lirc_serial module but I'm not too sure on what to do > with it, it seems to want a serial port all of its own and won't > attach itself to the ones set up by irda-usb and irtty.
well, there is an ir-usb driver in the drivers/usb/serial tree which provides a serial interface for the USB-IrDA-dongle, but I do pretty much doubt it would work for this purpose - see below. > Am I chasing an unreachable goal? I'd say yes, sorry. Unless your remote is talking irda-frames it's simply an incompatible protocol wrt. to the USB-IrDA interface. If I'm not completely wrong the LIRC stuff needs to monitor/control the complete data on the IR media. Something which might be exactly what was described as Raw-SIR. This is possible with serial dongles or onboard uart emulation modes. The USB dongle however is an IrDA device which follows the USB-IrDA class spec. IMHO the point there is the dongle implements all the frame wrapping - for example it expects correct start and stop flags for the frames - even in SIR mode. That's just what an IrDA stack likes, so all frames not having this frame wrapping signature are simply considered broken and get dropped. Same for sending - the dongle would always add these frame wrapping bytes to whatever you ask it to transmit. Martin _______________________________________________ Linux-IrDA mailing list - [EMAIL PROTECTED] http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda
