El Domingo, 15 de Enero de 2006 16:42, Ole Reinartz escribi?: > Hartmut Hackmann schrieb: > > Ok, you need to do the following: > > > > analog section: > > - add a card ID macro to saa7134.h > > Please take care that the macro name is descriptive. > > - add an entry at the end of the saa7134_boards array in saa7134-cards.c > > most entries are pretty self descriptive. > > - you get the tuner type from tuner.h > > - audio_clock reflects the crystal for the saa7134 on the board. ( the > > small metal component. > > use 0x00200000 for a 24.576 MHz crystal and 0x00187de7 for 32.11 MHz > > - for the TD1316 tuner, you will need the TDA9887_PRESENT flag. > > - you need an inputs entry for each input of the card. > > .vmux values are valid from 0 to 3, add 8 for s-video > > .amux can be LINE1, LINE2 or TV > > you can find the values by try and error. > > - add an entry in the saa7134_pci_tbl in saa7134-cards.c. You should > > insert > > it right before the entries for cards without eeprom. You need to enter > > the .subvendor and .subdevice entries that are reported by lspci for > > your > > card. > > You might need to add code in this file for remote control and > > initialization > > to analog mode. We don't know yet, but you might have a look at the > > SAA7134_BOARD_PHILIPS_EUROPA label in saa7134_board_init2(). You might > > need > > something similar. > > Now your card is autodetected and analog should work. Test! > > Hi, > just got that part running. At least one of the composite inputs works. > Don't know about sound, though. > To get on with the mt352 I need its i2c- bus and -address. I expect it > at the bus of the saa7134 (bus 0 in my case) and at the address 0x0f. > Jose, you once posted an i2c dump of a working setup of the mt352 on > this list. What address did you use? > > Regards, > Ole The adress was 0xf. (I forgot to cc to the list) With this definition composite svideo and audio works. [SAA7134_BOARD_AVERMEDIA_777] = { .name = "AverTV DVB-T 777", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TD1316, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, }, Jose Alberto