linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pchdtv 3000 cx88 audio very very low level
@ 2006-04-07  2:57 Greg Stark
  2006-04-07  9:24 ` Andreas Mohr
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Stark @ 2006-04-07  2:57 UTC (permalink / raw)
  To: linux-kernel


Is this video4linux list still active? I see very little traffic on it. Is
there a better place for questions about v4l drivers for the pchdtv 3000 cx88
NTSC tuner?

I have it working fine but the audio is extremely low level. Even if I boost
the line-in level and the master output level to max on my sound card it's
barely audible over the background static.

Is there something wrong with my card? Or with my drivers?

bash-3.1$ lsmod | grep cx
cx88_alsa              13408  0 
cx8800                 32268  1 
compat_ioctl32          1792  1 cx8800
cx88xx                 63524  2 cx88_alsa,cx8800
i2c_algo_bit            9480  1 cx88xx
video_buf              21764  3 cx88_alsa,cx8800,cx88xx
ir_common               9988  1 cx88xx
btcx_risc               5384  3 cx88_alsa,cx8800,cx88xx
v4l2_common             8064  3 cx8800,msp3400,tuner
v4l1_compat            13956  2 cx8800,ivtv
tveeprom               14992  2 cx88xx,ivtv
videodev               10368  6 cx8800,cx88xx,ivtv
snd_pcm                84484  4 cx88_alsa,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
i2c_core               22400  13 cx88xx,i2c_algo_bit,msp3400,saa7127,saa7115,tda9887,tuner,ivtv,tveeprom,w83627hf,eeprom,i2c_isa,i2c_i801
snd                    52576  11 cx88_alsa,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device


[ 5020.495242] cx2388x v4l2 driver version 0.0.5 loaded
[ 5020.499005] ACPI: PCI Interrupt 0000:02:0d.0[A] -> GSI 21 (level, low) -> IRQ 22
[ 5020.499140] CORE cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22,autodetected]
[ 5020.499194] TV tuner 52 at 0x1fe, Radio tuner -1 at 0x1fe
[ 5020.676748] tuner 2-0061: chip found @ 0xc2 (cx88[0])
[ 5020.679548] tuner 2-0061: type set to 52 (Thomson DTT 7610 (ATSC/NTSC))
[ 5020.720003] tda9887 2-0043: chip found @ 0x86 (cx88[0])
[ 5020.846947] cx88[0]/0: found at 0000:02:0d.0, rev: 5, irq: 22, latency: 64, mmio: 0xf2000000
[ 5020.854107] cx88[0]/0: registered device video1 [v4l2]
[ 5020.863507] cx88[0]/0: registered device vbi1
[ 5020.868332] cx88[0]/0: registered device radio1
[ 5020.873685] set_control id=0x980900 reg=0x310110 val=0x00 (mask 0xff)
[ 5020.873777] set_control id=0x980901 reg=0x310110 val=0x3f00 (mask 0xff00)
[ 5020.873822] set_control id=0x980903 reg=0x310118 val=0x00 (mask 0xff)
[ 5020.873856] set_control id=0x980902 reg=0x310114 val=0x5a7f (mask 0xffff)
[ 5020.873891] set_control id=0x980909 reg=0x320594 val=0x40 (mask 0x40) [shadowed]
[ 5020.873933] set_control id=0x980905 reg=0x320594 val=0x20 (mask 0x3f) [shadowed]
[ 5020.874000] set_control id=0x980906 reg=0x320598 val=0x40 (mask 0x7f) [shadowed]
[ 5046.024833] get_control id=0x980900 reg=0x310110 val=0x80 (mask 0xff)
[ 5046.024860] get_control id=0x980901 reg=0x310110 val=0x3f (mask 0xff00)
[ 5046.024873] get_control id=0x980902 reg=0x310114 val=0x7f (mask 0xff)
[ 5046.024885] get_control id=0x980903 reg=0x310118 val=0x80 (mask 0xff)
[ 5046.024897] get_control id=0x980906 reg=0x320598 val=0x00 (mask 0x7f) [shadowed]
[ 5046.024911] set_control id=0x980909 reg=0x320594 val=0x00 (mask 0x40) [shadowed]
[ 5046.024920] get_control id=0x980905 reg=0x320594 val=0x1f (mask 0x3f) [shadowed]
[ 5046.024929] get_control id=0x980909 reg=0x320594 val=0x00 (mask 0x40) [shadowed]
[ 5046.124609] set_control id=0x980909 reg=0x320594 val=0x40 (mask 0x40) [shadowed]
[ 5046.124619] set_control id=0x980902 reg=0x310114 val=0x577c (mask 0xffff)
[ 5046.124638] set_control id=0x980900 reg=0x310110 val=0xff (mask 0xff)
[ 5046.124652] set_control id=0x980903 reg=0x310118 val=0x00 (mask 0xff)
[ 5046.124665] set_control id=0x980901 reg=0x310110 val=0x3800 (mask 0xff00)
[ 5046.166913] set_control id=0x980909 reg=0x320594 val=0x00 (mask 0x40) [shadowed]
[ 5200.569119] set_control id=0x980909 reg=0x320594 val=0x40 (mask 0x40) [shadowed]
[ 5200.569129] set_control id=0x980902 reg=0x310114 val=0x577c (mask 0xffff)
[ 5200.569147] set_control id=0x980900 reg=0x310110 val=0xff (mask 0xff)
[ 5200.569161] set_control id=0x980903 reg=0x310118 val=0x00 (mask 0xff)
[ 5200.569174] set_control id=0x980901 reg=0x310110 val=0x3800 (mask 0xff00)
[ 5200.613786] set_control id=0x980909 reg=0x320594 val=0x00 (mask 0x40) [shadowed]
[ 5389.899723] set_control id=0x980905 reg=0x320594 val=0x20 (mask 0x3f) [shadowed]
[ 5389.899733] set_control id=0x980909 reg=0x320594 val=0x40 (mask 0x40) [shadowed]
[ 5390.931524] set_control id=0x980905 reg=0x320594 val=0x20 (mask 0x3f) [shadowed]
[ 5390.931534] set_control id=0x980909 reg=0x320594 val=0x00 (mask 0x40) [shadowed]
[ 6560.963631] set_control id=0x980905 reg=0x320594 val=0x20 (mask 0x3f) [shadowed]
[ 6560.963641] set_control id=0x980909 reg=0x320594 val=0x40 (mask 0x40) [shadowed]
[ 6563.560136] set_control id=0x980905 reg=0x320594 val=0x20 (mask 0x3f) [shadowed]
[ 6563.560147] set_control id=0x980909 reg=0x320594 val=0x00 (mask 0x40) [shadowed]
[ 6564.125801] set_control id=0x980905 reg=0x320594 val=0x20 (mask 0x3f) [shadowed]
[ 6564.125811] set_control id=0x980909 reg=0x320594 val=0x40 (mask 0x40) [shadowed]
[ 6750.293689] set_control id=0x980905 reg=0x320594 val=0x20 (mask 0x3f) [shadowed]
[ 6750.293699] set_control id=0x980909 reg=0x320594 val=0x00 (mask 0x40) [shadowed]
[ 6824.893884] cx2388x alsa driver version 0.0.5 loaded



-- 
greg


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

* Re: pchdtv 3000 cx88 audio very very low level
  2006-04-07  2:57 pchdtv 3000 cx88 audio very very low level Greg Stark
@ 2006-04-07  9:24 ` Andreas Mohr
  2006-04-07 13:06   ` Greg Stark
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Mohr @ 2006-04-07  9:24 UTC (permalink / raw)
  To: Greg Stark; +Cc: linux-kernel

Hi,

On Thu, Apr 06, 2006 at 10:57:34PM -0400, Greg Stark wrote:
> 
> Is this video4linux list still active? I see very little traffic on it. Is
> there a better place for questions about v4l drivers for the pchdtv 3000 cx88
> NTSC tuner?
> 
> I have it working fine but the audio is extremely low level. Even if I boost
> the line-in level and the master output level to max on my sound card it's
> barely audible over the background static.
> 
> Is there something wrong with my card? Or with my drivers?
Since I once tweaked bttv for my card, I'm almost damn sure that this must
be an audio multiplexer (mux) issue. Many TV/tuner cards route their audio
output through incredibly many different types of multiplexer ICs, each
of which requires their own switch mask.
If the mux isn't configured properly, then audio will be switched off
completely except for possibly some very, very silent cross-channel speak.

IOW, you need to examine the driver sources of cx88xx, cx8800, cx88_alsa,
btcx_risc, tveeprom (?) for some multiplexer bit mask and tweak/twiddle that
for your tuner until you manage to hear something properly.

Oh, and:

> [ 5020.679548] tuner 2-0061: type set to 52 (Thomson DTT 7610 (ATSC/NTSC))

That module probably has a type= parameter. Experiment with that one until
you possibly even hear something properly, then try to fix type autodetection
for your card.

Andreas Mohr

-- 
No programming skills!? Why not help translate many Linux applications! 
https://launchpad.ubuntu.com/rosetta
(or alternatively buy nicely packaged Linux distros/OSS software to help
support Linux developers creating shiny new things for you?)

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

* Re: pchdtv 3000 cx88 audio very very low level
  2006-04-07  9:24 ` Andreas Mohr
@ 2006-04-07 13:06   ` Greg Stark
  2006-04-10 13:38     ` Andreas Mohr
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Stark @ 2006-04-07 13:06 UTC (permalink / raw)
  To: Andreas Mohr; +Cc: Greg Stark, linux-kernel

Andreas Mohr <andi@rhlx01.fht-esslingen.de> writes:

> IOW, you need to examine the driver sources of cx88xx, cx8800, cx88_alsa,
> btcx_risc, tveeprom (?) for some multiplexer bit mask and tweak/twiddle that
> for your tuner until you manage to hear something properly.

Hm. Except nobody else seems to have this problem with the pchdtv 3000 card.
And there are plenty of HOWTOs and FAQs online for it. Perhaps nobody else is
trying to use the NTSC tuner on it though.

I'm assuming that if cx88_alsa found any audio devices on the card then it
would create a card1 listed in /proc/asound/cards ? It isn't doing that
currently. Apparently not all cx88 cards provide a mixer interface.


-- 
greg


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

* Re: pchdtv 3000 cx88 audio very very low level
  2006-04-07 13:06   ` Greg Stark
@ 2006-04-10 13:38     ` Andreas Mohr
  2006-04-10 23:55       ` Michael Krufky
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Mohr @ 2006-04-10 13:38 UTC (permalink / raw)
  To: Greg Stark; +Cc: linux-kernel

Hi,

On Fri, Apr 07, 2006 at 09:06:42AM -0400, Greg Stark wrote:
> Andreas Mohr <andi@rhlx01.fht-esslingen.de> writes:
> 
> > IOW, you need to examine the driver sources of cx88xx, cx8800, cx88_alsa,
> > btcx_risc, tveeprom (?) for some multiplexer bit mask and tweak/twiddle that
> > for your tuner until you manage to hear something properly.
> 
> Hm. Except nobody else seems to have this problem with the pchdtv 3000 card.
> And there are plenty of HOWTOs and FAQs online for it. Perhaps nobody else is
> trying to use the NTSC tuner on it though.

A distant possibility might be that your card is a very specific rare revision
of that thing and thus doesn't have a proper card type entry for it due to
almost nobody else having that card.
In the TV card area (just as in the WLAN card area) there are quite some cards
sold under the *very same* name but wildly (or not so wildly but sufficiently)
differing hardware (those manufacturer b****rds burn in hell please, thanks).

> I'm assuming that if cx88_alsa found any audio devices on the card then it
> would create a card1 listed in /proc/asound/cards ? It isn't doing that
> currently. Apparently not all cx88 cards provide a mixer interface.

I'm not that familiar with ALSA user-space interface specifics (rather than
kernel-level), sorry.

Andreas Mohr

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

* Re: pchdtv 3000 cx88 audio very very low level
  2006-04-10 13:38     ` Andreas Mohr
@ 2006-04-10 23:55       ` Michael Krufky
  2006-04-11  7:42         ` Andreas Mohr
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Krufky @ 2006-04-10 23:55 UTC (permalink / raw)
  To: Andreas Mohr; +Cc: Greg Stark, linux-kernel

Andreas Mohr wrote:

>Hi,
>
>On Fri, Apr 07, 2006 at 09:06:42AM -0400, Greg Stark wrote:
>  
>
>>Andreas Mohr <andi@rhlx01.fht-esslingen.de> writes:
>>
>>    
>>
>>>IOW, you need to examine the driver sources of cx88xx, cx8800, cx88_alsa,
>>>btcx_risc, tveeprom (?) for some multiplexer bit mask and tweak/twiddle that
>>>for your tuner until you manage to hear something properly.
>>>      
>>>
>>Hm. Except nobody else seems to have this problem with the pchdtv 3000 card.
>>And there are plenty of HOWTOs and FAQs online for it. Perhaps nobody else is
>>trying to use the NTSC tuner on it though.
>>    
>>
>
>A distant possibility might be that your card is a very specific rare revision
>of that thing and thus doesn't have a proper card type entry for it due to
>almost nobody else having that card.
>In the TV card area (just as in the WLAN card area) there are quite some cards
>sold under the *very same* name but wildly (or not so wildly but sufficiently)
>differing hardware (those manufacturer b****rds burn in hell please, thanks).
>
>  
>
>>I'm assuming that if cx88_alsa found any audio devices on the card then it
>>would create a card1 listed in /proc/asound/cards ? It isn't doing that
>>currently. Apparently not all cx88 cards provide a mixer interface.
>>    
>>
>
>I'm not that familiar with ALSA user-space interface specifics (rather than
>kernel-level), sorry.
>
We have recently discovered that the programming for the pcHDTV3000 card 
was based on a prototype that used the Thomson DTT7610 tuner, and that 
this particular version of the card has never gone into production.

The actual version of the card in circulation uses the Thomson DTT7612 
...  You do not need a patch to correct this on your machine, at least 
not for analog NTSC mode.  Just load your driver as follows:

modprobe cx88xx tuner=60   (it will use tuner 52 by default)
modprobe cx8800

Tuner #52 is the previous tuner defined for this card, DTT7610, and 
tuner #60 is configured for Thomson DTT 7611 7611A 7612 7613 7613A 7614 
7615 7615A

The configuration for this card has been fixed in the v4l-dvb mercurial 
tree as of this morning.  To update your v4l/dvb modules (so long as you 
are running kernel 2.6.12 or later) follow the directions here:

http://linuxtv.org/repo/

I hope this helps,

Michael Krufky

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

* Re: pchdtv 3000 cx88 audio very very low level
  2006-04-10 23:55       ` Michael Krufky
@ 2006-04-11  7:42         ` Andreas Mohr
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Mohr @ 2006-04-11  7:42 UTC (permalink / raw)
  To: Michael Krufky; +Cc: Greg Stark, linux-kernel

Hi,

On Mon, Apr 10, 2006 at 07:55:01PM -0400, Michael Krufky wrote:
> Andreas Mohr wrote:
> >A distant possibility might be that your card is a very specific rare 
> >revision
> >of that thing and thus doesn't have a proper card type entry for it due to
> >almost nobody else having that card.
> >In the TV card area (just as in the WLAN card area) there are quite some 
> >cards
> >sold under the *very same* name but wildly (or not so wildly but 
> >sufficiently)
> >differing hardware (those manufacturer b****rds burn in hell please, 
> >thanks).

> We have recently discovered that the programming for the pcHDTV3000 card 
> was based on a prototype that used the Thomson DTT7610 tuner, and that 
> this particular version of the card has never gone into production.

BINGO!

Do I get to keep the $100000 prize now? :-P

One day you wake up and think by yourself "surely hardware manufacturers
have screwed us enough by now, it cannot happen again" - only for it to *do*
happen again some moments later only...

> The actual version of the card in circulation uses the Thomson DTT7612 
> ...  You do not need a patch to correct this on your machine, at least 
> not for analog NTSC mode.  Just load your driver as follows:
> 
> modprobe cx88xx tuner=60   (it will use tuner 52 by default)
> modprobe cx8800
> 
> Tuner #52 is the previous tuner defined for this card, DTT7610, and 
> tuner #60 is configured for Thomson DTT 7611 7611A 7612 7613 7613A 7614 
> 7615 7615A
> 
> The configuration for this card has been fixed in the v4l-dvb mercurial 
> tree as of this morning.  To update your v4l/dvb modules (so long as you 
> are running kernel 2.6.12 or later) follow the directions here:

Does that mean that detection for this card is now fully automatic and
correct? I'm asking since this is what we should really try to achieve:
99% of people are John Does, and 97% of those would assume Linux support
for this card to be "nonexistent"/"broken" ("thiz Leenux SUCKERZ!"),
and a measly remaining 3% would know how to configure this stuff manually
properly.

Andreas Mohr
(that's the guy that has yet another mis-detected "close but entirely
different" TV card sitting and waiting for its bttv fix soon)

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

end of thread, other threads:[~2006-04-11  7:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-07  2:57 pchdtv 3000 cx88 audio very very low level Greg Stark
2006-04-07  9:24 ` Andreas Mohr
2006-04-07 13:06   ` Greg Stark
2006-04-10 13:38     ` Andreas Mohr
2006-04-10 23:55       ` Michael Krufky
2006-04-11  7:42         ` Andreas Mohr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).