Mailing List Archive

PVR 500, MythTV, Sound problems, ivtv-0.3.9
I am not getting any sound form the second decoder... and sometime not the first , most of the time Encoder 1 works but encoder 2 never gives any sound. anyone have a clue ?
I am Useing PAL.

here are my specs

DMESG:

Linux version 2.6.11.9-chw-2 (root@devonthego.mysettopbox.tv) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 SMP Sat May 14 12:11:44 CDT 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000027ff0000 (usable)
BIOS-e820: 0000000027ff0000 - 0000000027ff3000 (ACPI NVS)
BIOS-e820: 0000000027ff3000 - 0000000028000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
639MB LOWMEM available.
On node 0 totalpages: 163824
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 159728 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
ACPI: RSDP (v000 AWARD ) @ 0x000f6f20
ACPI: RSDT (v001 AWARD AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x27ff3000
ACPI: FADT (v001 AWARD AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x27ff3040
ACPI: DSDT (v001 AWARD AWRDACPI 0x00001000 MSFT 0x0100000a) @ 0x00000000
ACPI: PM-Timer IO Port: 0x4008
Allocating PCI resources starting at 28000000 (gap: 28000000:d7ff0000)
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=Linux ro root=301 apm=power-off nomce
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01585000)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 601.403 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 643660k/655296k available (2979k kernel code, 11128k reserved, 1133k data, 224k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1191.93 BogoMIPS (lpj=595968)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0387f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0387f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU serial number disabled.
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0ca0)
CPU0: Intel Pentium III (Katmai) stepping 03
per-CPU timeslice cutoff: 1463.06 usecs.
task migration cache decay timeout: 2 msecs.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
CPU0 attaching sched-domain:
domain 0: span 0001
groups: 0001
domain 1: span 0001
groups: 0001
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 3k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb2a0, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050211
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 *7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 8 devices
PnPBIOS: Disabled by ACPI PNP
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically. If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device(). As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior. If this argument makes the device work again,
** please email the output of "lspci" to bjorn.helgaas@hp.com
** so I can fix the driver.
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: WDC WD2500JB-00GVC0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 1024KiB
hda: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63, UDMA(33)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4
libata version 1.10 loaded.
Fusion MPT base driver 3.01.18
Copyright (c) 1999-2004 LSI Logic Corporation
Fusion MPT SCSI Host driver 3.01.18
Fusion MPT misc device (ioctl) driver 3.01.18
mptctl: Registered with Fusion MPT base driver
mptctl: /dev/mptctl @ (major,minor=10,220)
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid10 personality registered as nr 9
md: raid5 personality registered as nr 4
raid5: automatically using best checksumming function: pIII_sse
pIII_sse : 1176.000 MB/sec
raid5: using function: pIII_sse (1176.000 MB/sec)
raid6: int32x1 109 MB/s
raid6: int32x2 156 MB/s
raid6: int32x4 136 MB/s
raid6: int32x8 140 MB/s
raid6: mmxx1 265 MB/s
raid6: mmxx2 375 MB/s
raid6: sse1x1 312 MB/s
raid6: sse1x2 402 MB/s
raid6: using algorithm sse1x2 (402 MB/s)
md: raid6 personality registered as nr 8
md: multipath personality registered as nr 7
md: faulty personality registered as nr 10
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 64Kbytes
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 15
ACPI wakeup devices:
USB0
ACPI: (supports S0 S1 S4 S4bios S5)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Trying to move old root to /initrd ... <6>kjournald starting. Commit interval 5 seconds
okay
Freeing unused kernel memory: 224k freed
Adding 827336k swap on /dev/hda2. Priority:-1 extents:1
EXT3 FS on hda1, internal journal
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI interrupt 0000:00:07.2[D] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:07.2: Intel Corp. 82371AB/EB/MB PIIX4 USB
uhci_hcd 0000:00:07.2: irq 10, io base 0x9000
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
ieee1394: Initialized config rom entry `ip1394'
Real Time Clock Driver v1.12
ACPI: Power Button (FF) [PWRF]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 8 throttling states)
Linux Kernel Card Services
options: [pci] [cardbus] [pm]
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
Linux Tulip driver version 1.1.13 (May 11, 2002)
ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 10 (level, low) -> IRQ 10
tulip0: no phy info, aborting mtable build
eth0: Macronix 98715 PMAC rev 37 at 00019400, 00:80:AD:8C:E0:29, IRQ 10.
Linux agpgart interface v0.100 (c) Dave Jones
NET: Registered protocol family 17
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
ttyS0: LSR safety check engaged!
ttyS0: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Warning: /proc/ide/hd?/settings interface is obsolete, and will be removed soon!
Linux video capture interface: v1.00
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.9 (development svn snapshot revision 2677) 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.
ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI interrupt 0000:02:08.0[A] -> GSI 5 (level, low) -> IRQ 5
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Hauppauge: model = 23559, rev = D291, serial# = 7726555
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50]
ivtv: This is the first unit of a PVR500
tuner: chip found at addr 0xc0 i2c-bus ivtv i2c driver #0
TEA5767 detected.
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=60]
tuner: type set to 62 (Philips TEA5767HN FM Radio) by autodetect
type set to 62 (Philips TEA5767HN FM Radio)
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]
cx25840: loading /lib/modules/HcwMakoA.ROM
ivtv: i2c attach to card #0 ok [client=cx25840[50], addr=44]
ivtv: i2c attach to card #0 ok [client=wm8775, addr=1b]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv: Detected a TEA5767 radio tuner. Enabling radio support.
ivtv: loading /lib/modules/ivtv-fw-enc.bin
ivtv: Encoder revision: 0x02040011
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv: Create encoder radio stream
tuner: type set to 51 (Philips PAL/SECAM_D (FM 1256 I-H3)) by ivtv i2c driver #0
ivtv: Initialized WinTV PVR 500 (unit #1), card #0
ivtv: ====================== NEXT CARD ======================
ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 7
PCI: setting IRQ 7 as level-triggered
ACPI: PCI interrupt 0000:02:09.0[A] -> GSI 7 (level, low) -> IRQ 7
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Hauppauge: model = 23559, rev = D291, serial# = 7726555
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv: i2c attach to card #1 ok [client=tveeprom[50], addr=50]
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach to card #1 ok [client=(tuner unset), addr=61]
cx25840: loading /lib/modules/HcwMakoA.ROM
ivtv: i2c attach to card #1 ok [client=cx25840[50], addr=44]
ivtv: i2c attach to card #1 ok [client=wm8775, addr=1b]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach to card #1 ok [client=tda9887, addr=43]
ivtv: This is the second unit of a PVR500
ivtv: Correcting tveeprom data: no radio present on second unit
ivtv: loading /lib/modules/ivtv-fw-enc.bin
ivtv: Encoder revision: 0x02040011
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner: type set to 51 (Philips PAL/SECAM_D (FM 1256 I-H3)) by ivtv i2c driver #1
ivtv: Initialized WinTV PVR 500 (unit #2), card #1
ivtv: ==================== END INIT IVTV ====================
NET: Registered protocol family 10
Disabled Privacy Extensions on device c04b6b00(lo)
IPv6 over IPv4 tunneling driver
ts: Compaq touchscreen protocol output
input: PC Speaker
agpgart: Detected an Intel 440BX Chipset.
agpgart: Maximum main memory to use for agp memory: 564M
agpgart: AGP aperture is 64M @ 0xec000000
eth0: no IPv6 routers present
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 7 (level, low) -> IRQ 7
gameport: pci0000:00:0a.1 speed 1217 kHz
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
root@mythtv:~#


I have these files

r--r--r-- 1 root root 369K Jan 17 2005 HcwFalcn.rom
-r--r--r-- 1 root root 14K Jan 7 2005 HcwMakoA.ROM


and my modules options look like this


## PLayed with this setting without luck #options saa7127 i2c_enable=-1,-1
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
options ivtv ivtv_std=2 tuner=51,51



and I think this is run at startup..



root@mythtv:/etc/init.d# cat set_ivtv_params
#!/bin/bash
# Set the ivtv Parameters
########################################################################
IVTVCTL='ivtvctl'
IVTVDIR='/etc/sysconfig/ivtv'
#----------------------------------------------------------------------#
# Default values, if not specified in $IVTVDIR/cfg-*
IVTV_DT='0' # Tuner input,
IVTV_DF='PAL' # tuner format [NTSC|PAL]
########################################################################
[ -d "$IVTVDIR" ] || exit 1

PATH="$PATH:/usr/local/bin"
# See how we were called:
case $1 in
(start)
cd $IVTVDIR || exit 2
for g in $(echo cfg-*) ; do
f=${g#cfg-}
unset IVTV_TUNER IVTV_RATE IVTV_PEAK IVTV_TYPE
source cfg-$f
case $IVTV_TYPE in
("") IVTV_TYPE=0x3000 ;;
(NTSC) IVTV_TYPE=0x3000 ;;
(PAL) IVTV_TYPE=0xff ;;
esac
$IVTVCTL -d /dev/video$f -u $IVTV_TYPE
$IVTVCTL -d /dev/video$f -p ${IVTV_TUNER:-${IVTV_DT}}
$IVTVCTL -d /dev/video$f -f width=720,height=576
$IVTVCTL -d /dev/video$f -c dnr_mode=0,dnr_temporal=0
done
;;
(stop) # don't do anything on stop.
;;
*)
echo "Usage: /etc/init.d/set_ivtv_params {start|stop}"
exit 1
;;
esac
########################################################################
# End



Any help Well apriciated :D



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ivtvdriver.org/pipermail/ivtv-users/attachments/20050929/8ca83ec6/attachment-0001.html