LinHES Forums
http://forum.linhes.org/

2 tuners, 1 sound > FIXED
http://forum.linhes.org/viewtopic.php?f=2&t=6579
Page 1 of 1

Author:  b.askew [ Sun Oct 23, 2005 7:50 pm ]
Post subject:  2 tuners, 1 sound > FIXED

I've got a knoppmyth server with 2 tuner cards a pvr-250, and pvr-150. I am using itvt drivers 0.4.0. It seems that I have sound with one card and not with the other.
Example, I am watching live tv, and it is using the 1st card and i have sound, then a recording starts while i am still watching live tv, so the recording has to use the 2nd card...the recording will not have sound. It also works the other way around. If a recording starts while I am not watching live tv, the recording will have sound but if I try to enter live tv, live tv will have no sound. As soon as the recording ends I can go into live tv and sound works fine. I'm not sure which card mythtv is using as the 1st tuner and which is the 2nd.
Looking in /var/log/messages i do see this which repeats every so often
Code:
mythtv kernel: ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!

And the only thing that even looks the first bit nasty in mythbackend.log to me is this
Code:
root@mythtv:~# tail -n 10 /var/log/mythtv/mythbackend.log
vbi: Invalid argument
2005-10-23 20:51:55.530 Changing from WatchingLiveTV to None
2005-10-23 20:52:02.258 MainServer::HandleAnnounce Playback
2005-10-23 20:52:02.261 adding: mythtv as a client (events: 0)
2005-10-23 20:52:02.278 MainServer::HandleAnnounce Playback
2005-10-23 20:52:02.281 adding: mythtv as a client (events: 0)
2005-10-23 20:52:02.288 adding: mythtv as a remote ringbuffer
2005-10-23 20:52:02.301 Changing from None to WatchingLiveTV
2005-10-23 20:52:02.432 Can't enable VBI recording
vbi: Invalid argument

I did that command when a recording was happening that has sound and going into live tv there, I had NO sound.

Thanks

Author:  b.askew [ Sun Oct 23, 2005 8:15 pm ]
Post subject: 

I looked at the results of dmesg, and it appears that the 250 is card #0, and the 150 is #1.

Code:
ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.0 (tagged release) loading
ivtv:  Linux version: 2.6.11.9-chw-2 SMP preempt 586 gcc-3.3
ivtv:  In case of problems please include the debug info
ivtv:  between the START INIT IVTV and END INIT IVTV lines when
ivtv:  mailing the ivtv-devel mailinglist.
ivtv0: Autodetected WinTV PVR 250 card (iTVC16 based)
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 18
tveeprom: ivtv version
tveeprom: Hauppauge: model = 32032, rev = B185, serial# = 2836236
tveeprom: tuner = TCL 2002N 6A (idx = 85, type = 50)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP4448 (type = 1b)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode, simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Oct 12 2005 22:35:24
ivtv0: i2c attach to card #0 ok [client=MSP3448W-A2, addr=40]
saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
ivtv0: loading /lib/modules/ivtv-fw-enc.bin
ivtv0: Encoder revision: 0x02040011
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner 1-0061: type set to 39 (LG NTSC (newer TAPC series))
ivtv0 warning: i2c client addr: 0x43 not found for command 0x40085618!
ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!
ivtv0: Initialized WinTV PVR 250, card #0
ivtv:  ======================  NEXT CARD  ======================
ivtv1: Autodetected WinTV PVR 150 card (iTVC16 based)
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 19 (level, low) -> IRQ 19
tveeprom: ivtv version
tveeprom: Hauppauge: model = 26052, rev = C185, serial# = 7578275
tveeprom: tuner = TCL 2002N 6A (idx = 85, type = 50)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61]
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
cx25840 2-0044: cx25841-23 found @ 0x88 (ivtv i2c driver #1)
cx25840 2-0044: unable to open firmware /lib/modules/HcwMakoA.ROM
ivtv1: i2c attach to card #1 ok [client=cx25840, addr=44]
wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #1)
ivtv1: i2c attach to card #1 ok [client=wm8775, addr=1b]
ivtv1: loading /lib/modules/ivtv-fw-enc.bin
ivtv1: Encoder revision: 0x02040011
ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner 2-0061: type set to 50 (TCL 2002N)
ivtv1: Initialized WinTV PVR 150, card #1
ivtv:  ====================  END INIT IVTV  ====================
cx2388x v4l2 driver version 0.0.4 loaded
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv0: i2c attach to card #0 ok [client=Hauppauge IR, addr=18]
lirc_dev: lirc_register_plugin:sample_rate: 10
lirc_i2c: chip found @ 0x71 (Hauppauge IR (PVR150))
ivtv1: i2c attach to card #1 ok [client=Hauppauge IR (PVR150), addr=71]
lirc_dev: lirc_register_plugin:sample_rate: 10
eth0: no IPv6 routers present
ts: Compaq touchscreen protocol output
ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!
input: PC Speaker
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
ACPI: PCI interrupt 0000:00:10.3[D] -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:10.3: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.3: irq 21, pci mem 0xdffff800
ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:10.3: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 6 ports detected
NET: Registered protocol family 23
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-7174  Tue Mar 22 06:44:39 PST 2005
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!
ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!
ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!
ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!
ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!
ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!
ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!
ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!
ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!

Also noticed that the pvr-150 is /dev/video1, and using ivtvctl -a on that card i see that mute=1, meaning the card is muted?
Code:
root@mythtv:~# ivtvctl -d /dev/video1 -a
<snip>
Volume = 58880
Mute = 1
root@mythtv:~#

Doing the same thing with /dev/video0, it says mute=0
so I try this
Code:
root@mythtv:~# ivtvctl -d /dev/video1 -y mute=0

and then try
Code:
root@mythtv:~# ivtvctl -d /dev/video1 -a

and it still shows that mute=1

Author:  b.askew [ Wed Nov 02, 2005 5:28 pm ]
Post subject:  Fixed

Ok, i just needed the firmware file HcwMakoA.ROM from the ivtv project for my CX25840.
Code:
cx25840 2-0044: unable to open firmware /lib/modules/HcwMakoA.ROM

Author:  mccoyn [ Sun Nov 27, 2005 4:27 pm ]
Post subject: 

Anyone looking for this magical file its on the driver disk that came with the PVR-150. I copied it to /lib/modules/ and it worked for me.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/