[mythtv-users] pvr-500 prebuffer pause?

Rhygin rhygin at gmail.com
Thu Apr 14 16:24:34 UTC 2005


I went through a similar thing with my setup, myth would look like it
was about to start playing and then freeze and I'd have to switch to a
console and kill mythfrontend and X. It had to do with the ivtv
drivers not picking up my card correctly, in fact they were picking up
a 150 just like yours are. I have two of the newest PVR-250's (about 4
weeks old) and I had to add "options ivtv cardtype=2,2" to
/etc/modprobe.conf to get ivtv to pick up my cards correctly.

>From a console try running "modprobe ivtv cardtype=# ; modprobe -r
ivtv" using different numbers in place of # and check the output until
you see "Initialized WinTV PVR 500, card #1". When you find the right
cardtype=# just add "options ivtv cardtype=#" to /etc/modprobe.conf
and you should be set.

-Evan

On 4/14/05, mandal at optonline.net <mandal at optonline.net> wrote:
> Greetings,
>   After much head scratching and how-to reading and
> list searching. I got 1 qhole second of tv on my pundit-r
> pvr-500 mythtv box.
> I'm happy about it because up until i shutdown long enough to move my computer to another room all I was getting was static.
> 
> So I got 1 whole second of video with sound to match
> then it abruptly hangs.
> Below is what was coming up when I ran mythfrontend from the command line.
> Below this I'll post my ivtv info
> 
> [root at mythtv1 mythtv]# mythfrontend
> Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
> 2005-04-13 21:05:11.004 mythfrontend version: 0.17.20050130-1 www.mythtv.org
> 2005-04-13 21:05:11.004 Enabled verbose msgs : important general
> 2005-04-13 21:05:11.250 Switching to square mode (Photo)
> 2005-04-13 21:05:11.687 Joystick disabled.
> mythtv: could not connect to socket
> mythtv: No such file or directory
> lirc_init failed for mythtv, see preceding messages
> 2005-04-13 21:05:11.711 Registering Internal as a media playback plugin.
> 2005-04-13 21:05:11.723 Registering MythDVD DVD Media Handler as a media handler2005-04-13 21:05:11.723 Registering MythDVD VCD Media Handler as a media handler2005-04-13 21:05:11.848 Registering MythMusic Media Handler as a media handler
> SIP listening on IP Address 192.168.1.106:5060 NAT address 192.168.1.106
> SIP: Cannot register; proxy, username or password not set
> 2005-04-13 21:05:12.392 Starting media monitor.
> 2005-04-13 21:05:15.199 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
> 2005-04-13 21:05:15.207 Using protocol version 14
> 2005-04-13 21:05:15.243 Using protocol version 14
> 2005-04-13 21:05:16.211 RemoteFile::Read() failed in RingBuffer::safe_read().
> 2005-04-13 21:05:16.421 RemoteFile::Read() failed in RingBuffer::safe_read().
> 2005-04-13 21:05:16.631 RemoteFile::Read() failed in RingBuffer::safe_read().
> 2005-04-13 21:05:16.841 RemoteFile::Read() failed in RingBuffer::safe_read().
> 2005-04-13 21:05:17.051 RemoteFile::Read() failed in RingBuffer::safe_read().
> 2005-04-13 21:05:17.261 RemoteFile::Read() failed in RingBuffer::safe_read().
> Couldn't read file: rbuf://127.0.0.1:6543/video/buffer/ringbuf1.nuv
> 2005-04-13 21:05:17.277 LiveTV not successfully started
> 2005-04-13 21:05:17.288 Changing from None to WatchingLiveTV
> 2005-04-13 21:05:17.292 Changing from None to None
> 2005-04-13 21:05:17.311 Using protocol version 14
> 2005-04-13 21:05:17.450 Using protocol version 14
> 2005-04-13 21:05:17.587 Using protocol version 14
> 2005-04-13 21:05:17.725 Using protocol version 14
> 2005-04-13 21:05:17.862 Using protocol version 14
> 2005-04-13 21:05:18.000 Using protocol version 14
> 2005-04-13 21:05:18.135 Using protocol version 14
> 2005-04-13 21:05:18.272 Using protocol version 14
> 2005-04-13 21:05:18.409 Using protocol version 14
> 2005-04-13 21:05:18.543 Using protocol version 14
> 2005-04-13 21:05:18.680 Using protocol version 14
> 2005-04-13 21:05:18.817 Using protocol version 14
> 2005-04-13 21:05:18.951 Using protocol version 14
> 2005-04-13 21:05:19.088 Using protocol version 14
> 2005-04-13 21:05:19.225 Using protocol version 14
> 2005-04-13 21:05:19.359 Using protocol version 14
> 2005-04-13 21:05:19.394 Using protocol version 14
> 2005-04-13 21:05:22.410 Opening audio device '/dev/dsp'.
> 2005-04-13 21:05:22.410 Opening OSS audio device '/dev/dsp'.
> 2005-04-13 21:05:22.422 Using XV port 69
> 2005-04-13 21:05:22.619 Using realtime priority.
> 2005-04-13 21:05:22.636 Video timing method: DRM
> 2005-04-13 21:05:22.640 Changing from None to WatchingLiveTV
> 2005-04-13 21:05:23.310 prebuffering pause
> 2005-04-13 21:05:42.642 ReadStringList timeout (quick).
> Remote encoder not responding.
> 2005-04-13 21:05:42.642 WriteStringList: Bad socket
> 2005-04-13 21:05:42.642 ReadStringList: Bad socket
> Remote encoder not responding.
> ASSERT: "i <= nodes" in /usr/lib/qt-3.3/include/qvaluelist.h (373)
> 2005-04-13 21:05:42.642 WriteStringList: Bad socket
> 2005-04-13 21:05:42.642 ReadStringList: Bad socket
> Remote encoder not responding.
> 2005-04-13 21:05:42.642 WriteStringList: Bad socket
> 2005-04-13 21:05:42.642 ReadStringList: Bad socket
> Remote encoder not responding.
> 2005-04-13 21:05:42.653 WriteStringList: Bad socket
> 2005-04-13 21:05:42.653 ReadStringList: Bad socket
> Remote encoder not responding.
> 2005-04-13 21:05:42.653 WriteStringList: Bad socket
> 2005-04-13 21:05:42.653 ReadStringList: Bad socket
> Remote encoder not responding.
> 
> IVTV Info
> 
> [root at mythtv1 mythtv]# tac /var/log/messages |
> > sed -n '/=\ \ END INIT IVTV\ \ =/,/= START INIT IVTV =/p;
> > /= START INIT IVTV =/q' |
> > tac
> Apr 13 20:50:49 mythtv1 kernel: ivtv: ==================== START INIT IVTV ===== ===============
> Apr 13 20:50:49 mythtv1 kernel: ivtv: version 0.3.2 (q) loading
> Apr 13 20:50:49 mythtv1 kernel: ivtv: Linux version: 2.6.10-1.770_FC3smp SMP 686  REGPARM 4KSTACKS gcc-3.4
> Apr 13 20:50:49 mythtv1 kernel: ivtv: In case of problems please include the deb ug info
> Apr 13 20:50:49 mythtv1 kernel: ivtv: between the START INIT IVTV and END INIT I VTV lines when
> Apr 13 20:50:49 mythtv1 kernel: ivtv: mailing the ivtv-devel mailinglist.
> Apr 13 20:50:49 mythtv1 kernel: ivtv: Autodetected WinTV PVR 150 card
> Apr 13 20:50:49 mythtv1 kernel: ivtv: Found an iTVC16 based chip
> Apr 13 20:50:49 mythtv1 kernel: ACPI: PCI interrupt 0000:04:08.0[A] -> GSI 17 (l evel, low) -> IRQ 193
> Apr 13 20:50:49 mythtv1 kernel: ivtv: XXX PCI device: 0x5833 vendor: 0x1002
> Apr 13 20:50:50 mythtv1 kernel: tveeprom: Hauppauge: model = 23552, rev = D492, serial# = 7894319
> Apr 13 20:50:50 mythtv1 kernel: tveeprom: tuner = Philips FQ1236A MK4 (idx = 92,  type = 57)
> Apr 13 20:50:50 mythtv1 kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4 l2 = 0x00001000)
> Apr 13 20:50:50 mythtv1 kernel: tveeprom: audio_processor = MSP3410D (type = 5)
> Apr 13 20:50:50 mythtv1 kernel: ivtv: i2c attach [client=tveeprom[50],ok]
> Apr 13 20:50:50 mythtv1 kernel: ivtv: Tuner Type 57, Tuner formats 0x00001000, R adio: yes, Model 0x00914652, Revision 0x00000000
> Apr 13 20:50:50 mythtv1 kernel: ivtv: NTSC tuner detected
> Apr 13 20:50:50 mythtv1 kernel: ivtv: Radio detected
> Apr 13 20:50:50 mythtv1 kernel: tuner: Ignoring new-style parameters in presence  of obsolete ones
> Apr 13 20:50:50 mythtv1 kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
> Apr 13 20:50:50 mythtv1 kernel: ivtv: i2c attach [client=(tuner unset),ok]
> Apr 13 20:50:54 mythtv1 kernel: cx25840: FW image '/lib/modules/HcwMakoA.ROM' of  size 14264 loaded.
> Apr 13 20:50:54 mythtv1 kernel: cx25840: FW image md5 digest: 3a4803384f749d644e e1f1ca9dcb12fa
> Apr 13 20:50:54 mythtv1 kernel: cx25840: FW image sha1 digest: 2b5e6292b7391c980 b93d156cf6b34178ce770f6
> Apr 13 20:50:54 mythtv1 kernel: ivtv: i2c attach [client=cx25840[0],ok]
> Apr 13 20:50:54 mythtv1 kernel: ivtv: i2c attach [client=wm8775[0],ok]
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Encoder revision: 0x02040011
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Configuring WinTV PVR 150 card with 5 stre ams
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Registered v4l2 device, streamtype 0 minor  0
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Create DMA stream 0 using 1024 16384 byte buffers  0 kbytes total
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Allocate DMA stream 0 using 1024 16384 byt e buffers  16777216 kbytes total
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Registered v4l2 device, streamtype 1 minor  32
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Create DMA stream 1
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Allocate DMA stream 1
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Registered v4l2 device, streamtype 2 minor  224
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Create stream 2 using 40 52224 byte buffer s  0 kbytes total
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Allocate stream 2 using 40 52224 byte buff ers  2097152 kbytes total
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Registered v4l2 device, streamtype 3 minor  24
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Create DMA stream 3 using 455 4608 byte bu ffers  0 kbytes total
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Allocate DMA stream 3 using 455 4608 byte buffers  2097152 kbytes total
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Registered v4l2 device, streamtype 4 minor  64
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Create stream 4
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Allocate stream 4
> Apr 13 20:50:55 mythtv1 kernel: ivtv: Setting Tuner 57
> Apr 13 20:50:55 mythtv1 kernel: tuner: type set to 57 (Philips FQ1236A MK4) by i vtv i2c driver #0
> Apr 13 20:50:56 mythtv1 kernel: ivtv: Switching standard to NTSC.
> Apr 13 20:50:56 mythtv1 kernel: ivtv: Initialized WinTV PVR 150, card #0
> Apr 13 20:50:56 mythtv1 kernel: ivtv: Autodetected WinTV PVR 150 card
> Apr 13 20:50:56 mythtv1 kernel: ivtv: Found an iTVC16 based chip
> Apr 13 20:50:56 mythtv1 kernel: ivtv: ivtv_enc_thread: pid = 5634, itv = 0xf9521 0a0
> Apr 13 20:50:56 mythtv1 kernel: ACPI: PCI interrupt 0000:04:09.0[A] -> GSI 18 (l evel, low) -> IRQ 185
> Apr 13 20:50:56 mythtv1 kernel: ivtv: XXX PCI device: 0x5833 vendor: 0x1002
> Apr 13 20:50:56 mythtv1 kernel: tveeprom: Hauppauge: model = 23552, rev = D492, serial# = 7894319
> Apr 13 20:50:56 mythtv1 kernel: tveeprom: tuner = Philips FQ1236A MK4 (idx = 92,  type = 57)
> Apr 13 20:50:56 mythtv1 kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4 l2 = 0x00001000)
> Apr 13 20:50:56 mythtv1 kernel: tveeprom: audio_processor = MSP3410D (type = 5)
> Apr 13 20:50:56 mythtv1 kernel: ivtv: i2c attach [client=tveeprom[50],ok]
> Apr 13 20:50:56 mythtv1 kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
> Apr 13 20:50:56 mythtv1 kernel: ivtv: i2c attach [client=(tuner unset),ok]
> Apr 13 20:50:59 mythtv1 kernel: cx25840: FW image '/lib/modules/HcwMakoA.ROM' of  size 14264 loaded.
> Apr 13 20:50:59 mythtv1 kernel: cx25840: FW image md5 digest: 3a4803384f749d644e e1f1ca9dcb12fa
> Apr 13 20:50:59 mythtv1 kernel: cx25840: FW image sha1 digest: 2b5e6292b7391c980 b93d156cf6b34178ce770f6
> Apr 13 20:50:59 mythtv1 kernel: ivtv: i2c attach [client=cx25840[1],ok]
> Apr 13 20:50:59 mythtv1 kernel: ivtv: i2c attach [client=wm8775[1],ok]
> Apr 13 20:50:59 mythtv1 kernel: ivtv: Tuner Type 57, Tuner formats 0x00001000, R adio: yes, Model 0x00914652, Revision 0x00000000
> Apr 13 20:50:59 mythtv1 kernel: ivtv: NTSC tuner detected
> Apr 13 20:50:59 mythtv1 kernel: ivtv: Radio detected
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Encoder revision: 0x02040011
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Configuring WinTV PVR 150 card with 5 stre ams
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Registered v4l2 device, streamtype 0 minor  1
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Create DMA stream 0 using 1024 16384 byte buffers  0 kbytes total
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Allocate DMA stream 0 using 1024 16384 byt e buffers  16777216 kbytes total
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Registered v4l2 device, streamtype 1 minor  33
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Create DMA stream 1
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Allocate DMA stream 1
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Registered v4l2 device, streamtype 2 minor  225
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Create stream 2 using 40 52224 byte buffer s  0 kbytes total
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Allocate stream 2 using 40 52224 byte buff ers  2097152 kbytes total
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Registered v4l2 device, streamtype 3 minor  25
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Create DMA stream 3 using 455 4608 byte bu ffers  0 kbytes total
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Allocate DMA stream 3 using 455 4608 byte buffers  2097152 kbytes total
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Registered v4l2 device, streamtype 4 minor  65
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Create stream 4
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Allocate stream 4
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Setting Tuner 57
> Apr 13 20:51:00 mythtv1 kernel: tuner: type set to 57 (Philips FQ1236A MK4) by i vtv i2c driver #1
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Switching standard to NTSC.
> Apr 13 20:51:00 mythtv1 kernel: ivtv: Initialized WinTV PVR 150, card #1
> Apr 13 20:51:00 mythtv1 kernel: ivtv: ====================  END INIT IVTV  ===== ===============
> [
> modprobe.conf
> alias eth0 3c59x
> alias snd-card-0 snd-atiixp
> options snd-card-0 index=0
> install snd-atiixp /sbin/modprobe --ignore-install snd-atiixp && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
> remove snd-atiixp { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-atiixp
> alias usb-controller ehci-hcd
> alias usb-controller1 ohci-hcd
> alias ieee1394-controller ohci1394
> # ivtv (PVR-500MCE)
> alias char-major-81 videodev
> alias char-major-81-0 ivtv
> alias char-major-81-1 ivtv
> options cx25840 no_black_magic=1
> 
> oh and I did the following:
> [root at mythtv1 mythtv]# /sbin/modprobe --show-depends tveeprom insmod /lib/modules/2.6.10-1.770_FC3smp/kernel/drivers/i2c/i2c-core.ko
> insmod /lib/modules/2.6.10-1.770_FC3smp/ivtv/tveeprom.ko
> [root at mythtv1 mythtv]# /sbin/modprobe --show-depends tuner
> insmod /lib/modules/2.6.10-1.770_FC3smp/kernel/drivers/i2c/i2c-core.ko
> insmod /lib/modules/2.6.10-1.770_FC3smp/ivtv/tuner.ko
> [
> If anyone has something to tell to me to do I'm all for it
> 
> Mark Andal
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
>


More information about the mythtv-users mailing list