[linux-dvb] saa7134 TUN 900 card remote driver

hermann pitton hermann-pitton at arcor.de
Sat Jan 26 20:37:09 CET 2008


Hello,

Am Samstag, den 26.01.2008, 13:39 +1100 schrieb Peter D.:
> I think that you are asking in the correct place BUT you are 
> addressing a bunch of volunteers working on their hobby.  

no, wrong place. No dvb on it.

> Things get done when someone feels inspired to do something.  
> There probably isn't a HOWTO.  If you find one let me know.  
> I have an MSI without remote support and a Kworld with 
> remote support that I haven't managed to get working.  :-(  

We have a HOWTO for simple gpio remotes on the v4l wiki.

For this one the TODO list can be found in the mail archives.
http://marc.info/?l=linux-video&w=2&r=1&s=Tun900&q=b

> You are, of course, welcome to do any work that you are 
> up to doing yourself.  ;-)  

Mike pulled that one in and I had to defend the auto detection for a
prior card they did try to steel ;)

Separate Composite1 is missing, it is on vmux = 3.
Test composite over s-video, likely this is on vmux = 0.
S-Video is likely wrong, the other Yuan card has it on vmux = 7
The amux for radio is likely wrong. Try amux = TV too.
The gpiomask and the radio switch look suspicious.
Most other cards switch to radio on gpio21, 0x0200000.
The card could need eeprom detection, since it has the same subsystem
IDs than the UPMOST_PURPLE_TV.

With that one it shares also a device at 0xf4. (0x7a seven bit)
On the Upmost it is the i2c remote controller for which Wang-Chan Chen
added support in ir-kbd-i2c. You can try on that one.

Here is some eeprom dump from his card.
You can pick something for detection, maybe the c2 byte on yours.

saa7133[0]: found at 0000:00:0d.0, rev: 16, irq: 10, latency: 64, mmio:
> 0xdffff000 saa7133[0]: subsystem: 12ab:0800, board: UPMOST PURPLE TV
> [card=36,autodetected] saa7133[0]: board init: gpio is 0
> saa7133[0]: dsp access wait timeout [bit=WRR]
> saa7133[0]: dsp access wait timeout [bit=WRR]
> saa7133[0]: i2c eeprom 00: ab 12 00 08 00 00 00 00 00 00 00 00 00 00 00 00
> saa7133[0]: i2c eeprom 10: 00 00 00 00 15 00 05 01 0b c0 d1 ff ff ff ff ff
> saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> tuner 0-0060: chip found @ 0xc0 (saa7133[0])
> tuner 0-0060: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
> tda9885/6/7: chip found @ 0x86
> saa7133[0]: registered device video0 [v4l2]
> saa7133[0]: registered device vbi0
> ir-kbd-i2c: i2c IR (Purple TV) detected at i2c-0/0-007a/ir0 [saa7133[0]]

Please send further posts and patches only to the video4linux-list.

Cheers,
Hermann

> Peter D.  
> 
> 
> On Saturday 26 January 2008, Timothy E. Krantz wrote:
> > Hmmm, no response yet.
> >
> > Am I asking in  the wrong place?
> >
> >
> >   _____
> >
> > From: linux-dvb-bounces at linuxtv.org
> > [mailto:linux-dvb-bounces at linuxtv.org] On Behalf Of Timothy E. Krantz
> > Sent: Thursday, January 24, 2008 2:48 PM
> > To: linux-dvb at linuxtv.org
> > Subject: [linux-dvb] saa7134 TUN 900 card remote driver
> >
> >
> > Hi,
> > looking at the code for the TUN 900 (card 66) part of the saa7134 driver
> > I see that it says that the remote control is not implemented.
> >
> > Can someone point me in the direction of a FAQ or HOWTO that would get me
> > started on fixing that?
> >
> > Thanks in Advance.....
> >
> > Tim
> 
> 
> 




More information about the linux-dvb mailing list