Alan Cox <[EMAIL PROTECTED]> writes:
> > IR solution for out SiS 950 super IO chip. The chip is advitised to have
> > "Consumer IR" capability. I wonder how much effort it is needed to implement
> > an driver for it under linux.
>
> Consumer IR (38Khz) or IRDA or both ?
>
> Alan
If your talking IrDA then it should be pretty easy to implement a driver
(at least if you have some friends that knows the hardware ;-) Linux gives
very good support for drivers like this, so a Linux driver is usually much
smaller and simpler than a similar Windows driver.
Linux-IrDA does not support any Consumer IR yet, and our protocol stack
cannot be used for it. But having drivers which supports both IrDA and
Consumer IR would be possible. I've removed much IrDA specific code from
the device drivers in the very latest code, and I've also started to add
some stuff for setting the IR mode of the a driver using an ioctl().
>From linux/include/net/irda/irda_device.c
typedef enum {
IRDA_IRLAP, /* IrDA mode, and deliver to IrLAP */
IRDA_RAW, /* IrDA mode */
SHARP_ASK,
TV_REMOTE, /* Also known as Consumer Electronics IR */
} INFRARED_MODE;
So you could flip drivers into a different mode if you want to (but you'll
need to write the code for it ;-) In addition you must choose which API
would be the best suitable for Consumer IR: sockets, TTY's, or
char-devices, and such code would need to be added as well.
There are a few other projects using IR with Linux, but they are not using
the Linux-IrDA stack:
http://irmctl.sourceforge.net/
http://fsinfo.cs.uni-sb.de/~columbus/lirc/
If your're interested in writing an IrDA driver then you'll have a lot of
other drivers which you can use as a starting point, and I'll be happy to
help out!
Best regards
-- Dag
--
/ Dag Brattli | The Linux-IrDA Project /
// University of Tromsoe, Norway | Infrared communication for Linux //
/// http://www.cs.uit.no/~dagb | http://www.cs.uit.no/linux-irda/ ///
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda