[pvrusb2] audio pops and cracks in the recordings

devsk funtoos at yahoo.com
Tue Jan 23 01:04:54 CST 2007


some craziness:

I don't have tda9887 module anymore in 2.6.19.2 version, but it existed in 2.6.17:

/lib64/modules/2.6.17-reiser4-r7/kernel/drivers/media/video/tda9887.ko

Is it not needed anymore? Although I am not sure it was used earlier because I don't a working lsmod from that time. I do see some messages for it though:

# dmesg|grep tda9887
tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
tda9887 2-0043: Data bytes: b=0x14 c=0x30 e=0x44
tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
tda9887 2-0043: Data bytes: b=0x14 c=0x30 e=0x44
tda9887 2-0043: Data bytes: b=0x14 c=0x30 e=0x44

If this module is not present, where are these messages coming from?

Another thing I notice is that I don't see messages similar to the one you posted in another thread:

Jan 22 23:42:06 londo kernel: [77899.335744] tuner 1-0061: Signal strength: 32768
Jan 22 23:42:06 londo kernel: [77899.336368] tuner 1-0061: Stereo:          yes

I see:

pvrusb2: =================  START STATUS CARD #0  =================
cx25840 2-0044: Video signal:              present
cx25840 2-0044: Detected format:           NTSC-M
cx25840 2-0044: Specified standard:        NTSC-M
cx25840 2-0044: Specified video input:     Composite 7
cx25840 2-0044: Specified audioclock freq: 48000 Hz
cx25840 2-0044: Detected audio mode:       stereo with SAP
cx25840 2-0044: Detected audio standard:   BTSC
cx25840 2-0044: Audio muted:               no
cx25840 2-0044: Audio microcontroller:     running
cx25840 2-0044: Configured audio standard: automatic detection
cx25840 2-0044: Configured audio system:   BTSC
cx25840 2-0044: Specified audio input:     Tuner (In8)
cx25840 2-0044: Preferred audio mode:      stereo
tda9887 2-0043: Data bytes: b=0x14 c=0x30 e=0x44
tuner 2-0061: Tuner mode:      analog TV
tuner 2-0061: Frequency:       55.25 MHz
tuner 2-0061: Standard:        0x0000b000
wm8775 2-001b: Input: 2
pvrusb2: cx2341x config:
pvrusb2: Stream: MPEG-2 Program Stream
pvrusb2: VBI Format: No VBI
pvrusb2: Video:  720x480, 30 fps
pvrusb2: Video:  MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000
pvrusb2: Video:  GOP Size 12, 2 B-Frames, GOP Closure, No 3:2 Pulldown
pvrusb2: Audio:  48 kHz, Layer II, 224 kbps, Stereo, No Emphasis, No CRC
pvrusb2: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0
pvrusb2: Temporal Filter: Manual, 8
pvrusb2: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
pvrusb2: ==================  END STATUS CARD #0  ==================

Does it look clean?

-devsk

----- Original Message ----
From: Mike Isely <isely at isely.net>
To: Communications nexus for pvrusb2 driver <pvrusb2 at isely.net>
Sent: Monday, January 22, 2007 10:05:21 PM
Subject: Re: [pvrusb2] audio pops and cracks in the recordings

On Mon, 22 Jan 2007, devsk wrote:

> After 1.5 hours, I have booted back into linux and I can immd. see that I don't have to wait for even 45 seconds on pbs to make it produce pops.
> 
> I notice this occurring in the mythtv logs pretty often, but its not there for every pop.
> 
> 2007-01-22 19:16:34.386 WriteAudio: buffer underrun
> 2007-01-22 19:16:34.536 NVP: prebuffering pause
> 
> -devsk
> 
> ----- Original Message ----
> From: devsk <funtoos at yahoo.com>
> To: Communications nexus for pvrusb2 driver <pvrusb2 at isely.net>
> Sent: Monday, January 22, 2007 6:12:44 PM
> Subject: Re: [pvrusb2] audio pops and cracks in the recordings
> 
> > Anyway, I think you definitely need to run the device under Windows and test the audio there.
> 
> ok, I have been watching the pbs channel for more than 45 minutes in windows xp pro and I can't hear even a single pop so far. The channel has played much more intense music compared to the clip I posted earlier. So, it doesn't look like the device problem. I have tried various channels (CMT has lot of guitar and no pops there) and no pops anywhere so far. Where do we go from here?
> 
> I will stay in windows xp until I hear from you, if you want me to do some troubleshooting in windows. And also to see if with time it heats up or something and starts popping.....:)
> 
> -devsk

Sorry, on Mondays I've away from the net for pretty much the entire 
night.

I don't have any obvious solutions here.  So far you're still the only 
person to tell me of problems like this and I can't really seem to 
reproduce the problem here (but read on).

Given that XP is OK, then the hardware has to be fine and we're left 
looking at the software.  So what's difference?  The pvrusb2 driver is 
clearly the same.  The kernel version is different.  I'm still running 
2.6.18.1 here.  I did test against 2.6.19-rc2 (I think) briefly a while 
back and don't remember encountering any kind of problem like this.  I 
can try to update my kernel here and see if the problem happens.

Is there anyone else here with devsk's setup and is or is not seeing 
this problem?  The key to this problem is to figure out what is 
different.

Now with that said, I *did* manage to do one thing here that seemed to 
produce a similar symptom.  On a 29xxx device I had accidentally left 
the coax plugged into the TV F-connector while trying to listen to the 
radio.  The result?  I got the audio but it was full of cracks and pops, 
similar in pattern to what you got.  But this was in radio mode on a 
29xxx device, which is different than your situation.  I tried the same 
experiment on a 24xxx device but the result was total static that time.

Thinking further, I can see how a weak FM-modulated signal could do 
something like this - bursts of audio energy might displace the carrier 
faster than the tuner can track the weak signal and thus it pops.  That 
might suggest something is misprogramming the tda9887 on your device 
causing the audio signal to be too weak.  I think there have been cases 
like that on other (non-pvrusb2) hardware, but I'm not really sure.

The best strategy here may be to compare environments and try to match 
them up.  I will try out a 2.6.19.2 environment and see what happens.  
But it may be a few days yet before I can try that experiment.  You 
might want to try kernel 2.6.18.1 and see if the cracking and popping 
still happens.  I'm not hopeful that this is your problem, but we seem 
to be running out of options.

You might also want to try building the latest v4l-dvb repository and 
installing that in your kernel.  That will give you the absolute latest 
versions of all the support modules, so if the problem has been recently 
fixed then we don't have to keep chasing this.

  -Mike

-- 
                        |         Mike Isely          |     PGP fingerprint
     Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                        |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                        |                             |
_______________________________________________
pvrusb2 mailing list
pvrusb2 at isely.net
http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2







 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/


More information about the pvrusb2 mailing list