I have no experience in writing driver, but I can sure help in testing. (I have a (card=1) with saa7134 on it.) Somone mentioned about the same topic on the lirc list a few weeks ago, but there is no further input from him yet. Maybe you can take a look at the lirc archive. By the way how can you obtain the 'GPIO values'? Are there any linux tools to read that? > Date: Thu, 10 Apr 2003 17:20:10 +1000 > From: David Atkinson <px-v4l@xxxxxxxxxx> > Subject: Flyvideo 2k/3k IR remote > > Hi all, > > There have been a few questions on this list asking about IR support > for FlyVideo cards based on the saa7134. Well, I can inform you > that the > remote control codes are accessable via GPIO. > > In order for this to work in LIRC, similar to the way that BTTV cards > that also use GPIO for IR work, the following needs to be done. > > 1. Find [or code :)] a way of reading the GPIO register from a lirc > driver. This could be similar to the methods in bttv-if.c, eg. > bttv_read_gpio(). > > 2. Write a LIRC driver to access the gpio data on saa7134 based cards, > or modify the existing lirc_gpio driver to support the saa7134 as > well. > > FWIW, the remote that came with my FlyVideo 3000 (labelled RM-050) > appears to send the same codes as the FlyVideo 98 remote control. > > I will only attempt to code this if no-one with more experience in > this > area will. > > Comments anyone? > > Below are the GPIO values for the remote, if anyone wants to know what > bits are relevant. > > - David Atkinson. > > Flyvideo 3000 GPIO values for remote RM-050: > > in=0x0031000 (no button pressed) > > in=0x0071000 power > in=0xcc71000 mute > in=0xa071000 vol up > in=0xac71000 vol down > in=0x8871000 chan up > in=0x8c71000 chan down > in=0x0c71000 1 > in=0x2071000 2 > in=0x2471000 3 > in=0x2c71000 4 > in=0x4071000 5 > in=0x4471000 6 > in=0x4c71000 7 > in=0x6071000 8 > in=0x6471000 9 > in=0x6c71000 0 > in=0x2871000 recall > in=0x8071000 enter > > in=0x6871000 air/catv > in=0x8471000 video > in=0xa471000 audio > in=0xc071000 av source > in=0x0871000 full screen > in=0xc871000 stereo