On Wed, Jul 20, 2005 at 05:28:23PM +0200, Petter Gundersen wrote:
> Used to have the same problem here as well. If the loading of the
> tda9887 module doesn't help you (it made no difference for my setup),
> you can try using the patch I posted here:
> http://www.gossamer-threads.com/lists/ivtv/devel/22272
Before applying this patch, I had sound initially on my pvr-500, but 
lose it after a channel change. This happened on both tuners.

After the patch I have obscure noises on /dev/video0 and perfect sound 
on /dev/video1, so part of   the problem is solved.

Do you use any module options after applying this patch?

Kind regards,
Henk.

> 
> 
> Regards,
> Petter
> 
> 
> On 7/20/05, Chris Camisa <[EMAIL PROTECTED]> wrote:
> > I had a problem like yours.  Your tda9887 module needs to load before
> > the tveeprom module.  I fixed my Gentoo by modifying
> > my /etc/modules.autoload.d/kernel-2.6 to have tda9887 above ivtv.
> > 
> > Also, your etc/modules/ivtv has lines which I don't think are needed
> > anymore.
> > 
> > Here's the one which works correctly for me... ( of course you'll need
> > to add a line for your lirc support )
> > 
> > alias char-major-81 videodev
> > alias char-major-81-0 ivtv
> > alias char-major-81-1 ivtv
> > options cx25840 i2c_enable=1
> > options saa7127 i2c_enable=-1
> > 
> > So, basically... since the init.ivtv shows your cx25840 audio input is
> > (0) and you still have no sound... try loading the tda9887 module before
> > you load the ivtv module.
> > 
> > 
> > --Camisa
> > 
> > 
> > On Wed, 2005-07-20 at 10:44 +0200, [EMAIL PROTECTED] wrote:
> > > Hello,
> > >
> > > I try to configure the last release for the ivtv driver:ivtv: version 
> > > 0.3.6
> > > (z)
> > >
> > > Video capture output produce a good quality, but no sound ...
> > > I'm running Debian Sarge with:
> > > 1 GB RAM
> > > Athlon 2800
> > >
> > > This is my first  ivtv installation. Then, I followed the instructions on
> > >
> > >
> > > http://ivtv.writeme.ch
> > >
> > > Driver was compiled without problems.
> > > I live in a PAL country (in Switzerland)
> > > After several days spend to read forums and documentations, unfortunately,
> > > I cannot find what is wrong. Could you please check if my configuration is
> > > ok ?
> > >
> > > Question:
> > > ---------
> > > I think I don't need to connect my sound card to my PVR-500 to have sound,
> > > correct ?
> > >
> > > Thanks for your help and have a nice day
> > >
> > > Jean
> > >
> > > My modules settings:
> > > --------------------
> > > teloche:/etc/modutils# pwd
> > > /etc/modutils
> > > teloche:/etc/modutils# cat ivtv
> > > # ivtv settings
> > > alias char-major-61 lirc_i2c
> > > alias char-major-81 videodev
> > > alias char-major-81-0 ivtv
> > > alias char-major-81-1 ivtv
> > > alias /dev/v4l ivtv
> > > options cx25840 no_black_magic=1
> > > options cx25840 i2c_enable=1
> > > options ivtv ivtv_debug=2 ivtv_pal=1 ivtv_std=1 # cardtype=6
> > > options tuner pal=1
> > > options saa7127 enable_output=1 output_select=0 pal=1
> > > options msp3400 once=1 simple=1
> > > add below ivtv msp3400 saa7115 saa7127 tuner
> > > add above ivtv lirc_dev lirc_i2c # ivtv-fb
> > > post-install ivtv /usr/local/bin/ivtvctl -d /dev/video0 -u 0xff
> > > #post-install ivtv /usr/local/bin/ivtvctl -d /dev/video1 -u 0xff
> > >
> > > teloche:/etc/modutils#
> > >
> > > Loading modules:
> > > ----------------
> > > modprobe ivtv
> > >
> > > teloche:/etc/modutils# lsmod
> > > Module                  Size  Used by
> > > tda9887                14360  0
> > > wm8775                 10392  0
> > > cx25840                43304  0
> > > firmware_class         10624  1 cx25840
> > > tuner                  21540  0
> > > tveeprom               14260  0
> > > ivtv                 1349380  1
> > > i2c_algo_bit            9992  1 ivtv
> > > videodev               10368  2 ivtv
> > > snd_intel8x0           32704  1
> > > snd_ac97_codec         75648  1 snd_intel8x0
> > > snd_pcm_oss            53664  0
> > > snd_mixer_oss          20480  2 snd_pcm_oss
> > > snd_pcm                93320  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
> > > snd_timer              26628  1 snd_pcm
> > > snd                    55140  6 
> > > snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> > > soundcore              10720  2 snd
> > > snd_page_alloc         10116  2 snd_intel8x0,snd_pcm
> > > i2c_nforce2             6784  0
> > > i2c_core               23312  7 
> > > tda9887,wm8775,cx25840,tuner,tveeprom,i2c_algo_bit,i2c_nforce2
> > > ext3                  136072  4
> > > jbd                    63256  1 ext3
> > > analog                 12192  0
> > > gameport                4992  1 analog
> > > floppy                 60496  0
> > > pcspkr                  3940  0
> > > rtc                    13496  0
> > > amd74xx                13980  0 [permanent]
> > > ehci_hcd               47112  0
> > > ohci_hcd               32008  0
> > > usbcore               131704  3 ehci_hcd,ohci_hcd
> > > amd64_agp              12744  1
> > > agpgart                35240  1 amd64_agp
> > > e100                   36224  0
> > > mii                     5248  1 e100
> > > evdev                   9728  0
> > > psmouse                29832  0
> > > ide_generic             1408  0 [permanent]
> > > ide_disk               18176  0
> > > ide_cd                 42244  0
> > > cdrom                  41248  1 ide_cd
> > > ide_scsi               16644  0
> > > ide_core              133416  5 
> > > amd74xx,ide_generic,ide_disk,ide_cd,ide_scsi
> > > sd_mod                 19472  7
> > > sata_sil                8836  0
> > > sata_nv                 9476  5
> > > libata                 48516  2 sata_sil,sata_nv
> > > scsi_mod              139080  3 ide_scsi,sd_mod,libata
> > > unix                   29620  492
> > > teloche:/etc/modutils#
> > >
> > > Output from /var/log/messages:
> > > -----------------------------
> > > Jul 19 23:15:34 teloche kernel: Linux video capture interface: v1.00
> > > Jul 19 23:15:34 teloche kernel: ivtv:
> > > ==================== START INIT IVTV ====================
> > > Jul 19 23:15:34 teloche kernel: ivtv: version 0.3.6 (z) loading
> > > Jul 19 23:15:34 teloche kernel: ivtv: Linux version: 2.6.11.12juillet 
> > > preempt
> > > K8 gcc-3.3
> > > Jul 19 23:15:34 teloche kernel: ivtv: In case of problems please include
> > > the debug info
> > > Jul 19 23:15:34 teloche kernel: ivtv: between the START INIT IVTV and END
> > > INIT IVTV lines when
> > > Jul 19 23:15:34 teloche kernel: ivtv: mailing the ivtv-devel mailinglist.
> > > Jul 19 23:15:34 teloche kernel: ivtv: Autodetected WinTV PVR 150 card
> > > Jul 19 23:15:34 teloche kernel: ivtv: Found an iTVC16 based chip
> > > Jul 19 23:15:34 teloche kernel: ivtv: XXX PCI device: 0x00e1 vendor: 
> > > 0x10de
> > > Jul 19 23:15:34 teloche kernel: tveeprom: Hauppauge: model = 23559, rev =
> > > D591, serial# = 8201302
> > > Jul 19 23:15:34 teloche kernel: tveeprom: tuner = Philips FQ1216AME MK4 
> > > (idx
> > > = 91, type = 56)
> > > Jul 19 23:15:34 teloche kernel: tveeprom: tuner fmt = PAL(B/G) PAL(I) 
> > > SECAM(L/L)
> > > PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
> > > Jul 19 23:15:34 teloche kernel: tveeprom: audio_processor = MSP3410D (type
> > > = 5)
> > > Jul 19 23:15:34 teloche kernel: ivtv: i2c attach [client=tveeprom[50],ok]
> > > Jul 19 23:15:34 teloche kernel: ivtv: Tuner Type 56, Tuner formats 
> > > 0x00400e17,
> > > Radio: yes, Model 0x00915651, Revision 0x00000000
> > > Jul 19 23:15:34 teloche kernel: ivtv: PAL tuner detected
> > > Jul 19 23:15:34 teloche kernel: ivtv: Radio detected
> > > Jul 19 23:15:34 teloche kernel: tuner: Ignoring new-style parameters in 
> > > presence
> > > of obsolete ones
> > > Jul 19 23:15:34 teloche kernel: tuner: chip found at addr 0xc2 i2c-bus 
> > > ivtv
> > > i2c driver #0
> > > Jul 19 23:15:34 teloche kernel: ivtv: i2c attach [client=(tuner unset),ok]
> > > Jul 19 23:15:34 teloche kernel: cx25840: requesting 
> > > /lib/modules/HcwMakoA.ROM
> > > Jul 19 23:15:35 teloche kernel: cx25840: firmware loaded
> > > Jul 19 23:15:35 teloche kernel: ivtv: i2c attach [client=cx25840[50],ok]
> > > Jul 19 23:15:35 teloche kernel: ivtv: i2c attach [client=wm8775[50],ok]
> > > Jul 19 23:15:35 teloche kernel: tda9885/6/7: chip found @ 0x86
> > > Jul 19 23:15:35 teloche kernel: ivtv: i2c attach [client=tda9887,ok]
> > > Jul 19 23:15:36 teloche kernel: ivtv: Encoder revision: 0x02050032
> > > Jul 19 23:15:36 teloche kernel: ivtv: Encoder Firmware may be buggy, use
> > > version 0x02040011
> > > Jul 19 23:15:36 teloche kernel: ivtv: Configuring WinTV PVR 150 card with
> > > 5 streams
> > > Jul 19 23:15:36 teloche kernel: ivtv: Registered v4l2 device for encoder
> > > MPEG minor 0
> > > Jul 19 23:15:36 teloche kernel: ivtv: Create DMA encoder MPEG stream: 0 x
> > > 32768 buffers (0KB total)
> > > Jul 19 23:15:36 teloche kernel: ivtv: Registered v4l2 device for encoder
> > > YUV minor 32
> > > Jul 19 23:15:36 teloche kernel: ivtv: Create DMA encoder YUV stream: 0 x
> > > 12960 buffers (0KB total)
> > > Jul 19 23:15:36 teloche kernel: ivtv: Registered v4l2 device for encoder
> > > VBI minor 224
> > > Jul 19 23:15:36 teloche kernel: ivtv: Create DMA encoder VBI stream: 0 x
> > > 12740 buffers (0KB total)
> > > Jul 19 23:15:36 teloche kernel: ivtv: Registered v4l2 device for encoder
> > > PCM audio minor 24
> > > Jul 19 23:15:36 teloche kernel: ivtv: Create DMA encoder PCM audio stream:
> > > 0 x 4608 buffers (0KB total)
> > > Jul 19 23:15:36 teloche kernel: ivtv: Registered v4l2 device for encoder
> > > radio minor 64
> > > Jul 19 23:15:36 teloche kernel: ivtv: Create encoder radio stream
> > > Jul 19 23:15:36 teloche kernel: ivtv: Setting Tuner 56
> > > Jul 19 23:15:36 teloche kernel: tuner: type set to 56 (Philips PAL/SECAM
> > > multi (FQ1216AME MK4)) by ivtv i2c driver #0
> > > Jul 19 23:15:36 teloche kernel: ivtv: ivtv_enc_thread: pid = 4982, itv =
> > > 0xf8ad6ea0
> > > Jul 19 23:15:36 teloche kernel: ivtv: ivtv_enc_vbi_thread: pid = 4983, itv
> > > = 0xf8ad6ea0
> > > Jul 19 23:15:36 teloche kernel: ivtv: Switching standard to PAL.
> > > Jul 19 23:15:36 teloche kernel: ivtv: Initialized WinTV PVR 150, card #0
> > > Jul 19 23:15:36 teloche kernel: ivtv: Autodetected WinTV PVR 150 card
> > > Jul 19 23:15:36 teloche kernel: ivtv: Found an iTVC16 based chip
> > > Jul 19 23:15:36 teloche kernel: ivtv: XXX PCI device: 0x00e1 vendor: 
> > > 0x10de
> > > Jul 19 23:15:36 teloche kernel: tveeprom: Hauppauge: model = 23559, rev =
> > > D591, serial# = 8201302
> > > Jul 19 23:15:36 teloche kernel: tveeprom: tuner = Philips FQ1216AME MK4 
> > > (idx
> > > = 91, type = 56)
> > > Jul 19 23:15:36 teloche kernel: tveeprom: tuner fmt = PAL(B/G) PAL(I) 
> > > SECAM(L/L)
> > > PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
> > > Jul 19 23:15:36 teloche kernel: tveeprom: audio_processor = MSP3410D (type
> > > = 5)
> > > Jul 19 23:15:36 teloche kernel: ivtv: i2c attach [client=tveeprom[50],ok]
> > > Jul 19 23:15:36 teloche kernel: tuner: chip found at addr 0xc2 i2c-bus 
> > > ivtv
> > > i2c driver #1
> > > Jul 19 23:15:36 teloche kernel: ivtv: i2c attach [client=(tuner unset),ok]
> > > Jul 19 23:15:36 teloche kernel: cx25840: requesting 
> > > /lib/modules/HcwMakoA.ROM
> > > Jul 19 23:15:38 teloche kernel: cx25840: firmware loaded
> > > Jul 19 23:15:38 teloche kernel: ivtv: i2c attach [client=cx25840[50],ok]
> > > Jul 19 23:15:38 teloche kernel: ivtv: i2c attach [client=wm8775[50],ok]
> > > Jul 19 23:15:38 teloche kernel: tda9885/6/7: chip found @ 0x86
> > > Jul 19 23:15:38 teloche kernel: ivtv: i2c attach [client=tda9887,ok]
> > > Jul 19 23:15:38 teloche kernel: ivtv: Tuner Type 56, Tuner formats 
> > > 0x00400e17,
> > > Radio: yes, Model 0x00915651, Revision 0x00000000
> > > Jul 19 23:15:38 teloche kernel: ivtv: Radio detected
> > > Jul 19 23:15:39 teloche kernel: ivtv: Encoder revision: 0x02050032
> > > Jul 19 23:15:39 teloche kernel: ivtv: Encoder Firmware may be buggy, use
> > > version 0x02040011
> > > Jul 19 23:15:39 teloche kernel: ivtv: Configuring WinTV PVR 150 card with
> > > 5 streams
> > > Jul 19 23:15:39 teloche kernel: ivtv: Registered v4l2 device for encoder
> > > MPEG minor 1
> > > Jul 19 23:15:39 teloche kernel: ivtv: Create DMA encoder MPEG stream: 0 x
> > > 32768 buffers (0KB total)
> > > Jul 19 23:15:39 teloche kernel: ivtv: Registered v4l2 device for encoder
> > > YUV minor 33
> > > Jul 19 23:15:39 teloche kernel: ivtv: Create DMA encoder YUV stream: 0 x
> > > 12960 buffers (0KB total)
> > > Jul 19 23:15:39 teloche kernel: ivtv: Registered v4l2 device for encoder
> > > VBI minor 225
> > > Jul 19 23:15:39 teloche kernel: ivtv: Create DMA encoder VBI stream: 0 x
> > > 12740 buffers (0KB total)
> > > Jul 19 23:15:39 teloche kernel: ivtv: Registered v4l2 device for encoder
> > > PCM audio minor 25
> > > Jul 19 23:15:39 teloche kernel: ivtv: Create DMA encoder PCM audio stream:
> > > 0 x 4608 buffers (0KB total)
> > > Jul 19 23:15:39 teloche kernel: ivtv: Registered v4l2 device for encoder
> > > radio minor 65
> > > Jul 19 23:15:39 teloche kernel: ivtv: Create encoder radio stream
> > > Jul 19 23:15:39 teloche kernel: ivtv: Setting Tuner 56
> > > Jul 19 23:15:39 teloche kernel: tuner: type set to 56 (Philips PAL/SECAM
> > > multi (FQ1216AME MK4)) by ivtv i2c driver #1
> > > Jul 19 23:15:39 teloche kernel: ivtv: ivtv_enc_thread: pid = 5089, itv =
> > > 0xf8afa1a4
> > > Jul 19 23:15:39 teloche kernel: ivtv: ivtv_enc_vbi_thread: pid = 5090, itv
> > > = 0xf8afa1a4
> > > Jul 19 23:15:39 teloche kernel: ivtv: Switching standard to PAL.
> > > Jul 19 23:15:39 teloche kernel: ivtv: Initialized WinTV PVR 150, card #1
> > > Jul 19 23:15:39 teloche kernel: ivtv: ====================  END INIT IVTV
> > >  ====================
> > >
> > > Setting up channels:
> > > --------------------
> > > teloche:~# ptune-ui.pl
> > > Channel changed to SE11, freq = '231250'
> > >
> > > And capture:
> > > ------------
> > > teloche:~# cat /dev/video0 > SE11.mpg
> > >
> > > Output from /var/log/messages:
> > > -----------------------------
> > > Jul 19 23:17:37 teloche kernel: ivtv: Allocate DMA encoder MPEG stream: 
> > > 128
> > > x 32768 buffers (4096KB total)
> > > Jul 19 23:17:37 teloche kernel: ivtv: Setup VBI API header 0x0000bd0d pkts
> > > 1 buffs 4 ln 36 sz 1444
> > > Jul 19 23:17:37 teloche kernel: ivtv: Setup VBI start 0x002fea04 frames 4
> > > fpi 1 lines 0x00000140
> > >
> > > The result is a mpg file that I can play in mplayer or Totem without 
> > > problem,
> > > quality of picture is good but no sound ...
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> > > from IBM. Find simple to follow Roadmaps, straightforward articles,
> > > informative Webcasts and more! Get everything you need to get up to
> > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> > > _______________________________________________
> > > ivtv-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/ivtv-devel
> > >
> > 
> > 
> > 
> > -------------------------------------------------------
> > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> > from IBM. Find simple to follow Roadmaps, straightforward articles,
> > informative Webcasts and more! Get everything you need to get up to
> > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> > _______________________________________________
> > ivtv-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/ivtv-devel
> >
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ivtv-devel


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to