Hi!
Benoit Laurent "ben905@free.fr" wrote:
> In case anyone is interested, I've written a lirc driver for the receiver
> that
> come with the Zalman Hd135 which appears to be a Vlsys Mplay Blast.
> I join the driver and a patch for lirc-0.8.2 (configure.in,
> daemons/Makefile.am
> and daemons/hw-types.c) and my lircd.conf for this remote.
> I don't know how to add my driver to the lirc configuration interface. If
> any body can explain it to me, I will do it with pleasure.
You just need to modify setup.data. autogen.sh will create everything
requried.
Some comments regarding implementation:
- mplay_deinit: please reset hw.fd to -1
- mplay_rec: if the read fails, call mplay_deinit to close the device.
This will prevent endless looping when the device is disconnected.
- please don't use C++ comments
- intendation should be 8
- mplay_decode: the interface has changed in latest CVS. Please update
your code
Please attach your patch as a file next time instead of sending it
inline in the message.
Christoph
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace