[mythtv-users] PVR-150 defaulting to /dev/video1

Frank Armstrong farmstrong at gmail.com
Wed Jul 19 02:33:56 UTC 2006


On 7/17/06, R. G. Newbury <newbury at mandamus.org> wrote:
>
> Joe Votour wrote:
> >> I have a a HD3000 and a PVR-150, and I know the 150 should be
> /dev/video0
> >> but it's defaulting to /dev/video1.  How do i set it to default to
> >> /dev/video0?  Setting it up in mythtvsetup i can set it to /dev/video1
> no
> >> problem...but then it seems to only work on the first channel it's set
> on.
> >> If i try and change the channel it crashes on me and i'm pretty sure
> it's
> >> becuase it tries to change the channel on the card assinged
> /dev/video0. I
> >> know i can manually change the channel using ivtvctl -d but how do i
> set
> >> it
> >> up in myth to always use /dev/video1??
>
> >
> > I don't know what driver your HD-3000 card uses, but make sure that the
> > PVR-150 driver (ivtv) loads before it - then it will get /dev/video0.
> >
> > Your PVR-150 does not have to be on /dev/video0 - I have a DViCO
> > FusionHDTV 5 Lite that is on /dev/video0 (the analog portion) and my
> > PVR-500 is on /dev/video1 and /dev/video2 - with no problems.
> >
> > I would suggest that you look at the setup of the PVR-150 in
> mythtv-setup,
> > and make sure that you're actually setting it to /dev/video1, and that
> > you're using the correct input under the Input Connections section.
>
> If you are running a 2.6.15+ kernel then the kernel is choosing and
> loading the module it wants, which is the ANALOG module cx8800. If you
> got this card for digital OTA or for cable QAM (HD or SD) then you need
> to blacklist the cx8800 module and force the system to load the cx88-dvb
> module. When that module loads the HD3000 card shows up at
> /dev/dsvb/adapter0.
>
> Go to Gossamer Threads and search the list archive for "blacklist". If
> that returns too many hits, search on 'blacklist' and 'Newbury' (my
> name) and you should get about 10 hits, at least one of which will
> explain the whole problem.
>
> (Note that if you WANT to use your HD3000 card for analog reception,
> then it is showing up in the correct place).
>
>
> Geoff
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


okay...i've done what you guys have suggested...both the modprobe.conf fix
and the blacklist...and it still doesn't work...it scans the channels fine
as /dev/video1 it starts fine on whatever station i set it to start on...but
when i try to change channels...it crashes...now this is what my
mythfrontend terminal session looked like...below that is what my
mythbackend session looked like...can you tell me what's wrong based on
that???


2006-07-18 22:14:43.002 New DB connection, total: 2
2006-07-18 22:14:43.003 Connected to database 'mythconverg' at host:
localhost
2006-07-18 22:14:43.019 Connecting to backend server: 127.0.0.1:6543 (try 1
of 5)
2006-07-18 22:14:43.031 Using protocol version 26
2006-07-18 22:14:43.142 TV: Attempting to change from None to WatchingLiveTV
2006-07-18 22:14:43.151 Using protocol version 26
2006-07-18 22:14:43.995 RingBuf(/var/video//2009_20060718221443.mpg):
Invalid file (fd 17) when opening '/var/video//2009_20060718221443.mpg'. 12
retries remaining.
2006-07-18 22:14:44.498 RingBuf(/var/video//2009_20060718221443.mpg):
Invalid file (fd 17) when opening '/var/video//2009_20060718221443.mpg'. 11
retries remaining.
2006-07-18 22:14:45.011 Disable DPMS
0: start_time: 0.036 duration: 0.174
1: start_time: 0.030 duration: 0.160
stream: start_time: 0.334 duration: 2.002 bitratew99 kb/s
2006-07-18 22:14:47.197 AFD: Opened codec 0xb57060, id(MPEG2VIDEO)
type(Video)
2006-07-18 22:14:47.258 AFD: Opened codec 0xb52490, id(MP2) type(Audio)
2006-07-18 22:14:47.303 Opening audio device '/dev/dsp'.
2006-07-18 22:14:47.303 Opening OSS audio device '/dev/dsp'.
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  140
  Minor opcode:  14
  Resource id:  0x1ad
2006-07-18 22:14:47.361 VideoOutputXv Error: Couldn't get the color key
color,
                        probably due to a driver bug or limitation.
                        You might not get any video, but we'll try anyway.
2006-07-18 22:14:47.450 OSDTypePositionImage::AddPosition[0](80x244  1, 1)
2006-07-18 22:14:47.450 OSDTypePositionImage::AddPosition[1](80x274  1, 1)
2006-07-18 22:14:47.450 OSDTypePositionImage::AddPosition[2](80x304  1, 1)
2006-07-18 22:14:47.450 OSDTypePositionImage::AddPosition[3](80x334  1, 1)
2006-07-18 22:14:47.529 Realtime priority would require SUID as root.
2006-07-18 22:14:47.530 TV: Changing from None to WatchingLiveTV
2006-07-18 22:14:47.646 Video timing method: USleep with busy wait
2006-07-18 22:14:57.214 Using protocol version 26
2006-07-18 22:14:57.966 Could not bind to UDP notify port: 6948
2006-07-18 22:15:01.765 RingBuf(/var/video//1281_20060718221457.mpg): Waited
2 seconds for data to become available...
2006-07-18 22:15:01.765 Checking to see if there's a new livetv program to
switch to..
0: start_time: 5859.060 duration: -9223372036854.775
stream: start_time: 65100.668 duration: -9223372036854.775 bitrate=0 kb/s
2006-07-18 22:15:01.986 AFD: Opened codec 0xb52490, id(MPEG2VIDEO)
type(Video)
2006-07-18 22:15:01.986 NVP: Disabling Audio, params(-1,-1,-1)
2006-07-18 22:15:01.986 NVP: Disabling Audio, params(0,-1,-1)
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  140
  Minor opcode:  14
  Resource id:  0x1ad
2006-07-18 22:15:02.132 VideoOutputXv Error: Couldn't get the color key
color,
                        probably due to a driver bug or limitation.
                        You might not get any video, but we'll try anyway.
2006-07-18 22:15:02.172 OSDTypePositionImage::AddPosition[0](80x244  1, 1)
2006-07-18 22:15:02.172 OSDTypePositionImage::AddPosition[1](80x274  1, 1)
2006-07-18 22:15:02.172 OSDTypePositionImage::AddPosition[2](80x304  1, 1)
2006-07-18 22:15:02.172 OSDTypePositionImage::AddPosition[3](80x334  1, 1)
2006-07-18 22:15:02.352 Realtime priority would require SUID as root.
2006-07-18 22:15:02.454 Video timing method: USleep with busy wait
0: start_time: 7403.358 duration: 0.414
1: start_time: 7403.343 duration: 0.409
stream: start_time: 82259.370 duration: 4.769 bitrate609 kb/s
2006-07-18 22:15:04.687 NVP: prebuffering pause
2006-07-18 22:15:04.773 AFD: Opened codec 0xb52490, id(MPEG2VIDEO)
type(Video)
2006-07-18 22:15:04.786 AFD: Opened codec 0xcee6c0, id(AC3) type(Audio)
2006-07-18 22:15:04.786 Opening audio device '/dev/dsp'.
2006-07-18 22:15:04.786 Opening OSS audio device '/dev/dsp'.
2006-07-18 22:15:04.788 NVP: Enabling Audio
2006-07-18 22:15:25.472 Using protocol version 26
2006-07-18 22:15:25.648 RingBuf(/var/video//2009_20060718221525.mpg):
Invalid file (fd 17) when opening '/var/video//2009_20060718221525.mpg'. 12
retries remaining.
2006-07-18 22:15:26.151 RingBuf(/var/video//2009_20060718221525.mpg):
Invalid file (fd 17) when opening '/var/video//2009_20060718221525.mpg'. 11
retries remaining.
2006-07-18 22:15:26.692 Could not bind to UDP notify port: 6948
0: start_time: 0.036 duration: 0.150
1: start_time: 0.030 duration: 0.134
stream: start_time: 0.334 duration: 1.735 bitratew81 kb/s
2006-07-18 22:15:28.508 AFD: Opened codec 0xb52490, id(MPEG2VIDEO)
type(Video)
2006-07-18 22:15:28.508 AFD: Opened codec 0xb57060, id(MP2) type(Audio)
2006-07-18 22:15:28.509 Opening audio device '/dev/dsp'.
2006-07-18 22:15:28.509 Opening OSS audio device '/dev/dsp'.
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  140
  Minor opcode:  14
  Resource id:  0x1ad
2006-07-18 22:15:28.554 VideoOutputXv Error: Couldn't get the color key
color,
                        probably due to a driver bug or limitation.
                        You might not get any video, but we'll try anyway.
2006-07-18 22:15:28.587 OSDTypePositionImage::AddPosition[0](80x244  1, 1)
2006-07-18 22:15:28.588 OSDTypePositionImage::AddPosition[1](80x274  1, 1)
2006-07-18 22:15:28.588 OSDTypePositionImage::AddPosition[2](80x304  1, 1)
2006-07-18 22:15:28.588 OSDTypePositionImage::AddPosition[3](80x334  1, 1)
2006-07-18 22:15:28.648 Realtime priority would require SUID as root.
2006-07-18 22:15:28.756 Video timing method: USleep with busy wait
2006-07-18 22:15:47.182 rebuffering (22593 32768)
2006-07-18 22:15:48.190 NVP: Prebuffer wait timed out 10 times.
2006-07-18 22:15:48.910 RingBuf(/var/video//2012_20060718221546.mpg): Waited
2 seconds for data to become available...
2006-07-18 22:15:48.910 Checking to see if there's a new livetv program to
switch to..
2006-07-18 22:15:49.590 NVP: Prebuffer wait timed out 10 times.
2006-07-18 22:15:50.958 RingBuf(/var/video//2012_20060718221546.mpg): Waited
4 seconds for data to become available...
2006-07-18 22:15:50.958 Checking to see if there's a new livetv program to
switch to..
2006-07-18 22:15:50.990 NVP: Prebuffer wait timed out 10 times.
2006-07-18 22:15:52.390 NVP: Prebuffer wait timed out 10 times.
2006-07-18 22:15:53.789 NVP: Prebuffer wait timed out 10 times.
2006-07-18 22:15:55.053 RingBuf(/var/video//2012_20060718221546.mpg): Waited
8 seconds for data to become available...
2006-07-18 22:15:55.053 Checking to see if there's a new livetv program to
switch to..
2006-07-18 22:15:55.189 NVP: Prebuffer wait timed out 10 times.
2006-07-18 22:15:56.589 NVP: Prebuffer wait timed out 10 times.
2006-07-18 22:15:57.989 NVP: Prebuffer wait timed out 10 times.
2006-07-18 22:15:59.389 NVP: Prebuffer wait timed out 10 times.
2006-07-18 22:16:00.789 NVP: Prebuffer wait timed out 10 times.
2006-07-18 22:16:02.189 NVP: Prebuffer wait timed out 10 times.
2006-07-18 22:16:02.989 RingBuf(/var/video//2012_20060718221546.mpg) Error:
Waited 16 seconds for data, aborting.
2006-07-18 22:16:03.613 NVP: Prebuffer wait timed out 10 times.
2006-07-18 22:16:05.033 NVP: Prebuffer wait timed out 10 times.

here is my myth backend...it just kept saying this over and over...

Query was:
INSERT INTO recordedmarkup (chanid, starttime, mark, type, offset) VALUES (
'1281' , '2006-07-18T22:14:59' , '1440' , 9 , '44786112' );
Driver error was [2/145]:
QMYSQL3: Unable to execute query
Database error was:
Table './mythconverg/recordedmarkup' is marked as crashed and should be
repaired
2006-07-18 22:15:25.436 DB Error (delta position map insert):
Query was:
INSERT INTO recordedmarkup (chanid, starttime, mark, type, offset) VALUES (
'1281' , '2006-07-18T22:14:59' , '1452' , 9 , '45158728' );
Driver error was [2/145]:
QMYSQL3: Unable to execute query
Database error was:
Table './mythconverg/recordedmarkup' is marked as crashed and should be
repaired
2006-07-18 22:15:25.437 DB Error (delta position map insert):
Query was:
INSERT INTO recordedmarkup (chanid, starttime, mark, type, offset) VALUES (
'1281' , '2006-07-18T22:14:59' , '1464' , 9 , '45542436' );
Driver error was [2/145]:
QMYSQL3: Unable to execute query
Database error was:
Table './mythconverg/recordedmarkup' is marked as crashed and should be
repaired
2006-07-18 22:15:25.437 DB Error (delta position map insert):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060718/749ac648/attachment.htm 


More information about the mythtv-users mailing list