[mythtv-users] Unable to change channel from MythTv when using a PVR250 card

Guy Muller (ntct1) newtonmuller at ntct1.com
Sat Apr 16 19:49:30 UTC 2005


Hi,

I was using MythTV with an ATI Wonder without problems.
I just replaced this card with a PVR 250.

My problem is : I cannot change channel from mythtv (the recording is always
done on the same channel).
(no problem with sound and image quality)
I have also a crash of the mythfrontend when I try to watch live tv but this
is less an issue because I will use this box only to record shows.

When I schedule a recording I get in the following lines in mythbackend.log
:
005-04-16 14:24:45.723 Scheduled 72 items in 0.0 = 0.01 match + 0.03 place
2005-04-16 14:24:45.743 Started recording "Enough" on channel: 1006 on
cardid: 1, sourceid 1

The channel configuration in the database looks good :
1006  	6  	6  	1  	TBS  	Turner Broadcasting System  	none  	NULL
11867  	0  	32768  	32768  	32768  	32768  	Default  	0

In mythtvsetup I deleted the cards and the channels several times, the issue
remains.

The ivtv drivers seems to be working because I can change the channels by
using the /usr/lib/ivtv/ptune-ui.pl & tool.

I trying to gather some information to answer the following questions :
- Is this issue due to a misconfiguration issue, and is there a way to fix
it ?
- If I can't fix this issue, can I use the /usr/lib/ivtv/ptune-ui.pl in the
"External Channel change command ?" field from mythtv ?
- Is there any way to define additional traces to troubleshoot this issue ?

My system is a FC3 on the last patch level.

I added additional information about my configuration, any help would be
welcome.

Thanks in advance,

Guy

-- Packages used :
-.- mythtv
mythtv-frontend-0.17-97.2.rhfc3.at
mythvideo-0.17-65.rhfc3.at
mythtv-suite-0.17-50.at
libmyth-0.17-97.2.rhfc3.at
mythtvsetup-0.17-97.2.rhfc3.at
mythtv-backend-0.17-97.2.rhfc3.at
mythtv-0.17-97.2.rhfc3.at

(and others ..)

-.- ivtv
ivtv-kmdl-2.6.10-1.770_14.rhfc3.at-0.2.0-66_rc3i.rhfc3.at
ivtv-0.2.0-66_rc3i.rhfc3.at
ivtv-firmware-enc-2.04.024-4.at
perl-Video-ivtv-0.13-6.rhfc3.at
ivtv-firmware-1.8a-4.at

-- cat /etc/modprobe.conf
alias eth0 via-rhine
alias scsi_hostadapter sata_via
alias snd-card-0 snd-via82xx
options snd-card-0 index=0
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-via82xx
alias char-major-81 cx8800
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias ieee1394-controller ohci1394
# nvidia kernel module
alias char-major-195 nvidia-1_0-6629
alias nvidia nvidia-1_0-6629
# ivtv modules setup
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias tveeprom tveeprom-ivtv
alias msp3400 msp3400-ivtv

-- dmesg
Apr 15 21:57:53 localhost kernel: ivtv: ==================== START INIT IVTV
====================
Apr 15 21:57:53 localhost kernel: ivtv: version 0.2.0 (rc3i) loading
Apr 15 21:57:53 localhost kernel: ivtv: Linux version:
2.6.10-1.770_14.rhfc3.at 686 REGPARM gcc-3.4
Apr 15 21:57:53 localhost kernel: ivtv: In case of problems please include
the debug info
Apr 15 21:57:53 localhost kernel: ivtv: between the START INIT IVTV and END
INIT IVTV lines when
Apr 15 21:57:53 localhost kernel: ivtv: mailing the ivtv-devel mailinglist.
Apr 15 21:57:53 localhost kernel: ivtv: Autodetected WinTV PVR 250 card
Apr 15 21:57:53 localhost kernel: ivtv: Found an iTVC16 based chip
Apr 15 21:57:53 localhost kernel: ACPI: PCI interrupt 0000:00:09.0[A] -> GSI
11 (level, low) -> IRQ 11
Apr 15 21:57:53 localhost kernel: ivtv: Unreasonably low latency timer,
setting to 64 (was 32)
Apr 15 21:57:53 localhost kernel: ivtv: VIA PCI device: 0x3205 vendor:
0x1106
Apr 15 21:57:53 localhost kernel: tveeprom: Hauppauge: model = 32062, rev =
C182, serial# = 7913612
Apr 15 21:57:53 localhost kernel: tveeprom: tuner = LG TAPC H791F (idx = 82,
type = 39)
Apr 15 21:57:53 localhost kernel: tveeprom: tuner fmt = NTSC(M) (eeprom =
0x08, v4l2 = 0x00001000)
Apr 15 21:57:53 localhost kernel: tveeprom: audio_processor = MSP3445 (type
= 12)
Apr 15 21:57:53 localhost kernel: ivtv: i2c attach [client=tveeprom[0],ok]
Apr 15 21:57:53 localhost kernel: ivtv: Tuner Type 39, Tuner formats
0x00001000, Radio: yes, Model 0x008d1612, Revision 0x00000000
Apr 15 21:57:53 localhost kernel: ivtv: NTSC tuner detected
Apr 15 21:57:53 localhost kernel: ivtv: Radio detected
Apr 15 21:57:53 localhost kernel: tuner: chip found at addr 0xc2 i2c-bus
ivtv i2c driver #0
Apr 15 21:57:53 localhost kernel: ivtv: i2c attach [client=(tuner unset),ok]
Apr 15 21:57:53 localhost kernel: saa7115: starting probe for adapter SMBus
Via Pro adapter at 5000 (0x0)
Apr 15 21:57:53 localhost kernel: saa7115: starting probe for adapter ivtv
i2c driver #0 (0x10005)
Apr 15 21:57:53 localhost kernel: saa7115: detecting saa7115 client on
address 0x42
Apr 15 21:57:53 localhost kernel: saa7115: writing init values
Apr 15 21:57:53 localhost kernel: ivtv: i2c attach [client=saa7115[0],ok]
Apr 15 21:57:53 localhost kernel: saa7115: status: (1E) 0x00, (1F) 0xc0
Apr 15 21:57:53 localhost kernel: msp34xx: ivtv version
Apr 15 21:57:53 localhost kernel: msp34xx: init: chip=MSP3445G-B8, has NICAM
support, simple (D) mode, simpler (G) no-thread mode
Apr 15 21:57:53 localhost kernel: msp34xx: $Id$ compiled on: Mar 26 2005
06:00:51
Apr 15 21:57:54 localhost kernel: ivtv: i2c attach [client=MSP3445G-B8,ok]
Apr 15 21:57:54 localhost kernel: ivtv: Encoder revision: 0x02040024
Apr 15 21:57:54 localhost kernel: ivtv: Encoder Firmware may be buggy, use
version 0x02040011
Apr 15 21:57:54 localhost kernel: ivtv: Configuring WinTV PVR 250 card with
5 streams
Apr 15 21:57:54 localhost kernel: ivtv: Create DMA stream 0 using 256 16384
byte buffers  4194304 kbytes total
Apr 15 21:57:54 localhost kernel: ivtv: Registered v4l2 device, streamtype 0
minor 0
Apr 15 21:57:54 localhost kernel: ivtv: Create DMA stream 1
Apr 15 21:57:54 localhost kernel: ivtv: Registered v4l2 device, streamtype 1
minor 32
Apr 15 21:57:54 localhost kernel: ivtv: Create stream 2 using 40 52224 byte
buffers  2097152 kbytes total
Apr 15 21:57:54 localhost kernel: ivtv: Registered v4l2 device, streamtype 2
minor 224
Apr 15 21:57:54 localhost kernel: ivtv: Create DMA stream 3 using 455 4608
byte buffers  2097152 kbytes total
Apr 15 21:57:54 localhost kernel: ivtv: Registered v4l2 device, streamtype 3
minor 24
Apr 15 21:57:54 localhost kernel: ivtv: Create stream 4
Apr 15 21:57:54 localhost kernel: ivtv: Registered v4l2 device, streamtype 4
minor 64
Apr 15 21:57:54 localhost kernel: ivtv: Setting Tuner 39
Apr 15 21:57:54 localhost kernel: tuner: type set to 39 (LG NTSC (newer TAPC
series)) by ivtv i2c driver #0
Apr 15 21:57:55 localhost kernel: saa7115: decoder set input (4)
Apr 15 21:57:55 localhost kernel: saa7115: now setting Composite input
Apr 15 21:57:55 localhost kernel: ivtv: Setting audio matrix to input 3,
output 1
Apr 15 21:57:55 localhost kernel: ivtv: Switching standard to NTSC.
Apr 15 21:57:55 localhost kernel: ivtv: ivtv_enc_thread: pid = 6499, itv =
0xe0cb6d20
Apr 15 21:57:55 localhost kernel: saa7115: decoder set norm NTSC
Apr 15 21:57:55 localhost kernel: saa7115: set audio: 0x01
Apr 15 21:57:55 localhost kernel: ivtv: Initialized WinTV PVR 250, card #0
Apr 15 21:57:55 localhost kernel: ivtv: ====================  END INIT IVTV
====================


-- /sbin/lspci -v
00:09.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR 250
        Flags: bus master, medium devsel, latency 64, IRQ 11
        Memory at dc000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2

--  /usr/bin/ivtvctl -a
ioctl: IVTV_IOC_G_CODEC
Codec parameters
aspect      : 2
audio       : 0x00e9
bframes     : 3
bitrate_mode: 0
bitrate     : 4500000
bitrate_peak: 6000000
dnr_mode    : 0
dnr_spatial : 0
dnr_temporal: 0
dnr_type    : 0
framerate   : 0
framespergop: 15
gop_closure : 1
pulldown    : 0
stream_type : 0
ioctl: VIDIOC_G_FMT
        Type   : Video Capture
        Width  : 480
        Height : 480
ioctl: VIDIOC_QUERYCAP
        Driver name   : ivtv
        Card type     : Vanilla iTVC15 card
        Bus info      : 0
        Driver version: 512
        Capabilities  : 0x01070011
ioctl: VIDIOC_ENUMINPUT
        Input   : 0
        Name    : Composite 0
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 1
        Name    : Composite 1
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 2
        Name    : Composite 2
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 3
        Name    : Composite 3
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 4
        Name    : Tuner 0
        Type    : 0x00000001
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x0000000000003000 ( NTSC )
        Status  : 0

        Input   : 5
        Name    : Composite 4
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 6
        Name    : S-Video 0
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 7
        Name    : S-Video 1
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 8
        Name    : S-Video 2
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 9
        Name    : S-Video 3
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0
ioctl: VIDIOC_G_INPUT
Input = 4
ioctl: VIDIOC_ENUMOUTPUT
ioctl: VIDIOC_G_OUTPUT
ioctl: VIDIOC_G_OUTPUT failed
ioctl: VIDIOC_ENUMAUDIO
        Input   : 0
        Name    : Tuner Audio In

        Input   : 1
        Name    : Audio Line In
ioctl: VIDIOC_G_AUDIO
Input = 0: Tuner Audio In
ioctl: VIDIOC_G_FREQUENCY
Frequency = 1332
ioctl: VIDIOC_ENUMSTD
        index       : 0
        ID          : 0x0000000000003000
        Name        : NTSC
        Frame period: 1001/30000
        Frame lines : 525

        index       : 1
        ID          : 0x00000000000000FF
        Name        : PAL
        Frame period: 1/25
        Frame lines : 625

        index       : 2
        ID          : 0x00000000007F0000
        Name        : SECAM
        Frame period: 1/25
        Frame lines : 625
ioctl: VIDIOC_G_STD
Standard = 0x00003000
ioctl: VIDIOC_QUERYCTRL
Brightness = 127
Contrast = 63
Saturation = 63
Hue = 0
Volume = 58950
Mute = 0



More information about the mythtv-users mailing list