Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: DVB-C and Volume-Control



Hi Joerg,

can you please add your sybsystem_vendor id to this if()-case and test 
if this works for you? If so, please send a patch.

Holger


Joerg Friedrich wrote:
> Joerg Friedrich schrieb am Sonntag, 08. Dezember 2002 um 10:34:54 +0100:
> 
>>Joerg Friedrich schrieb am Samstag, 07. Dezember 2002 um 15:45:55 +0100:
>>
>>>Having read that the 'newstruct' drivers support volume-control on DVB-C
>>>Cards was one major reason to switch. But even with the new drivers the
>>>volume does not in- or decease when i.e. using vdr.
>>>
>>>What might be wrong? Or did I dream reading of this capability :-)
>>
>>Annotations: I own a Siemens DVB-C rev. 1.5.
>>and I use the latest CVS-drivers.
>>
>>Can someone help debuging?
>>
> 
> Again answering myself:
> 
> Found this in av7110.c:
> 
> if (av7110->saa->device->subsystem_vendor == 0x110a) {
> 	if (i2c_writereg(av7110, 0x80, 0x0, 0x80)==1) {
> 		i2c_writereg(av7110, 0x80, 0x0, 0);
> 		printk("av7110: DVB-C analog module detected, "
> 		       "initializing MSP3400\n");
> 		ddelay(10);
> 		msp_writereg(av7110, 0x12, 0x0013, 0x0c00);
> 		msp_writereg(av7110, 0x12, 0x0000, 0x7f00); // loudspeaker + headphone
> 		msp_writereg(av7110, 0x12, 0x0008, 0x0220); // loudspeaker source
> 		msp_writereg(av7110, 0x12, 0x0004, 0x7f00); // loudspeaker volume
> 		msp_writereg(av7110, 0x12, 0x000a, 0x0220); // SCART 1 source
> 		msp_writereg(av7110, 0x12, 0x0007, 0x7f00); // SCART 1 volume
> 		msp_writereg(av7110, 0x12, 0x000d, 0x4800); // prescale SCART
> 	}
> 
> 	// switch DVB SCART on
> 	outcom(av7110, COMTYPE_AUDIODAC, MainSwitch, 1, 0);
> 	outcom(av7110, COMTYPE_AUDIODAC, ADSwitch, 1, 1);
> 
> 	//setgpio(av7110, 1, GPIO_OUTHI); // RGB on,
> 	//SCART pin 16
> 	//setgpio(av7110, 3, GPIO_OUTLO); // SCARTpin 8
> 	av7110->adac_type = DVB_ADAC_NONE;
> }
> 
> and lspci reports:
> 00:0a.0 Class 0480: 1131:7146 (rev 01)
>         Subsystem: 110a:0000                    <-----------!!!!
>         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 (3750ns min, 9500ns max)
>         Interrupt: pin A routed to IRQ 14
>         Region 0: Memory at e1800000 (32-bit, non-prefetchable) [size=512]
> 
> I think this means I cannot set any Volumelevel :-(((
> 



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index