public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* bt878 card: no sound and only xvideo support in 2.6.31 bttv 0.9.18
@ 2010-01-21  8:05 LiM
  2010-01-21  9:49 ` Leopold Gouverneur
  0 siblings, 1 reply; 5+ messages in thread
From: LiM @ 2010-01-21  8:05 UTC (permalink / raw)
  To: linux-media

Hello,

i have the same problem as http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/11441 also with Hercules Smart TV Stereo ..
works OK audio+video on ..2.6.29-gentoo-r5 + bttv 0.9.17
but NO AUDIO on linux-2.6.31-gentoo-r6 + bttv 0.9.18

cat /etc/modprobe.d/bttv.conf
options tvaudio tda9874a=1 tda9874a_STD=0
options bttv radio=0 card=100 tuner=29 gbuffers=14 i2c_udelay=128 pll=1
autoload=1

2.6.29-gentoo-r5 + bttv 0.9.17
bttv: driver version 0.9.17 loaded
bttv: using 14 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv 0000:04:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
bttv0: Bt878 (rev 17) at 0000:04:01.0, irq: 16, latency: 64, mmio:
0xf8ffe000
bttv0: using: Hercules Smart TV Stereo [card=100,insmod option]
IRQ 16/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
tvaudio' 6-0058: found tda9874a.
tvaudio' 6-0058: tda9874h/a found @ 0xb0 (bt878 #0 [sw])
tvaudio' 6-004b: pic16c54 (PV951) found @ 0x96 (bt878 #0 [sw])
bttv0: tuner type=29
bttv0: i2c: checking for TDA9875 @ 0xb0... found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
All bytes are equal. It is not a TEA5767
tuner' 6-0060: chip found @ 0xc0 (bt878 #0 [sw])
tuner-simple 6-0060: creating new instance
tuner-simple 6-0060: type set to 29 (LG PAL_BG (TPI8PSB11D))
bttv0: registered device video1
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok

linux-2.6.31-gentoo-r6 + bttv 0.9.18
bttv: driver version 0.9.18 loaded
bttv: using 14 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:04:01.0, irq: 16, latency: 64, mmio:
0xf8ffe000
bttv0: using: Hercules Smart TV Stereo [card=100,insmod option]
IRQ 16/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: tuner type=29
tvaudio 0-0058: found tda9874a.
tvaudio 0-0058: tda9874h/a found @ 0xb0 (bt878 #0 [sw])
All bytes are equal. It is not a TEA5767
tuner 0-0060: chip found @ 0xc0 (bt878 #0 [sw])
tuner-simple 0-0060: creating new instance
tuner-simple 0-0060: type set to 29 (LG PAL_BG (TPI8PSB11D))
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .
bttv0: PLL: 28636363 => 35468950 .
bttv0: PLL: 28636363 => 35468950 . ok


I think problem is in new bttv driver, in modules is new options
audiodev and tvaudio is loading with bttv? and this line:
"tvaudio' 6-004b: pic16c54 (PV951) found @ 0x96 (bt878 #0 [sw])"
is only with older bttv.

modinfo -k 2.6.31-gentoo-r6 bttv
---cut--
parm:           autoload:obsolete option, please do not use anymore (int)
parm:           audiodev:specify audio device:
        -1 = no audio
         0 = autodetect (default)
         1 = msp3400
         2 = tda7432
         3 = tvaudio (array of int)
---cut--

How can i load module with new bttv to get sound working?

rdgs

Michal Vesely


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bt878 card: no sound and only xvideo support in 2.6.31 bttv 0.9.18
  2010-01-21  8:05 bt878 card: no sound and only xvideo support in 2.6.31 bttv 0.9.18 LiM
@ 2010-01-21  9:49 ` Leopold Gouverneur
  2010-01-22  8:05   ` LiM
  0 siblings, 1 reply; 5+ messages in thread
From: Leopold Gouverneur @ 2010-01-21  9:49 UTC (permalink / raw)
  To: linux-media

On Thu, Jan 21, 2010 at 09:05:06AM +0100, LiM wrote:
> Hello,
> 
> i have the same problem as http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/11441 also with Hercules Smart TV Stereo ..
> works OK audio+video on ..2.6.29-gentoo-r5 + bttv 0.9.17
> but NO AUDIO on linux-2.6.31-gentoo-r6 + bttv 0.9.18
> 
> cat /etc/modprobe.d/bttv.conf
> options tvaudio tda9874a=1 tda9874a_STD=0
> options bttv radio=0 card=100 tuner=29 gbuffers=14 i2c_udelay=128 pll=1
> autoload=1
> 
> 2.6.29-gentoo-r5 + bttv 0.9.17
> bttv: driver version 0.9.17 loaded
> bttv: using 14 buffers with 2080k (520 pages) each for capture
> bttv: Bt8xx card found (0).
> bttv 0000:04:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> bttv0: Bt878 (rev 17) at 0000:04:01.0, irq: 16, latency: 64, mmio:
> 0xf8ffe000
> bttv0: using: Hercules Smart TV Stereo [card=100,insmod option]
> IRQ 16/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
> bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
> tvaudio' 6-0058: found tda9874a.
> tvaudio' 6-0058: tda9874h/a found @ 0xb0 (bt878 #0 [sw])
> tvaudio' 6-004b: pic16c54 (PV951) found @ 0x96 (bt878 #0 [sw])
> bttv0: tuner type=29
> bttv0: i2c: checking for TDA9875 @ 0xb0... found
> bttv0: i2c: checking for TDA7432 @ 0x8a... not found
> All bytes are equal. It is not a TEA5767
> tuner' 6-0060: chip found @ 0xc0 (bt878 #0 [sw])
> tuner-simple 6-0060: creating new instance
> tuner-simple 6-0060: type set to 29 (LG PAL_BG (TPI8PSB11D))
> bttv0: registered device video1
> bttv0: registered device vbi0
> bttv0: PLL: 28636363 => 35468950 .. ok
> 
> linux-2.6.31-gentoo-r6 + bttv 0.9.18
> bttv: driver version 0.9.18 loaded
> bttv: using 14 buffers with 2080k (520 pages) each for capture
> bttv: Bt8xx card found (0).
> bttv0: Bt878 (rev 17) at 0000:04:01.0, irq: 16, latency: 64, mmio:
> 0xf8ffe000
> bttv0: using: Hercules Smart TV Stereo [card=100,insmod option]
> IRQ 16/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
> bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
> bttv0: tuner type=29
> tvaudio 0-0058: found tda9874a.
> tvaudio 0-0058: tda9874h/a found @ 0xb0 (bt878 #0 [sw])
> All bytes are equal. It is not a TEA5767
> tuner 0-0060: chip found @ 0xc0 (bt878 #0 [sw])
> tuner-simple 0-0060: creating new instance
> tuner-simple 0-0060: type set to 29 (LG PAL_BG (TPI8PSB11D))
> bttv0: registered device video0
> bttv0: registered device vbi0
> bttv0: PLL: 28636363 => 35468950 .
> bttv0: PLL: 28636363 => 35468950 .
> bttv0: PLL: 28636363 => 35468950 . ok
> 
> 
> I think problem is in new bttv driver, in modules is new options
> audiodev and tvaudio is loading with bttv? and this line:
> "tvaudio' 6-004b: pic16c54 (PV951) found @ 0x96 (bt878 #0 [sw])"
> is only with older bttv.
> 
> modinfo -k 2.6.31-gentoo-r6 bttv
> ---cut--
> parm:           autoload:obsolete option, please do not use anymore (int)
> parm:           audiodev:specify audio device:
>         -1 = no audio
>          0 = autodetect (default)
>          1 = msp3400
>          2 = tda7432
>          3 = tvaudio (array of int)
> ---cut--
> 
> How can i load module with new bttv to get sound working?
> 
> rdgs
> 
> Michal Vesely
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
For my Hercules Smart TV card sound also disappeared after 2.6.29
with the message:"bttv0: audio absent, no audio device found!"
I have bisected the problem to commit 859f0277a6c3ba59b0a5a1eb183f8f6ce661a95d:
 "bttv: convert to v4l2_subdev since i2c autoprobing will disappear"
If I revert this everything works again
 
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bt878 card: no sound and only xvideo support in 2.6.31 bttv 0.9.18
  2010-01-21  9:49 ` Leopold Gouverneur
@ 2010-01-22  8:05   ` LiM
  2010-01-23  9:16     ` xof
  0 siblings, 1 reply; 5+ messages in thread
From: LiM @ 2010-01-22  8:05 UTC (permalink / raw)
  To: linux-media

Leopold Gouverneur napsal(a):
> On Thu, Jan 21, 2010 at 09:05:06AM +0100, LiM wrote:
>   
>> Hello,
>>
>> i have the same problem as http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/11441 also with Hercules Smart TV Stereo ..
>> works OK audio+video on ..2.6.29-gentoo-r5 + bttv 0.9.17
>> but NO AUDIO on linux-2.6.31-gentoo-r6 + bttv 0.9.18
>>
>> cat /etc/modprobe.d/bttv.conf
>> options tvaudio tda9874a=1 tda9874a_STD=0
>> options bttv radio=0 card=100 tuner=29 gbuffers=14 i2c_udelay=128 pll=1
>> autoload=1
>>
>> 2.6.29-gentoo-r5 + bttv 0.9.17
>> bttv: driver version 0.9.17 loaded
>> bttv: using 14 buffers with 2080k (520 pages) each for capture
>> bttv: Bt8xx card found (0).
>> bttv 0000:04:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
>> bttv0: Bt878 (rev 17) at 0000:04:01.0, irq: 16, latency: 64, mmio:
>> 0xf8ffe000
>> bttv0: using: Hercules Smart TV Stereo [card=100,insmod option]
>> IRQ 16/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
>> bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
>> tvaudio' 6-0058: found tda9874a.
>> tvaudio' 6-0058: tda9874h/a found @ 0xb0 (bt878 #0 [sw])
>> tvaudio' 6-004b: pic16c54 (PV951) found @ 0x96 (bt878 #0 [sw])
>> bttv0: tuner type=29
>> bttv0: i2c: checking for TDA9875 @ 0xb0... found
>> bttv0: i2c: checking for TDA7432 @ 0x8a... not found
>> All bytes are equal. It is not a TEA5767
>> tuner' 6-0060: chip found @ 0xc0 (bt878 #0 [sw])
>> tuner-simple 6-0060: creating new instance
>> tuner-simple 6-0060: type set to 29 (LG PAL_BG (TPI8PSB11D))
>> bttv0: registered device video1
>> bttv0: registered device vbi0
>> bttv0: PLL: 28636363 => 35468950 .. ok
>>
>> linux-2.6.31-gentoo-r6 + bttv 0.9.18
>> bttv: driver version 0.9.18 loaded
>> bttv: using 14 buffers with 2080k (520 pages) each for capture
>> bttv: Bt8xx card found (0).
>> bttv0: Bt878 (rev 17) at 0000:04:01.0, irq: 16, latency: 64, mmio:
>> 0xf8ffe000
>> bttv0: using: Hercules Smart TV Stereo [card=100,insmod option]
>> IRQ 16/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
>> bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
>> bttv0: tuner type=29
>> tvaudio 0-0058: found tda9874a.
>> tvaudio 0-0058: tda9874h/a found @ 0xb0 (bt878 #0 [sw])
>> All bytes are equal. It is not a TEA5767
>> tuner 0-0060: chip found @ 0xc0 (bt878 #0 [sw])
>> tuner-simple 0-0060: creating new instance
>> tuner-simple 0-0060: type set to 29 (LG PAL_BG (TPI8PSB11D))
>> bttv0: registered device video0
>> bttv0: registered device vbi0
>> bttv0: PLL: 28636363 => 35468950 .
>> bttv0: PLL: 28636363 => 35468950 .
>> bttv0: PLL: 28636363 => 35468950 . ok
>>
>>
>> I think problem is in new bttv driver, in modules is new options
>> audiodev and tvaudio is loading with bttv? and this line:
>> "tvaudio' 6-004b: pic16c54 (PV951) found @ 0x96 (bt878 #0 [sw])"
>> is only with older bttv.
>>
>> modinfo -k 2.6.31-gentoo-r6 bttv
>> ---cut--
>> parm:           autoload:obsolete option, please do not use anymore (int)
>> parm:           audiodev:specify audio device:
>>         -1 = no audio
>>          0 = autodetect (default)
>>          1 = msp3400
>>          2 = tda7432
>>          3 = tvaudio (array of int)
>> ---cut--
>>
>> How can i load module with new bttv to get sound working?
>>
>> rdgs
>>
>> Michal Vesely
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-media" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>     
> For my Hercules Smart TV card sound also disappeared after 2.6.29
> with the message:"bttv0: audio absent, no audio device found!"
> I have bisected the problem to commit 859f0277a6c3ba59b0a5a1eb183f8f6ce661a95d:
>  "bttv: convert to v4l2_subdev since i2c autoprobing will disappear"
> If I revert this everything works again
>  
>   

Hi,

and is any chance it will be working with new version?

Michal

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bt878 card: no sound and only xvideo support in 2.6.31 bttv 0.9.18
  2010-01-22  8:05   ` LiM
@ 2010-01-23  9:16     ` xof
  2010-01-23 12:27       ` Alistair Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: xof @ 2010-01-23  9:16 UTC (permalink / raw)
  To: LiM; +Cc: linux-media

LiM a écrit :
> Leopold Gouverneur napsal(a):
>   
>> On Thu, Jan 21, 2010 at 09:05:06AM +0100, LiM wrote:
>>   
>>     
>>> Hello,
>>>
>>> i have the same problem as http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/11441 also with Hercules Smart TV Stereo ..
>>> works OK audio+video on ..2.6.29-gentoo-r5 + bttv 0.9.17
>>> but NO AUDIO on linux-2.6.31-gentoo-r6 + bttv 0.9.18
>>>
>>>       
>
> Hi,
>
> and is any chance it will be working with new version?
>
> Michal
>   
A temporary solution (if you can use a solder iron) is to get audio out
of the (tuner) metal box and inject it at the CD connector on the
motherboard.

    See : http://www.genicus.be/?p=592

(It works for me.  There is an audio out pin (AF) on the TDA9801T in the
metal box. lip-sync is not perfect, but, at least, I hear something...)

But, of course, it would be better to make the driver work.

I had the same problem in 2008 when somebody changed tvaudio and I did
not realize I had to specify new options in my /etc/modprobe.d/bttv.conf
file.  I wonder why 'bttv card=100' is not enough to specify the
hardware and what to do with it.  There is an entry 'Hercules Smart TV
Stereo' in bttv-cards.c.  I am not sure what can be done with
autodetecting chips on an unknown board.  I agree, this is probably
complex matter but this mix of specification and autodetection is suspect.

My card is 1540:952b - Hercules Smart TV 2 Stereo.
    there is a TDA9801T in the metal box labelled TVF-8533-B/DF
    a Conexant Fusion 878A (~compatible Bt878)
    a TDA9874AH on the (audio) piggy back
and two other chips (?pic16c54 (a dip-18 labeled 'B05')? and ? a dip-8
with Label 'GI0')

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.31.y.git;a=commitdiff;h=859f0277a6c3ba59b0a5a1eb183f8f6ce661a95d
is difficult to follow as there are changes in i2c handling,
autodetection, v4l and v4l2 architectures,...  I don't know if there is
some documentation about the (reverse engineered) wiring of the board
themselves or is the code 'is/was' the documentation.

The 'Hercules Smart TV' is probably not the only card with a sound
problem after those reorganisations.  I also hope that it is not a 'big
bug' and that it will be back one of these days but (I feel) it is
nearly impossible to help from outside.


xof

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bt878 card: no sound and only xvideo support in 2.6.31 bttv 0.9.18
  2010-01-23  9:16     ` xof
@ 2010-01-23 12:27       ` Alistair Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Alistair Thomas @ 2010-01-23 12:27 UTC (permalink / raw)
  To: linux-media





Xof wrote:
> I had the same problem in 2008 when somebody changed tvaudio and I did
> not realize I had to specify new options in my /etc/modprobe.d/bttv.conf
> file.  I wonder why 'bttv card=100' is not enough to specify the
> hardware and what to do with it.  There is an entry 'Hercules Smart TV
> Stereo' in bttv-cards.c.  I am not sure what can be done with
> autodetecting chips on an unknown board.  I agree, this is probably
> complex matter but this mix of specification and autodetection is suspect.

I agree, auto detection for sound seems not to work too well for BT878 cards.

To get sound I have to set modprobe options:

options tda9887 qss=0
options tuner pal=i

although the card is auto detected:

bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012
bttv0: using: Pinnacle PCTV Studio/Rave [card=39,autodetected]

Would be great if there was a method to fix this.

Al



      


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-01-23 12:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-21  8:05 bt878 card: no sound and only xvideo support in 2.6.31 bttv 0.9.18 LiM
2010-01-21  9:49 ` Leopold Gouverneur
2010-01-22  8:05   ` LiM
2010-01-23  9:16     ` xof
2010-01-23 12:27       ` Alistair Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox