[mythtv-users] Device File and X Issue

Nick Morrott knowledgejunkie at gmail.com
Thu Aug 9 04:41:30 UTC 2007


On 09/08/07, Michael Starks <mythtv at michaelstarks.com> wrote:
> Nick Morrott wrote:
> > because in your Xorg.conf file:
> >
> >> Section "Device"
> >>         Identifier  "Hauppauge PVR 350 iTVC15 Framebuffer"
> >>         Driver      "ivtvdev"
> >>
> >>         ### change fb1 to whatever your card grabbed
> >>         Option      "fbdev" "/dev/fb1"
> >>         Option      "ivtv" "/dev/fb1"
> >
> > you are still referencing the missing /dev/fb1 device.
> >
> > Have you tried updating your Xorg.conf file to point to /dev/fb0 instead?
> >
> > No hardware shifting may have occured, but you have changed distro and
> > your video card driver may not be creating a dev/fbx entry any more.
> > PCI IDs have also been known to change around.
>
> I changed my xorg.conf to /dev/fb0 and it still crashed.  Here's the log:
>
> [root at moya ~]# cat /var/log/Xorg.0.log

<snipped>

> (--) Chipset PVR-350 found
> (II) resource ranges after xf86ClaimFixedResources() call:
>         [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
>         [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
>         [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
>         [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
>         [4] -1  0       0xe2000000 - 0xe2000fff (0x1000) MX[B]
>         [5] -1  0       0xe2800000 - 0xe280001f (0x20) MX[B]
>         [6] -1  0       0xf8000000 - 0xf7ffffff (0x0) MX[B]O
>         [7] -1  0       0xe4000000 - 0xe7ffffff (0x4000000) MX[B](B)
>         [8] -1  0       0xe8000000 - 0xebffffff (0x4000000) MX[B](B)
>         [9] -1  0       0xefff0000 - 0xefffffff (0x10000) MX[B](B)
>         [10] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
>         [11] -1 0       0xe3000000 - 0xe3ffffff (0x1000000) MX[B](B)
>         [12] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
>         [13] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
>         [14] -1 0       0x0000d000 - 0x0000d0ff (0x100) IX[B]
>         [15] -1 0       0x0000d400 - 0x0000d4ff (0x100) IX[B]
>         [16] -1 0       0x0000d800 - 0x0000d81f (0x20) IX[B]
>         [17] -1 0       0x0000b000 - 0x0000b01f (0x20) IX[B]
>         [18] -1 0       0x0000e800 - 0x0000e80f (0x10) IX[B]
>         [19] -1 0       0x0000b400 - 0x0000b41f (0x20) IX[B]
>         [20] -1 0       0x0000b800 - 0x0000b80f (0x10) IX[B]
> (II) IVTVDEV_TST(0)using /dev/fb0
> (II) resource ranges after probing:
>         [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
>         [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
>         [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
>         [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
>         [4] -1  0       0xe2000000 - 0xe2000fff (0x1000) MX[B]
>         [5] -1  0       0xe2800000 - 0xe280001f (0x20) MX[B]
>         [6] -1  0       0xf8000000 - 0xf7ffffff (0x0) MX[B]O
>         [7] -1  0       0xe4000000 - 0xe7ffffff (0x4000000) MX[B](B)
>         [8] -1  0       0xe8000000 - 0xebffffff (0x4000000) MX[B](B)
>         [9] -1  0       0xefff0000 - 0xefffffff (0x10000) MX[B](B)
>         [10] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
>         [11] -1 0       0xe3000000 - 0xe3ffffff (0x1000000) MX[B](B)
>         [12] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B]
>         [13] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B]
>         [14] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B]
>         [15] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
>         [16] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
>         [17] -1 0       0x0000d000 - 0x0000d0ff (0x100) IX[B]
>         [18] -1 0       0x0000d400 - 0x0000d4ff (0x100) IX[B]
>         [19] -1 0       0x0000d800 - 0x0000d81f (0x20) IX[B]
>         [20] -1 0       0x0000b000 - 0x0000b01f (0x20) IX[B]
>         [21] -1 0       0x0000e800 - 0x0000e80f (0x10) IX[B]
>         [22] -1 0       0x0000b400 - 0x0000b41f (0x20) IX[B]
>         [23] -1 0       0x0000b800 - 0x0000b80f (0x10) IX[B]
>         [24] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B]
>         [25] 0  0       0x000003c0 - 0x000003df (0x20) IS[B]
> (II) Setting vga for screen 0.
> (EE) IVTVDEV_TST(0)Framebuffer id from dev /dev/fb0is 0
> (EE) IVTVDEV_TST(0)open /dev/video48 returned  -1
> (EE) IVTVDEV_TST(0)open /dev/video49 returned  7
> (EE) IVTVDEV_TST(0)get_fb returned  0 fbid 0
> (**) IVTVDEV_TST(0)Depth 24, (**) framebuffer bpp 32
> (==) IVTVDEV_TST(0)RGB weight 888
> (==) IVTVDEV_TST(0)Default visual is TrueColor
> (==) IVTVDEV_TST(0)Using gamma correction (1.0, 1.0, 1.0)
> (II) IVTVDEV_TST(0)Hardware: cx23415 TV out (vidmem: 1665k)
> (**) IVTVDEV_TST(0)Option "ivtv" "/dev/fb0"
> (II) IVTVDEV_TST(0)Checking Modes against framebuffer device...
> (II) IVTVDEV_TST(0)     mode "720x480" ok
> (II) IVTVDEV_TST(0)Checking Modes against monitor...
> (--) IVTVDEV_TST(0)Virtual size is 720x480 (pitch 720)
> (**) IVTVDEV_TST(0) Mode "720x480": 34.6 MHz (scaled from 0.0 MHz), 37.2
> kHz, 73.9 Hz
> (II) IVTVDEV_TST(0)Modeline "720x480"   34.56  720 752 840 928  480 484
> 488 504 -hsync -vsync
> (==) IVTVDEV_TST(0)DPI set to (75, 75)

OK. So we're now using the correct device and it's being detected properly.

If you read the important info on
http://ivtvdriver.org/index.php/Howto:XDriver you will see that the
Xorg. 7.1 xdriver in the site will not work. You need to download a
patched version. Details of this are on the above page. I would
bookmark it for future reference.

-- 
Nick

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list