[mythtv-users] Re: PVR-350 & X (not working)

Nick pvr at insidethex.co.uk
Tue Jan 18 05:04:57 EST 2005


When I alter my alpha settings to get rid of the lines on the TV screen, the
screen does go black. Then X loads and the desktop should appear. Are you
booting into runlevel 3 or 5? Have you tried a 'startx' from the console?

In your details below - one execution of ivtvfbctl is on /dev/fb0, the
second on /dev/fb1. I'm sure this is an typo in Jarod's HOWTO as these would
be separate framebuffer devices (as I understand things anyway).

When ivtv-fb loads, it logs the /dev/fbx device it has control of, and this
is the framebuffer you put in the ivtvfbctl calls and in the xorg.conf file.
Is ivtv-fb successfully loaded? What is the content of your
/etc/modprobe.conf file (or MDK equivalent) See if these commands give you
any info:

# lsmod |grep ivtv
# cat /var/log/messages | grep fb


In my machine, ivtv-fb is autoloaded with ivtv, and this output appears in
/var/log/messages straight after the ivtv init:

Jan 17 22:59:02 pvr kernel: ivtv-osd: Framebuffer module loaded (attached to
ivtv card id 0)
Jan 17 22:59:02 pvr kernel: ivtv-osd: Framebuffer is at decoder-relative
address 0x00510000 and has 1704960 bytes.
Jan 17 22:59:02 pvr kernel: ivtv-osd: screen coords: [0 0] -> [720 576]
Jan 17 22:59:02 pvr kernel: ivtv-osd: original global alpha = 208
Jan 17 22:59:02 pvr kernel: ivtv-osd: current OSD state = 39
Jan 17 22:59:02 pvr kernel: ivtv-osd: new global alpha = 208 (1 255 0)
Jan 17 22:59:02 pvr kernel: ivtv-osd: framebuffer at 0xed510000, mapped to
0xddd10000, size 1620k
Jan 17 22:59:02 pvr kernel: ivtv-osd: mode is 720x576x32, linelength=2880
Jan 17 22:59:02 pvr kernel: ivtv-osd: fb0: iTVC15 TV out frame buffer device


Do you have anything like this in your syslogs?

Nick
[sorry for the top-post]

----- Original Message ----- 
From: "Frutillar" <frutillar at comcast.net>
To: <mythtv-users at mythtv.org>
Sent: Tuesday, January 18, 2005 8:17 AM
Subject: Re: [mythtv-users] PVR-350 TV-OUT tests not working - RESOLVED


I am not sure how, but I was able to see live TV with audio, although a
little
grainy.

On Monday 17 January 2005 08:33 pm, Frutillar wrote:
> Hi.
>
> I am following Jarodīs instructions to set tv-out and I am not getting the
> appropriate results. When I do a
>
>  # /sbin/rmmod saa7127
>  # /sbin/modprobe saa7127 test_image=1
>
> or even
>
>  # /sbin/rmmod saa7127
>  # /sbin/modprobe saa712
>
> I get a blank screen full of lines and.  The lines are mainly white, but
> they seem to have several other colors as well.  ... so it seems I am not
> getting a test image.
>
> I then followed the setup of the parameters for NTSC...
>
>  # /usr/bin/ivtvctl -u 0x3000
>  # /usr/bin/ivtvctl -p 4
>  # /usr/bin/ivtvctl -f width=720,height=480
>
> without any issues (the output text seems appropriate)
>
>  # /usr/bin/ivtvctl -u 0x3000
>  # /usr/bin/ivtvctl -p 4
>  # /usr/bin/ivtvctl -f width=720,height=480
>
> Now.  When I do
>
> # /usr/bin/ivtvfbctl /dev/fb0 -globalalpha -nolocalalpha
>
> I get the same screen full of white-ish lines, so I try
>
> # /usr/bin/ivtvfbctl /dev/fb1 -alpha -on -globalalpha -nolocalalpha
>
> and the screen goes black.
>
> What am I missing?
>
>
>
> Hereīs the output of var/log/messages:
> Jan 17 18:30:23 mbox kernel: ivtv: ==================== START INIT IVTV
> ====================
> Jan 17 18:30:23 mbox kernel: ivtv: version 0.3.2 (a) loading
> Jan 17 18:30:23 mbox kernel: ivtv: Linux version: 2.6.8.1-12mdk 686
gcc-3.4
> Jan 17 18:30:23 mbox kernel: ivtv: In case of problems please include the
> debug info
> Jan 17 18:30:23 mbox kernel: ivtv: between the START INIT IVTV and END
INIT
> IVTV lines when
> Jan 17 18:30:23 mbox kernel: ivtv: mailing the ivtv-devel mailinglist.
> Jan 17 18:30:23 mbox kernel: ivtv: Autodetected WinTV PVR 350 card
> Jan 17 18:30:23 mbox kernel: ivtv: Found an iTVC15 based chip
> Jan 17 18:30:23 mbox kernel: ivtv: Unreasonably low latency timer, setting
> to 64 (was 32)
> Jan 17 18:30:23 mbox kernel: ivtv: VIA PCI device: 0x3123 vendor: 0x1106
> Jan 17 18:30:23 mbox kernel: tveeprom: Ignoring new-style parameters in
> presence of obsolete ones
> Jan 17 18:30:23 mbox kernel: tveeprom: Hauppauge: model = 48132, rev =
> K168, serial# = 7391078
> Jan 17 18:30:23 mbox kernel: tveeprom: tuner = LG TAPE H001F MK3 (idx =
68,
> type = 47)
> Jan 17 18:30:23 mbox kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08,
> v4l2 = 0x00001000)
> Jan 17 18:30:23 mbox kernel: tveeprom: audio_processor = MSP3440 (type =
> 11) Jan 17 18:30:23 mbox kernel: ivtv: i2c attach [client=tveeprom[0],ok]
> Jan 17 18:30:23 mbox kernel: ivtv: Tuner Type 47, Tuner formats
0x00001000,
> Radio: yes, Model 0x00ad1598, Revision 0x00000001
> Jan 17 18:30:23 mbox kernel: ivtv: NTSC tuner detected
> Jan 17 18:30:23 mbox kernel: ivtv: Radio detected
> Jan 17 18:30:24 mbox kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv
> i2c driver #0
> Jan 17 18:30:24 mbox kernel: ivtv: i2c attach [client=(tuner unset),ok]
> Jan 17 18:30:24 mbox kernel: saa7115: Ignoring new-style parameters in
> presence of obsolete ones
> Jan 17 18:30:24 mbox kernel: saa7115: starting probe for adapter ivtv i2c
> driver #0 (0x10005)
> Jan 17 18:30:24 mbox kernel: saa7115: detecting saa7115 client on address
> 0x42 Jan 17 18:30:24 mbox kernel: saa7115: writing init values
> Jan 17 18:30:24 mbox kernel: ivtv: i2c attach [client=saa7115[0],ok]
> Jan 17 18:30:24 mbox kernel: saa7115: status: (1E) 0x48, (1F) 0xc0
> Jan 17 18:30:24 mbox kernel: saa7127: Ignoring new-style parameters in
> presence of obsolete ones
> Jan 17 18:30:24 mbox kernel: saa7127: video encoder driver version V 0.3
> loaded
> Jan 17 18:30:24 mbox kernel: saa7127: detecting saa7127 client on address
> 0x88 Jan 17 18:30:24 mbox kernel: saa7127: Selecting NTSC video Standard
> Jan 17 18:30:24 mbox kernel: saa7127: Selecting S-Video+Composite
> Jan 17 18:30:24 mbox kernel: saa7127: Turn WSS off
> Jan 17 18:30:24 mbox kernel: saa7127: Widescreen Mode 4:3 Full Format
> Jan 17 18:30:24 mbox kernel: saa7127: Selecting Normal Encoder Input
> Jan 17 18:30:24 mbox kernel: saa7127: Enable Video Output
> Jan 17 18:30:24 mbox kernel: ivtv: i2c attach [client=saa7127[0],ok]
> Jan 17 18:30:24 mbox kernel: msp3400: Ignoring new-style parameters in
> presence of obsolete ones
> Jan 17 18:30:24 mbox kernel: msp34xx: ivtv version
> Jan 17 18:30:24 mbox kernel: msp34xx: init: chip=MSP3448W-A2, has NICAM
> support, simple (D) mode, simpler (G) no-thread mode
> Jan 17 18:30:24 mbox kernel: msp34xx: $Id$ compiled on: Jan  9 2005
> 16:13:56 Jan 17 18:30:24 mbox kernel: ivtv: i2c attach
> [client=MSP3448W-A2,ok] Jan 17 18:30:25 mbox kernel: ivtv: Encoder
> revision: 0x02040011
> Jan 17 18:30:25 mbox kernel: ivtv: Decoder revision: 0x02020023
> Jan 17 18:30:25 mbox kernel: ivtv: Configuring WinTV PVR 350 card with 10
> streams
> Jan 17 18:30:25 mbox kernel: ivtv: Create DMA stream 0 using 256 16384
byte
> buffers  4194304 kbytes total
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 0
> minor 0
> Jan 17 18:30:25 mbox kernel: ivtv: Create DMA stream 1
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 1
> minor 32
> Jan 17 18:30:25 mbox kernel: ivtv: Create stream 2 using 40 52224 byte
> buffers 2097152 kbytes total
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 2
> minor 224
> Jan 17 18:30:25 mbox kernel: ivtv: Create DMA stream 3 using 455 4608 byte
> buffers  2097152 kbytes total
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 3
> minor 24
> Jan 17 18:30:25 mbox kernel: ivtv: Create stream 4
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 4
> minor 64
> Jan 17 18:30:25 mbox kernel: ivtv: Create DMA stream 5 using 16 65536 byte
> buffers  1048576 kbytes total
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 5
> minor 16
> Jan 17 18:30:25 mbox kernel: ivtv: Create stream 6 using 1024 2048 byte
> buffers  262144 kbytes total
> Jan 17 18:30:25 mbox kernel: ivtv: Registered v4l2 device, streamtype 6
> minor 228
> Jan 17 18:30:25 mbox kernel: ivtv: Create stream 7
> Jan 17 18:30:26 mbox kernel: ivtv: Registered v4l2 device, streamtype 7
> minor 232
> Jan 17 18:30:26 mbox kernel: ivtv: Create DMA stream 8 using 6 103680 byte
> buffers  622080 kbytes total
> Jan 17 18:30:26 mbox kernel: ivtv: Registered v4l2 device, streamtype 8
> minor 48
> Jan 17 18:30:26 mbox kernel: ivtv: Create DMA stream 9 using 32 65536 byte
> buffers  2097152 kbytes total
> Jan 17 18:30:26 mbox kernel: ivtv: Setting Tuner 47
> Jan 17 18:30:26 mbox kernel: tuner: type set to 47 (LG NTSC (TAPE series))
> by ivtv i2c driver #0
> Jan 17 18:30:26 mbox kernel: saa7115: decoder set input (4)
> Jan 17 18:30:26 mbox kernel: saa7115: now setting Composite input
> Jan 17 18:30:26 mbox kernel: ivtv: Setting audio matrix to input 3, output
> 1 Jan 17 18:30:26 mbox kernel: ivtv: Switching standard to NTSC.
> Jan 17 18:30:26 mbox kernel: ivtv: ivtv_enc_thread: pid = 4987, itv =
> 0xdeed0480
> Jan 17 18:30:26 mbox kernel: ivtv: ivtv_dec_thread: pid = 4988, itv =
> 0xdeed0480
> Jan 17 18:30:26 mbox kernel: saa7115: decoder set norm NTSC
> Jan 17 18:30:26 mbox kernel: saa7115: set audio: 0x01
> Jan 17 18:30:26 mbox kernel: saa7127: Setting Encoder Video Standard
> Jan 17 18:30:26 mbox kernel: saa7127: Set NTSC Video Mode
> Jan 17 18:30:26 mbox kernel: saa7127: Selecting NTSC video Standard
> Jan 17 18:30:26 mbox kernel: spurious 8259A interrupt: IRQ7.
> Jan 17 18:30:26 mbox kernel: ivtv: Initialized WinTV PVR 350, card #0
> Jan 17 18:30:26 mbox kernel: ivtv: ====================  END INIT IVTV
> ====================
> ...
> Jan 17 19:51:48 mbox kernel: saa7127: video encoder driver unloaded
> Jan 17 19:52:09 mbox kernel: saa7127: Unknown parameter `test_image'
> Jan 17 19:52:09 mbox kernel: saa7127: Ignoring new-style parameters in
> presence of obsolete ones
> Jan 17 19:52:09 mbox kernel: saa7127: video encoder driver version V 0.3
> loaded
> Jan 17 19:52:09 mbox kernel: saa7127: detecting saa7127 client on address
> 0x88 Jan 17 19:52:09 mbox kernel: saa7127: Selecting NTSC video Standard
> Jan 17 19:52:09 mbox kernel: saa7127: Selecting S-Video+Composite
> Jan 17 19:52:09 mbox kernel: saa7127: Turn WSS off
> Jan 17 19:52:09 mbox kernel: saa7127: Widescreen Mode 4:3 Full Format
> Jan 17 19:52:09 mbox kernel: saa7127: Selecting Normal Encoder Input
> Jan 17 19:52:09 mbox kernel: saa7127: Enable Video Output
> Jan 17 19:52:09 mbox kernel: ivtv: i2c attach [client=saa7127[0],ok]

_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005



More information about the mythtv-users mailing list