[ATrpms-users] ivtv 0.7.0 Problem with only being able to "Watch TV" once in MythTV

Axel Thimm Axel.Thimm at ATrpms.net
Thu Aug 17 21:06:55 CEST 2006


On Thu, Aug 17, 2006 at 02:03:17PM -0400, Douglas E. Warner wrote:
> I'm just setting up a MythTV box on an x86_64 platform.  I'm trying to get a 
> WinTV PVR-500 working.
> 
> I can use the "Watch TV" menu item once and I'll be able to change channels, 
> fast forward, rewind, etc fine - until I stop watching TV.  If I try a second 
> time, the frontend and backend both seem to hang, and I get evil-looking 
> messages in dmesg about "Failed api call" and "1000 ms time out waiting for 
> firmware".

I think there is a thread on ivtv-users that pins this to cpuspeed.

> I've found similar threads elsewhere, but haven't really been able to pin down 
> a solution.  I've tried the 0.8.0 ivtv stuff from bleeding, but it seems that 
> MythTV isn't compiled to work with those drivers (or so I'm assuming from the 
> ioctl errors I'm seeing in mythbackend's log).
> 
> I'll try to include relevant messages and versions below.
> 
> -Doug
> 
> 
> $ uname -a
> Linux htpc.home.silfreed.net 2.6.17-1.2174_FC5 #1 SMP Tue Aug 8 15:30:44 EDT 
> 2006 x86_64 x86_64 x86_64 GNU/Linux
> 
> $ cat /etc/modprobe.conf
> alias eth0 forcedeth
> alias scsi_hostadapter sata_nv
> alias char-major-61 lirc_serial
> remove snd-emu10k1 { /usr/sbin/alsactl store 0 >/dev/null 
> 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-emu10k1
> options lirc_serial irq=4 io=0x3f8
> install lirc_serial /bin/setserial /dev/ttyS0 uart 
> none ; /sbin/modprobe --ignore-install lirc_serial
> alias snd-card-0 snd-emu10k1
> options snd-card-0 index=0
> # ivtv modules setup
> alias char-major-81 videodev
> alias char-major-81-0 ivtv
> alias char-major-81-1 ivtv
> 
> $ dmesg
> [...]
> ivtv:  ==================== START INIT IVTV ====================
> ivtv:  version 0.7.0 (tagged release) loading
> ivtv:  Linux version: 2.6.17-1.2174_FC5 SMP mod_unload gcc-4.1
> ivtv:  In case of problems please include the debug info between
> ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
> ivtv:  any module options, when mailing the ivtv-users mailinglist.
> ivtv0: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based)
> ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
> GSI 21 sharing vector 0x42 and IRQ 21
> ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [APC2] -> GSI 17 (level, low) -> 
> IRQ 66
> ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> tveeprom 2-0050: Hauppauge model 23552, rev D492, serial# 9554044
> tveeprom 2-0050: tuner model is Philips FQ1236A MK4 (idx 92, type 57)
> tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
> tveeprom 2-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, 
> type 62)
> tveeprom 2-0050: audio processor is CX25843 (idx 37)
> tveeprom 2-0050: decoder processor is CX25843 (idx 30)
> tveeprom 2-0050: has radio, has no IR remote
> ivtv0: This is the first unit of a PVR500
> tuner 2-0060: TEA5767 detected.
> tuner 2-0060: chip found @ 0xc0 (ivtv i2c driver #0)
> tuner 2-0060: type set to 62 (Philips TEA5767HN FM Radio)
> tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> tda9887 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
> cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
> cx25840 2-0044: unable to open firmware v4l-cx25840.fw
> wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
> ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> ivtv0: Encoder revision: 0x02040024
> 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)
> ivtv0: Create encoder radio stream
> tuner 2-0061: type set to 57 (Philips FQ1236A MK4)
> ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
> ivtv:  ======================  NEXT CARD  ======================
> ivtv1: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based)
> ACPI: PCI Interrupt 0000:02:09.0[A] -> Link [APC3] -> GSI 18 (level, low) -> 
> IRQ 58
> ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
> tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
> tda9887 3-0043: chip found @ 0x86 (ivtv i2c driver #1)
> cx25840 3-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
> cx25840 3-0044: unable to open firmware v4l-cx25840.fw
> wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
> tveeprom 3-0050: Hauppauge model 23552, rev D492, serial# 9554044
> tveeprom 3-0050: tuner model is Philips FQ1236A MK4 (idx 92, type 57)
> tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
> tveeprom 3-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, 
> type 62)
> tveeprom 3-0050: audio processor is CX25843 (idx 37)
> tveeprom 3-0050: decoder processor is CX25843 (idx 30)
> tveeprom 3-0050: has radio, has no IR remote
> ivtv1: This is the second unit of a PVR500
> ivtv1: Correcting tveeprom data: no radio present on second unit
> ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> ivtv1: Encoder revision: 0x02040024
> 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 3-0061: type set to 57 (Philips FQ1236A MK4)
> ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
> ivtv:  ====================  END INIT IVTV  ====================
> application mythfrontend uses obsolete OSS audio interface
> ivtv1 warning: 1000 ms time out waiting for firmware
> ivtv1 warning: Failed api call 0x00000082 with result 0xfffffff0
> ivtv1 warning: ENC: Failed stopping capture -16
> ivtv1 warning: No Free Mailbox for cmd 0x000000c9 after 100 tries!
> ivtv1 warning: Mailbox[0] 0x000000dc flags 0x00000003
> ivtv1 warning: Mailbox[1] 0x000000cd flags 0x00000003
> ivtv1 warning: Mailbox[2] 0x000000d9 flags 0x00000003
> ivtv1 warning: Firmware UNRESPONSIVE when trying cmd 0x000000c9!!!
> ivtv1 warning: No Free Mailbox for cmd 0x000000dc after 100 tries!
> ivtv1 warning: Mailbox[0] 0x000000db flags 0x00000003
> ivtv1 warning: Mailbox[1] 0x000000dc flags 0x00000003
> ivtv1 warning: Mailbox[2] 0x000000dc flags 0x00000003
> ivtv1 warning: Firmware UNRESPONSIVE when trying cmd 0x000000dc!!!
> ivtv1 warning: 1000 ms time out waiting for firmware
> ivtv1 warning: Failed api call 0x000000b7 with result 0xfffffff0
> ivtv1 warning: 1000 ms time out waiting for firmware
> ivtv1 warning: Failed api call 0x000000c8 with result 0xfffffff0
> ivtv1 warning: init error 21. Code -16
> ivtv1 warning: 1000 ms time out waiting for firmware
> ivtv1 warning: Failed api call 0x000000b7 with result 0xfffffff0
> ivtv1 warning: 1000 ms time out waiting for firmware
> [..snip repeat above two lines many times..]
> 
> $ rpm -qa | grep -i ivtv
> ivtv-kmdl-2.6.17-1.2174_FC5-0.7.0-117.fc5.at
> perl-Video-ivtv-0.13-8.fc5.at
> ivtv-firmware-enc-2.04.024-9.at
> ivtv-firmware-audio-0.0.1-5.at
> ivtv-0.7.0-117.fc5.at
> ivtv-firmware-dec-2.02.023-9.at
> 
> $ rpm -qa | grep -i myth
> mythphone-0.19-126.fc5.at
> mythbrowser-0.19-126.fc5.at
> mythtv-theme-MediaCenterOSD-0.17-5.at
> mythtv-theme-ProjectGrayhem-1.7-1.at
> mythtv-theme-abstract-0.20040910-2.at
> mythtv-frontend-0.19-130.fc5.at
> mythweather-0.19-126.fc5.at
> mythtv-theme-MediaCenterWeb-0.17-4.at
> libmyth-0.19-129.rhfc5.at
> mythtv-theme-MediaCenter-0.17-4.at
> mythtv-backend-0.19-130.fc5.at
> mythgame-0.19-126.fc5.at
> mythgallery-0.19-126.fc5.at
> mythplugins-0.19-126.fc5.at
> mythtv-theme-Titivillus-0.20040807-4.at
> mythtv-theme-gant-0.pr1-2.at
> mythtv-theme-visor-0.16.2-5.at
> mythtv-theme-Retro-0.20051208-1.at
> mythtv-theme-purplegalaxy-0.20031214-3.at
> mythtv-0.19-130.fc5.at
> mythcontrols-0.19-126.fc5.at
> mythdvd-0.19-126.fc5.at
> mythnews-0.19-126.fc5.at
> mythtv-setup-0.19-130.fc5.at
> mythtv-theme-MythCenter-0.17-1.at
> mythtv-theme-sleek-0.35-2.at
> mythtv-theme-photo-4-6.at
> mythtv-themes-0.19-130.fc5.at
> mythmusic-0.19-126.fc5.at
> mythweb-0.19-78.at
> mythmkmovie-1.1.4-5.fc5.at
> mythflix-0.19-126.fc5.at
> mythvideo-0.19-126.fc5.at
> mythtv-theme-isthmus-0.20040804-1.at



> _______________________________________________
> atrpms-users mailing list
> atrpms-users at atrpms.net
> http://lists.atrpms.net/mailman/listinfo/atrpms-users

-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20060817/da871eaf/attachment-0001.bin 


More information about the atrpms-users mailing list