[linux-dvb] Re: Patch (small) : hvr1110 : enable capture device : svideo and composite1

tomlohave tomlohave at gmail.com
Thu Nov 16 15:41:20 CET 2006


tomlohave at gmail.com a écrit :
> Michael Krufky a écrit :
>> tomlohave wrote:
>>  
>>> Hello,
>>>
>>> This small patch enables video over s-video and composite1.
>>>
>>> One question : i 'm unable to test sound via line-in in my card ?
>>>     
>>
>> Tom,
>>
>> The .amux value is the "audio mux" -- this might be set incorrectly, 
>> if you
>> are not hearing audio.  Try and see if LINE1 works, instead.
>>
>>
>>   
> Thanks for your answer but i have already tested this setting (line1) 
> and same result.
> is my demarch good with "cat /dev/audio1 > /dev/audio" ?
>>> diff -ur v4l-dvb/linux/drivers/media/video/saa7134/saa7134-cards.c 
>>> v4l-dvb-perso/linux/drivers/media/video/saa7134/saa7134-cards.c
>>> --- v4l-dvb/linux/drivers/media/video/saa7134/saa7134-cards.c    
>>> 2006-11-13 23:38:11.000000000 +0100
>>> +++ 
>>> v4l-dvb-perso/linux/drivers/media/video/saa7134/saa7134-cards.c    
>>> 2006-11-15 14:46:19.000000000 +0100
>>> @@ -3181,6 +3181,14 @@
>>>              .vmux = 1,
>>>              .amux = TV,
>>>              .tv   = 1,
>>> +        },{
>>> +            .name   = name_comp1,
>>> +            .vmux   = 3,
>>> +            .amux   = LINE2,
>>> +        },{
>>> +            .name   = name_svideo,
>>> +            .vmux   = 8,
>>> +            .amux   = LINE2,
>>>          }},
>>>          .radio = {
>>>              .name = name_radio,
>>>     
>>
Do i enable something about gpio ?

i search in http://perso.wanadoo.fr/tomlohave/hcw713x.inf about gpio and 
i found this :

;---- SAA7133 ----
[Hauppauge_33.AddReg]

; Prefix will be displayed in front of the device name on every filter
HKR, "Parameters","Prefix",,%Hauppauge_CUSTOM_TUNERNAME%

; Reduces second pair of video/audio inputs
HKR, "Parameters","SmallXBar",0x00010001,0x00

; Specify the GPIO pin and polarity for VideoMUX control (Polarity is the MSB)
HKR, "Parameters","VideoMuxGPIO",0x00010001,0x08

; GPIO Audio Configuration 
HKR, "Audio", "I2S Output", 0x00010001,0x00000000 
HKR, "Audio", "I2S2 Output", 0x00010001,0x00000000 


Is this can help me ? (i don't want to break my card, so i'm careful and 
prefer ask question before ...)
>> Cheers,
>>
>> Mike
>>

Cheers,

Tom



More information about the linux-dvb mailing list