Compro VideoMate DVB-T220

From LinuxTVWiki
Revision as of 00:05, 17 May 2009 by Jimbley (talk | contribs) (→‎Chipsets: Added qt1010 link)
Jump to navigation Jump to search

A DVB-T PCI Card from Compro.

Card features

  • PCI interface
  • Antenna (Composite), Remote and S-Video In

Chipsets

  • PCI Capture Card: SAA7130HL
  • COFDM Demodulator: MT352
  • Tuner: Quantek QT1010

Images

VideoMate DVB-T220 Front
VideoMate DVB-T220 Back
VideoMate DVB-T220 Box
VideoMate DVB-T220 Remote
VideoMate DVB-T220 Tuner (under EMI cage)

How to make it work

Not yet working :( It detects as a T200 but doesn't work.

Module parameters

dmesg

# dmseg
[   45.569669] saa7130/34: v4l2 driver version 0.2.14 loaded
[   45.569739] saa7130[0]: found at 0000:04:03.0, rev: 1, irq: 20, latency: 84, mmio: 0xfdcfe000
[   45.569745] saa7130[0]: subsystem: 185b:c901, board: Compro Videomate DVB-T200 [card=71,autodetected]
[   45.569753] saa7130[0]: board init: gpio is 843f00
[   45.569809] input: saa7134 IR (Compro Videomate DV as /devices/pci0000:00/0000:00:1e.0/0000:04:03.0/input/input7
[   45.755429] saa7130[0]: i2c eeprom 00: 5b 18 01 c9 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[   45.755437] saa7130[0]: i2c eeprom 10: 00 ff 86 0f ff 20 ff ff ff ff ff ff ff ff ff ff
[   45.755443] saa7130[0]: i2c eeprom 20: 01 40 01 03 03 ff 03 01 08 ff 00 88 ff ff ff ff
[   45.755449] saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   45.755454] saa7130[0]: i2c eeprom 40: ff d5 00 c4 86 1e ff ff ff ff ff ff ff ff ff ff
[   45.755460] saa7130[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff cb
[   45.755466] saa7130[0]: i2c eeprom 60: 30 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   45.755471] saa7130[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   45.755478] saa7130[0]: Unexpected tuner type info: d5 in eeprom
[   45.755532] saa7130[0]: registered device video0 [v4l2]
[   45.755550] saa7130[0]: registered device vbi0
[   45.873425] saa7134 ALSA driver for DMA sound loaded
[   45.873448] saa7130[0]/alsa: saa7130[0] at 0xfdcfe000 irq 20 registered as card -2
[   45.943354] saa7130[0]/dvb: frontend initialization failed

lspci

# lspci -vvvnn
04:03.0 Multimedia controller [0480]: Philips Semiconductors SAA7130 Video Broadcast Decoder [1131:7130] (rev 01)
	Subsystem: Compro Technology, Inc. Videomate DVB-T200 [185b:c901]
	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: 84 (21000ns min, 8000ns max)
	Interrupt: pin A routed to IRQ 20
	Region 0: Memory at fdcfe000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [40] Power Management version 1
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=1 PME-

i2cdetect

# i2cdetect -l
i2c-0	smbus     	saa7130[0]                      	SMBus adapter
i2c-1	i2c       	NVIDIA i2c adapter              	I2C adapter
i2c-2	i2c       	NVIDIA i2c adapter              	I2C adapter
i2c-3	i2c       	NVIDIA i2c adapter              	I2C adapter
# i2cdetect 0
I will probe file /dev/i2c-0.
I will probe address range 0x03-0x77.
Continue? [Y/n] Y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- 0f 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- 62 63 -- -- -- -- 68 -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --    
# i2cdump 0 0x0f
I will probe file /dev/i2c-0, address 0xf, mode byte

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ?...............
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
50: 00 00 00 00 00 00 00 00 c2 00 00 80 00 00 00 00    ........?..?....
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 4d 00 13    .............M.?
80: 00 00 00 30 00 10 40 00 0a 20 08 0d 0f 00 40 00    ...0.?@.? ???.@.
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
b0: 00 00 00 00 00 00 00 00 10 40 20 00 46 34 47 1c    ........?@ .F4G?
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................ 
# i2cdump 0 0x50
I will probe file /dev/i2c-0, address 0x50, mode byte

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 5b 18 01 c9 54 20 1c 00 43 43 a9 1c 55 d2 b2 92    [???T ?.CC??U???
10: 00 ff 86 0f ff 20 ff ff ff ff ff ff ff ff ff ff    ..??. ..........
20: 01 40 01 03 03 ff 03 01 08 ff 00 88 ff ff ff ff    ?@???.???..?....
30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
40: ff d5 00 c4 86 1e ff ff ff ff ff ff ff ff ff ff    .?.???..........
50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff cb    ...............?
60: 30 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    0...............
70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
# i2cdump 0 0x62
I will probe file /dev/i2c-0, address 0x62, mode byte

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 a0 00 19 00 00 00 2b 0b 10 08 41 e1 94 b6 2c    .?.?...+???A???,
10: 10 f1 11 3f 1f 3f ff ff f7 80 d0 00 89 00 00 20    ??????..???.?.. 
20: e0 20 d0 d0 d0 40 08 29 55 39 13 01 ea 00 00 00    ? ???@?)U9???...
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 a0 00 19 00 00 00 2b 0b 10 08 41 e1 94 b6 2c    .?.?...+???A???,
90: 10 f1 11 3f 1f 3f ff ff f7 80 d0 00 89 00 00 20    ??????..???.?.. 
a0: e0 20 d0 d0 d0 40 08 29 55 39 13 01 ea 00 00 00    ? ???@?)U9???...
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................ 
# i2cdump 0 0x63
I will probe file /dev/i2c-0, address 0x63, mode byte
 
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX 
# sudo i2cdump 0 0x68
I will probe file /dev/i2c-0, address 0x68, mode byte

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 27 53 15 03 03 01 00 00 00 40 3f 81 44 3f 01 00    'S????...@??D??.
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX

RegSpy

SAA7130 Card [0]:

Vendor ID:           0x1131
Device ID:           0x7130
Subsystem ID:        0xc901185b


3 states dumped

----------------------------------------------------------------------------------

SAA7130 Card - State 0: (Immediately after startup)
SAA7134_GPIO_GPMODE:             00804000   (00000000 10000000 01000000 00000000)                 
SAA7134_GPIO_GPSTATUS:           00847f00   (00000000 10000100 01111111 00000000)                 
SAA7134_ANALOG_IN_CTRL1:         88         (10001000)                                            
SAA7134_ANALOG_IO_SELECT:        02         (00000010)                                            
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:        00         (00000000)                                            
SAA7134_TS_PARALLEL:             04 *       (00000100)                                            
SAA7134_TS_PARALLEL_SERIAL:      00 *       (00000000)                                            
SAA7134_TS_SERIAL0:              00 *       (00000000)                                            
SAA7134_TS_SERIAL1:              00         (00000000)                                            
SAA7134_TS_DMA0:                 00 *       (00000000)                                            
SAA7134_TS_DMA1:                 00 *       (00000000)                                            
SAA7134_TS_DMA2:                 00         (00000000)                                            
SAA7134_SPECIAL_MODE:            01         (00000001)                                            


Changes: State 0 -> State 1:
SAA7134_TS_PARALLEL:             04       -> e4        (000-----)                             
SAA7134_TS_PARALLEL_SERIAL:      00       -> bb        (0-000-00)                             
SAA7134_TS_SERIAL0:              00       -> 40        (-0------)                             
SAA7134_TS_DMA0:                 00       -> 37        (--00-000)                             
SAA7134_TS_DMA1:                 00       -> 01        (-------0)                              

5 changes


----------------------------------------------------------------------------------

SAA7130 Card - State 1: (Whilst watching a channel)
SAA7134_GPIO_GPMODE:             00804000   (00000000 10000000 01000000 00000000)                 
SAA7134_GPIO_GPSTATUS:           00847f00   (00000000 10000100 01111111 00000000)                 
SAA7134_ANALOG_IN_CTRL1:         88         (10001000)                                            
SAA7134_ANALOG_IO_SELECT:        02         (00000010)                                            
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:        00         (00000000)                                            
SAA7134_TS_PARALLEL:             e4 *       (11100100)                             (was: 04)      
SAA7134_TS_PARALLEL_SERIAL:      bb *       (10111011)                             (was: 00)      
SAA7134_TS_SERIAL0:              40 *       (01000000)                             (was: 00)      
SAA7134_TS_SERIAL1:              00         (00000000)                                            
SAA7134_TS_DMA0:                 37         (00110111)                             (was: 00)      
SAA7134_TS_DMA1:                 01         (00000001)                             (was: 00)      
SAA7134_TS_DMA2:                 00         (00000000)                                            
SAA7134_SPECIAL_MODE:            01         (00000001)                                             


Changes: State 1 -> State 2:
SAA7134_TS_PARALLEL:             e4       -> 04        (111-----)                             (same as 0)
SAA7134_TS_PARALLEL_SERIAL:      bb       -> 00        (1-111-11)                             (same as 0)
SAA7134_TS_SERIAL0:              40       -> 00        (-1------)                             (same as 0) 

3 changes


----------------------------------------------------------------------------------

SAA7130 Card - State 2: (After turning off the TV program)
SAA7134_GPIO_GPMODE:             00804000   (00000000 10000000 01000000 00000000)                 
SAA7134_GPIO_GPSTATUS:           00847f00   (00000000 10000100 01111111 00000000)                 
SAA7134_ANALOG_IN_CTRL1:         88         (10001000)                                            
SAA7134_ANALOG_IO_SELECT:        02         (00000010)                                            
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:        00         (00000000)                                            
SAA7134_TS_PARALLEL:             04         (00000100)                             (was: e4)      
SAA7134_TS_PARALLEL_SERIAL:      00         (00000000)                             (was: bb)      
SAA7134_TS_SERIAL0:              00         (00000000)                             (was: 40)      
SAA7134_TS_SERIAL1:              00         (00000000)                                            
SAA7134_TS_DMA0:                 37         (00110111)                                            
SAA7134_TS_DMA1:                 01         (00000001)                                            
SAA7134_TS_DMA2:                 00         (00000000)                                            
SAA7134_SPECIAL_MODE:            01         (00000001)                                             

end of dump

Manufactures Website

http://www.comprousa.com/en/product/t100t220/t220.html