Hello. this is card configuration for ATI-TV Wonders card: /* Lukas Gebauer <geby@xxxxxxxx> */ name: "ATI TV-Wonder", video_inputs: 3, audio_inputs: 1, tuner: 0, svhs: 2, gpiomask: 0xf03f, muxsel: { 2, 3, 0, 1}, audiomux: { 0xbffe, 0, 0xbfff, 0, 0xbffe}, pll: PLL_28, tuner_type: TUNER_TEMIC_4006FN5_MULTI_PAL, /* Lukas Gebauer <geby@xxxxxxxx> */ name: "ATI TV-Wonder VE", video_inputs: 2, audio_inputs: 1, tuner: 0, svhs: -1, gpiomask: 1, muxsel: { 2, 3, 0, 1}, audiomux: { 0, 0, 1, 0, 0}, no_msp34xx: 1, pll: PLL_28, tuner_type: TUNER_TEMIC_4006FN5_MULTI_PAL, And please, map PCI autodetect for Tv-Wonder from HAUPPAGE to this configuration. Thanks. And I do some experiment about switching sound for external sources, and I little modify msp3400.c routines. See to attachment. By this modification is switching sound sources OK, but I know, it is may not be best solution. I don't know what it do on other cards. card TV-Wonder VE is not needed any changes in msp3400.c, because this card not using this chip. It may work OK only with my card configuration. Gerd, do you plan build this card configuration and modification of msp3400.c in nect version of BTTV? Thaks for reply. Lukas. > > TV-Wonder does not use GPIO for switching and muting > > audio-sources!!! It is switched only by MSP3415D on I2C bus. > > Newer Hauppauge boards do the same. > > > For correct sound from Composite and S-VIDEO input is needed switch > > SCART input. At IN1 is sound from Tuner. External sound sources are > > at IN2. > > That is different from the setup used by Hauppauge (which is currently > hard-coded in the driver). > > > But (If I looked to BTTV sources correctly..) BTTV uses only IN1. > > IN2 used only for Radio? > > > > Is any way to switching SCART inputs on MSP3415D under existing > > version of BTTV, or needed some patch? > > It does scart switching already, just the mapping is wrong for the ATI > ... > > Gerd > > > > _______________________________________________ > Video4linux-list mailing list > Video4linux-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/video4linux-list Louci se Lukas Gebauer. E-mail: gebauerl@xxxxxx WEB: http://www.ararat.cz/synapse - Synapse Delphi TCP/IP Library
/* hauppauge 44xxx scart switching */ msp->scart = 0; switch (*sarg) { case AUDIO_RADIO: msp3400c_set_scart(client,SCART_IN2,0); break; case AUDIO_EXTERN: msp->scart = 1; msp3400c_set_scart(client,SCART_IN1,0); /* for ATI-TV-wonder by Lukas Gebauer <geby@xxxxxxxx> */ msp3400c_write(client,I2C_MSP3400C_DFP,0x000d,0x3000); /* end modification */ msp3400c_write(client,I2C_MSP3400C_DFP,0x0008,0x0220); break; /* for ATI-TV-wonder by Lukas Gebauer <geby@xxxxxxxx> */ case AUDIO_TUNER: msp3400c_set_scart(client,SCART_IN1,0); msp3400c_write(client,I2C_MSP3400C_DFP,0x000d,0x0000); msp3400c_write(client,I2C_MSP3400C_DFP,0x0008,0x0020); break; /* end modification */ default: if (*sarg & AUDIO_MUTE) msp3400c_set_scart(client,SCART_MUTE,0); break; } if (msp->active) msp->restart = 1; #endif