This is more of a status update than any major breakthrough.

I got the IR working under linux by using an existing card type. I also got regspy on windows working but it only shows some GPSTATUS bits changing when the IR program is running. The only other change seen was in SAA7134_TS_PARALLEL but more on that below.

The Compro windows software will not run without a sound card. That took some time to figure out and solve :-( It is also buggy and prone to lock up and crashe, but hey, that is why I use linux.

I found the regspy tool from DScaler but it does not officially support the 7135. It did however work and show the following:
SAA7133 Card - State 0:
SAA7134_GPIO_GPMODE: 8082c000 (10000000 10000010 11000000 00000000) SAA7134_GPIO_GPSTATUS: 0494c700 * (00000100 10010100 11000111 00000000)
SAA7134_ANALOG_IN_CTRL1:         c1         (11000001)
SAA7133_ANALOG_IO_SELECT:        34         (00110100)
SAA7133_AUDIO_CLOCK_NOMINAL: 01187de7 (00000001 00011000 01111101 11100111)
SAA7133_PLL_CONTROL:             01         (00000001)
SAA7133_AUDIO_CLOCKS_PER_FIELD: 0001e066 (00000000 00000001 11100000 01100110) SAA7134_VIDEO_PORT_CTRL0: 00000000 (00000000 00000000 00000000 00000000) SAA7134_VIDEO_PORT_CTRL4: 00000000 (00000000 00000000 00000000 00000000)
SAA7134_VIDEO_PORT_CTRL8:        00         (00000000)
SAA7134_I2S_OUTPUT_SELECT:       00         (00000000)
SAA7134_I2S_OUTPUT_FORMAT:       00         (00000000)
SAA7134_I2S_OUTPUT_LEVEL:        00         (00000000)
SAA7134_I2S_AUDIO_OUTPUT:        11         (00010001)
SAA7134_TS_PARALLEL:             e4         (11100100)
SAA7134_TS_PARALLEL_SERIAL:      b9         (10111001)
SAA7134_TS_SERIAL0:              40         (01000000)
SAA7134_TS_SERIAL1:              00         (00000000)
SAA7134_TS_DMA0:                 35         (00110101)
SAA7134_TS_DMA1:                 01         (00000001)
SAA7134_TS_DMA2:                 00         (00000000)
SAA7134_SPECIAL_MODE:            01         (00000001)

The only bits of GPSTATUS which change are
0084c700
0084c700
0284c700
0684c700
0884c700
0894c700

Unfortunately it changes too quick to capture the sequence and regspy logging is a bit limited. Still, it shows the bits, and IR seems to work already under Linux. Perhaps a conclusion that this has the same or similar GPIO layout to other compro cards.

When changing from analog to digital, the SAA7134_TS_PARALLEL changed. e4 was for DVB but I didn't capture the analog :-(

I think I'll put the card back into a linux box and try hacking some things together.

John.

John Newbigin wrote:
I pulled the card and found the following chips:
SAA7135HL/203 (CG2548 13 TSG06302)
COMPRO PRO1A 0643D
WJCE6353 (W620AA17) (Codfam decoder?)
ATMEL642 (EEPROM?)

Plus 2 ICs which have been defaced.
One is a SO-14 package and looks like it might have a Philips logo on it It might be a 74HC74N. The 74 can be read. The letters are a bit harder to make out. I don't know why they would need to deface that.
One is a SO-8 package and although you can see writing, it can't be read.

There are also 2 metal enclosures. Much smaller than any I have seen before. They are both 36mm x 26mm x 5mm. I have not tried opening them.

I forgot that the card also has a wake up clock. You can connect it to the atx power switch and it can wake up the machine at a specified time. (Might also support PCI wake up).

Other interesting things (all might be crystals):
4.0F6L
32.1F6L
S6X3
NSK 6JLA Z 20.4800

John.

John Newbigin wrote:
I have recently been given a Compro VideoMate T750 to get working with Linux. Unfortunately it is not yet supported by the v4l-dvb drivers.

This is an Australian card has the following features:
- Analog TV Tuner (PAL-BG?)
- Analog TV Capture (SVideo & Composite)
- FM Radio
- IR
- DVB-T * 2

I have tested a few similar cards using the Mercurial drivers and the analog capture works. I have not been able to get the DVB working (which is what I want the most).

I am prepared to do whatever testing is required to get this working but I was hoping there was a saa7134 expert who could suggest the best way to go about it.

The card is currently installed in my linux dev box but I can pull it and/or stick it in a windows box if necessary.

I have used btspy under windows in the past to figure out bt878 based cards. Is there a similar saaspy?

T750 Card details:
02:02.0 Class 0480: 1131:7133 (rev d1)
      Subsystem: 185b:c900
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
      Latency: 32 (21000ns min, 8000ns max)
      Interrupt: pin A routed to IRQ 217
      Region 0: Memory at f6004000 (32-bit, non-prefetchable) [size=2K]
      Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
              Status: D0 PME-Enable- DSel=0 DScale=1 PME-

saa7133[0]: i2c eeprom 00: 5b 18 00 c9 54 20 1c 00 43 43 a9 1c 55 d2 b2 92 saa7133[0]: i2c eeprom 10: 00 ff 86 0f ff 20 ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 03 01 08 ff 00 89 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 saa7133[0]: i2c eeprom 40: ff d7 00 c4 86 1e 05 ff 02 c2 ff 01 ff ff ff ff saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff cb saa7133[0]: i2c eeprom 60: 30 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff


Loading the wrong card type (70) results in:
saa7133[0]: board init: gpio is 84bf00
input: saa7134 IR (Compro Videomate DV as /class/input/input8
tuner 1-0062: chip found @ 0xc4 (saa7133[0])
tuner 1-0063: chip found @ 0xc6 (saa7133[0])
tuner 1-0068: chip found @ 0xd0 (saa7133[0])

see also http://lists-archives.org/video4linux/16606-driver-for-compro-videomate-t750-saa7135-card.html

Any help would be much appreciated.

John.

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb



_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb



_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Reply via email to