← Back to team overview

sslug-teknik team mailing list archive

Re: pvr 350 på gentoo

 

Kristian Kallenberg wrote:
Er her nogen som har fået tunerdelen til at fungere i ovenstående kort...

og

hvordan?

Jeg går ud fra at du anvender ivtv driveren.

Til denne følger der et par utilities til at håndtere tuneren.
Prøv evt. ptune-ui (fra util kataloget).
Du kan her vælge, hvilken kanal (og en masse andet som for
eksempel videostandard og frekvenser).

Hvis dette ikke er tilstrækkeligt må du lige fortælle noget
om hvordan du vælger DR1:


ivtvctl -p 4
ivtvctl -u 0xff
ivtvctl -f width=720,height=576
ivtvctl -v input=3,output=1
ptune.pl --freqtable pal-europe -c 31


og hvordan du ellers har konfigureret
driveren:


(/etc/modules.d/ivtv):
alias char-major-81     videodev
alias char-major-81-0   ivtv
alias char-major-61 lirc_i2c
options ivtv debug=1 ivtv_std=2
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 tuner
add above ivtv lirc_dev lirc_i2c


(og hvad siger dmesg om initialiseringen af kortet?):


ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.2.0 (rc3j) loading
ivtv: Linux version: 2.6.10 preempt VIAC3-2 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
ACPI: PCI interrupt 0000:00:14.0[A] -> GSI 11 (level, low) -> IRQ 11
ivtv: VIA PCI device: 0x0259 vendor: 0x1106
saa7127: detecting saa7127 client on address 0x88
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ivtv: i2c attach [client=saa7127,ok]
msp34xx: ivtv version
msp34xx: init: chip=MSP3418W-B3, has NICAM support, simple (D) mode, simpler (G)
no-thread mode
msp34xx: $Id$ compiled on: Jun 27 2005 16:22:49
ivtv: i2c attach [client=MSP3418W-B3,ok]
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115,ok]
saa7115: status: (1E) 0x40, (1F) 0xc0
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 7979615
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = CS5331 (type = 9)
ivtv: i2c attach [client=tveeprom,ok]
ivtv: Tuner Type 38, Tuner formats 0x00400e17, Radio: yes, Model 0x00ad2557,
Revision 0x00000001
ivtv: PAL tuner detected
ivtv: SECAM tuner detected
ivtv: Radio detected
ivtv: Encoder revision: 0x02040024
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 9 streams
ivtv: Create DMA stream 0 using 256 16384 byte buffers  4194304 kbytes total
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 1
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 455 4608 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
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: Setting Tuner 38
tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c
driver #0
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: ivtv_enc_thread: pid = 10301, itv = 0xdcbba620
ivtv: ivtv_dec_thread: pid = 10302, itv = 0xdcbba620
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to PAL.
spurious 8259A interrupt: IRQ7.
saa7115: decoder set norm PAL
saa7115: set audio: 0x01
saa7127: Setting Encoder Video Standard
saa7127: Set PAL Video Mode
saa7127: Selecting PAL video Standard
ivtv: Initialized WinTV PVR 350, card #0
ivtv: ====================  END INIT IVTV  ====================


Jeg har et pvr250 og mandrake 9.1.
I /etc/modules.conf har jeg:
"
alias char-major-81-0 ivtv
options ivtv debug=1
options tuner type=5
options msp3400 once=1 standard=0x08
add above ivtv msp3400 saa7115 tuner
"
I dmesg ses:
"
ivtv: Found an iTVC15 based chip
ivtv: Encoder revision: 0x02040008
ivtv: Decoder revision: 0x02020023
ivtv: i2c client addr: 97 not found!
ivtv: i2c client addr: 97 not found!
ivtv: i2c client addr: 64 not found!
devfs_register(v4l/video0): could not append to parent, err: -17
ivtv: Registered v4l2 device, minor 0
ivtv: Registered v4l2 device, minor 32
ivtv: Registered v4l2 device, minor 224
tuner: probing ivtv i2c driver #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc2
tuner(bttv): type forced to 5 (Philips PAL_BG (FI1216 and compatibles)) [insmod]
saa7114.c: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7114.c: detecting saa7114 client on address 0x42
saa7115.c: writing init values
"
Opsætning til TV sker med dette script:
"
test_ioctl -p 4   # Set input = Tuner 0
test_ioctl -u 0xff  # Set PAL video standard
test_ioctl -f width=720,height=576  # Set full PAL resolution
test_ioctl -v input=3,output=1  # Set MSP34xx input/output mapping
"
Jeg ser TV med dette script:
"
ptune.pl $1  && rm -f /MPG/test.mpg && cat /dev/video > /MPG/test.mpg &
sleep 10
xine /MPG/test.mpg
ps x | grep /dev/video
pkill -f "cat /dev/video
"
Scriptet hedder TVwatch. Hvis jeg vil se DR1 skriver jeg
TVwatch E10
og quitter xine når jeg ikke vil se mere.

--
Med venlig hilsen

Jørgen Heesche
mailto:heesche@xxxxxxxxxxx


Follow ups

References