[mythtv-users] WinTV PVR 350, debian/amd64 and no channels

Jonas Meurer jonas at freesources.org
Sun Mar 27 01:09:41 UTC 2005


hello,

my system runs debian/amd64 (unstable), the ivtv 0.3.0o drivers and
utils and mythtv 0.17 debian packages from Matt Zimmermann, rebuilt
with mysql 4.0 and --cc=gcc-3.4 -march=k8.

'cat /dev/video0 > my.mpg' produces snow, so i believe that ivtv drivers
are loaded correctly. i've attached modprobe ivtv output.
/etc/modutils/ivtv includes:
alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0 ivtv
options ivtv ivtv_debug=1 ivtv_pal=1 tuner=5
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 -u 0xff

i believe that mythtv is setup correctly, i ran mythtv-setup,
tv_grab_de_tvtoday and mythfilldatabase --manual.
mythtv-backend runs correctly, and mythfrontend seems to connect to it.

i linked the tuner to my tvtoday source, and set tuner as default stream
source.

nevertheless if i choose to view television in mythfrontend, i see
nothing more than a black screen. mythtv hangs and only kill helps.

/var/log/mythtv/mythbackend.log logs:
2005-03-27 01:56:50.869 mythbackend: Running housekeeping thread
2005-03-27 01:56:59.041 MainServer::HandleAnnounce Playback
2005-03-27 01:56:59.043 adding: resivo as a client (events: 0)
2005-03-27 01:56:59.056 MainServer::HandleAnnounce Playback
2005-03-27 01:56:59.058 adding: resivo as a client (events: 1)
2005-03-27 01:56:59.066 MainServer::HandleAnnounce Playback
2005-03-27 01:56:59.067 adding: resivo as a client (events: 0)
2005-03-27 01:56:59.217 MainServer::HandleAnnounce Playback
2005-03-27 01:56:59.219 adding: resivo as a client (events: 0)
2005-03-27 01:56:59.224 adding: resivo as a remote ringbuffer
2005-03-27 01:56:59.232 Changing from None to WatchingLiveTV


and the console where mythfrontend runs (as user jonas, who is member of
group mythtv):
2005-03-27 01:56:59.029 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2005-03-27 01:56:59.036 Using protocol version 14
2005-03-27 01:56:59.061 Using protocol version 14
2005-03-27 01:56:59.277 Disable DPMS

i've heard that running mythfrontend as root helps, and that this is an
amd64 (build architecture) specific bug, but even as root i see no
change.

i tried also to record sendings with mythepg, but even these recordings
where just black.

one or two times, mythtv didn't crash but rather showed a single error
message after some minutes of black screen, that sayed that the video
decoder couldn't be initialized.

i've no glue whether this is a known bug that needs to be fixed in source,
or whether i've any chances to fix this on a user level.

if the former is true, i'll do some further debugging with gdb, and
contact mythtv and ivtv devel lists. but maybe the latter is true, and
you can help me?

thanks for advice

bye
 jonas
-------------- next part --------------
resivo:~# modprobe ivtv
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.2 (n) loading
ivtv: Linux version: 2.6.10-3-amd64 preempt 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 350 card
ivtv: Found an iTVC15 based chip
ACPI: PCI interrupt 0000:00:07.0[A] -> GSI 18 (level, low) -> IRQ 18
ivtv: VIA PCI device: 0x3188 vendor: 0x1106
tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 7672850
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = CS5331 (type = 9)
ivtv: i2c attach [client=tveeprom[0],ok]
ivtv: Tuner Type 38, Tuner formats 0x00400e17, Radio: yes, Model 0x00ad2557, Revision 0x00000001
ivtv: PAL tuner detected
ivtv: SECAM tuner detected
ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: starting probe for adapter SMBus Via Pro adapter at 0400 (0x0)
saa7115: starting probe for adapter DDC:fb0 #0 (0x10009)
saa7115: starting probe for adapter DDC:fb0 #1 (0x10009)
saa7115: starting probe for adapter MAVEN:fb0 (0x10009)
saa7115: starting probe for adapter ISA main adapter (0x0)
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115[0],ok]
saa7115: status: (1E) 0x40, (1F) 0xc0
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127: video encoder driver version V 0.3 loaded
saa7127: detecting saa7127 client on address 0x88
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ivtv: i2c attach [client=saa7127[0],ok]
msp34xx: ivtv version
msp34xx: init: chip=MSP3418W-B3, has NICAM support, simple (D) mode, simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Mar 26 2005 13:05:52
ivtv: i2c attach [client=MSP3418W-B3,ok]
saa7115: status: (1E) 0x40, (1F) 0xc0
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127: video encoder driver version V 0.3 loaded
saa7127: detecting saa7127 client on address 0x88
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ivtv: i2c attach [client=saa7127[0],ok]
msp34xx: ivtv version
msp34xx: init: chip=MSP3418W-B3, has NICAM support, simple (D) mode, simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Mar 26 2005 13:05:52
ivtv: i2c attach [client=MSP3418W-B3,ok]
ivtv: Encoder revision: 0x02050032
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 10 streams
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 0 using 1024 16384 byte buffers  0 kbytes total
ivtv: Allocate DMA stream 0 using 1024 16384 byte buffers  16777216 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create DMA stream 1
ivtv: Allocate DMA stream 1
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create stream 2 using 40 52224 byte buffers  0 kbytes total
ivtv: Allocate stream 2 using 40 52224 byte buffers  2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
ivtv: Allocate DMA stream 3 using 455 4608 byte buffers  2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create stream 4
ivtv: Allocate stream 4
ivtv: Registered v4l2 device, streamtype 5 minor 16
ivtv: Create DMA stream 5 using 16 65536 byte buffers  0 kbytes total
ivtv: Allocate DMA stream 5 using 16 65536 byte buffers  1048576 kbytes total
ivtv: Registered v4l2 device, streamtype 6 minor 228
ivtv: Create stream 6 using 1024 2048 byte buffers  0 kbytes total
ivtv: Create stream 6 using 1024 2048 byte buffers  0 kbytes total
ivtv: Allocate stream 6 using 1024 2048 byte buffers  262144 kbytes total
ivtv: Registered v4l2 device, streamtype 7 minor 232
ivtv: Create stream 7
ivtv: Allocate stream 7
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: Create DMA stream 8 using 6 86400 byte buffers  0 kbytes total
ivtv: Allocate DMA stream 8 using 6 86400 byte buffers  518400 kbytes total
ivtv: Create DMA stream 9 using 32 65536 byte buffers  0 kbytes total
ivtv: Setting Tuner 38
tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #0
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: Setting audio matrix to input 3, output 1
ivtv: ivtv_enc_thread: pid = 28499, itv = 0xffffffffa0062d60
ivtv: ivtv_dec_thread: pid = 28500, itv = 0xffffffffa0062d60
ivtv: Switching standard to PAL.
saa7115: decoder set norm PAL
saa7115: set audio: 0x01
saa7127: Setting Encoder Video Standard
saa7127: Set PAL Video Mode
saa7127: Selecting PAL video Standard
ivtv: Initialized WinTV PVR 350, card #0
ivtv: ====================  END INIT IVTV  ====================


More information about the mythtv-users mailing list