sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #81475
Re: Hauppauge pvr350 tv-out
Søndag 03 april 2005 22:04 skrev Claus M. Christiansen:
> Gert Holtoft wrote:
> >Hej
> >Er der ikke en her på listen der kan få banket ind i mit lille
> > hovede hvordan jeg får tv-out til at virke på det kort, det eneste
> > jeg får ud er dobbelte hoppende zig-zag linjer enten i s/h eller
> > farver Det er kun på s-video at jeg overhovedet får signal igennem
> > Tingene "kører" på SuSE 9.2
> >
> >mvh/gert
>
> SLAM!!
>
> Mit gæt er at du har framebuffers kørende ud over den der skal bruges
> til pvr350... Det var ihv mit største problem.
Framebuffer enhed står til at være pvr350
(yast->hardware->udstyrsinformation)
>
> /Claus
> Ellers er du fordi du flæver og ikke har fulgt instruktionerne!! ;-)
> Har du alt tilføjet i din x conf?
TV-out delen af XF86Config:
## TV-OUT
Section "Monitor"
Identifier "PAL TV"
HorizSync 30-68
VertRefresh 50-120
# fbset -fb /dev/fb1 -x
Mode "720x576"
# D: 42.600 MHz, H: 45.127 kHz, V: 74.963 Hz
DotClock 42.601
HTimings 720 760 832 944
VTimings 576 577 580 602
Flags "-HSync" "-VSync"
EndMode
EndSection
Section "Device"
Identifier "Hauppauge PVR350"
Driver "ivtvdev"
Option "fbdev" "/dev/fb1"
# BusID "PCI:1:7:0"
BusID "PCI:0:1:4"
EndSection
Section "Screen"
Identifier "TV"
Device "Hauppauge PVR350"
Monitor "PAL TV"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
Modes "720x576"
EndSubsection
EndSection
#Section "InputDevice"
# Identifier "voidKeyboard"
# Driver "void"
#EndSection
#Section "InputDevice"
# Identifier "voidMouse"
# Driver "void"
#EndSection
> Kan du recorde noget med cat /dev/video0 > test.mpg og se det?
Jep og jeg kan se og recorde tv (mythtv)
> Har du loadet ivtv-fb modulet?
mille:/etc/X11 # lsmod |grep ivtv
ivtv_fb 26676 0
ivtv 795108 2 ivtv_fb
i2c_algo_bit 9352 2 ivtv,bttv
videodev 9344 3 ivtv,saa7134,bttv
> Hvad med dmesg? Siger den noget når du loader op?
mille:/etc/X11 # dmesg | grep ivtv
module ivtv unsupported by SUSE/Novell, tainting kernel.
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.2.0 (0.2.0-rc2) loading
ivtv: Linux version: 2.6.8-24.13-default 586 REGPARM 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
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
i2c-algo-bit.o: ivtv i2c driver #0 passed test.
ivtv: i2c attach [client=Hauppauge IR,ok]
ivtv: i2c attach [client=tveeprom[0],ok]
ivtv: Tuner Type 28, Tuner formats 0x00000007, Radio: yes, Model
0x00a93517, Revision 0x00000001
ivtv: Radio detected
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
ivtv: i2c attach [client=saa7115[0],ok]
ivtv: i2c attach [client=saa7127[0],ok]
msp34xx: ivtv version
ivtv: i2c attach [client=MSP3418W-A2,ok]
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 9 streams
ivtv: Create DMA stream 0 using 128 16384 byte buffers 2097152 kbytes
total
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 1 using 128 16384 byte buffers 2097152 kbytes
total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 3 using 128 16384 byte buffers 2097152 kbytes
total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create stream 4
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create DMA stream 5 using 16 65536 byte buffers 1048576 kbytes
total
ivtv: Registered v4l2 device, streamtype 5 minor 16
ivtv: Create stream 6 using 1024 2048 byte buffers 262144 kbytes total
ivtv: Registered v4l2 device, streamtype 6 minor 228
ivtv: Create stream 7
ivtv: Registered v4l2 device, streamtype 7 minor 232
ivtv: Create DMA stream 8 using 16 65536 byte buffers 1048576 kbytes
total
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: Setting Tuner 28
tuner: type set to 28 (LG PAL_BG+FM (TPI8PSB01D)) by ivtv i2c driver #0
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to PAL.
ivtv: ivtv_enc_thread: pid = 4152, itv = 0xe0549b20
ivtv: ivtv_dec_thread: pid = 4153, itv = 0xe0549b20
ivtv: Initialized WinTV PVR 350, card #0
ivtv: ==================== END INIT IVTV ====================
ir-kbd-i2c: i2c IR (Hauppauge) detected at i2c-0//ir0 [ivtv i2c driver
#0]
module ivtv_fb unsupported by SUSE/Novell, tainting kernel.
ivtv-osd: Framebuffer module loaded (attached to ivtv card id 0)
ivtv-osd: Framebuffer is at decoder-relative address 0x00510000 and has
1704960 bytes.
ivtv-osd: screen coords: [0 0] -> [720 576]
ivtv-osd: original global alpha = 208
ivtv-osd: current OSD state = 39
ivtv-osd: new global alpha = 208 (1 255 0)
ivtv-osd: framebuffer at 0xf9510000, mapped to 0xe1390000, size 1620k
ivtv-osd: mode is 720x576x32, linelength=2880
ivtv-osd: fb1: iTVC15 TV out frame buffer device
Jeg tester tv-out med :
#rmmod saa7127
#modprobe saa7127 enable_output=1 output_select=1
Følgende giver s/h zig-zag
ivtvfbctl /dev/fb1 -globalalpha -noglobalalpha
og følgende giver farve zig-zag
ivtvfbctl /dev/fb1 -globalalpha -nolocalalpha -alpha 0
mille:/etc/X11 # lspci | grep TV
0000:01:04.0 Multimedia video controller: Internext Compression Inc
iTVC15 MPEG-2 Encoder (rev 01)
Håber at den smøre kan hjælpe til med at hjælpe mig selv flæb eller
ej ;-)
mvh/gert
--
"Pascal is Pascal is Pascal is dog meat."
-- M. Devine and P. Larson, Computer Science 340
Follow ups
References