damn... didn't see this until today. I'll try it out tonight. Thanks Fredrik!

Fredrik Karlsson wrote:

Hi Nick and Larry,

I have had complete success in this. Like Nick says, the only way to
get the cx25840 to properly load the firmware is to load it before
ivtv is loaded. If it is autoloaded by ivtv, it does not work.
After trying a million setups, I reverted back to a minimalistic
setup, which WORKS!

mythtv root # cat /etc/modules.d/ivtv
#This is the contents of modules.conf
alias char-major-81     videodev
alias char-major-81-0   ivtv
alias char-major-81-1   ivtv
alias char-major-61     lirc_i2c

mythtv root # cat /etc/modules.autoload.d/kernel-2.6
#What is loaded at startup
#...
tda9887 pal=B
cx25840 i2c_enable=-1,1

ivtv  ivtv_std=2 tda9887=0
ivtv-fb
#For lirc
lirc_dev
lirc_i2c

Simple, yet effective. Mostly IVTV magic :-)

/Fredrik



On 5/21/05, Nick Rosier <[EMAIL PROTECTED]> wrote:
Fredrik,

If you modprobe cx25840 before your modprobe ivtv, you need
i2c_enable=-1,1 if the pvr350 is the 1st card.
When you just modprobe ivtv, it loads all needed modules for the 1st
detected card. For the 350, cx25840 is not needed so it doesn't load
that driver. When it gets to the 150, it needs the driver so it loads
it. i2c_enable=1 means that the 1st card it detects since modprobing
the cx25840 driver is enabled. But if you load cx25840 before ivtv,
it's also loaded for the 350 (which doesn't need it) so you need to
specify i2c_enable=-1,1 in that case.
Hope this clears some things up for you.

How do you test your tv-out? My favourite method is: dd if=/dev/video0
of=/dev/video16 bs=64k
Below the IVTV initialization should be the ivtv-fb initialization;
could you also post that?

N.

On 5/21/05, Fredrik Karlsson <[EMAIL PROTECTED]> wrote:
On 5/20/05, Fredrik Karlsson <[EMAIL PROTECTED]> wrote:
Hi Nick,

Yes, your right, the firmware is not loaded. However, there seems to
be  nothing that I can do to force it fo  load with this card order.
If I have the cards the other way around, the FW file is loaded by the
cx25840 module.
Hi,

I think I have found one of the problems in this. The problem seems to
ne that the cx25840 modules is not activated, although it is loaded.
If I do this:

modprobe cx25840 i2c_enable=-1,1
fw_file_name=/lib/modules/HcwMakoA.ROM cardtype=0 debug=1
modprobe ivtv

with the following module settings:

alias char-major-81     videodev
alias char-major-81-0   ivtv
alias char-major-81-1   ivtv
alias char-major-61     lirc_i2c

options wm8775 debug=0
options tuner pal=B debug=0
options ivtv ivtv_std=2 tda9887=0 ivtv_debug=1 cardtype=2,6
options tda9887 pal=B debug=0

options saa7127 i2c_enable=1,-1 debug=1
options cx25840 i2c_enable=1  fw_file_name=/lib/modules/HcwMakoA.ROM
cardtype=0 debug=1

However, with this setup, I cannot get TV out even in this card order
(350 as #0 and 150 as #1).

This is the module output info:

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.4 (q) loading
ivtv: Linux version: 2.6.11-gentoo-r6 SMP preempt K7 4KSTACKS 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:08.0[A] -> GSI 16 (level, low) -> IRQ 16
ivtv: VIA PCI device: 0x3205 vendor: 0x1106
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: client id: cx25840_i2c_id 0, skipped
tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 7671326
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom =
0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = CS5331 (type = 9)
ivtv: i2c attach [client=tveeprom[50],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
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: starting probe for adapter SMBus Via Pro adapter at 5000 (0x0)
saa7115: starting probe for adapter ISA main adapter (0x0)
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[50],ok]
saa7115: status: (1E) 0x48, (1F) 0xc0
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127: video encoder driver version V 0.3 loaded
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[50],ok]
msp34xx: ivtv version
msp34xx: init: chip=MSP3418W-B3, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: May 21 2005 00:43:01
ivtv: i2c attach [client=MSP3418W-B3,ok]
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 10 streams
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 0 using 128 16384 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create DMA stream 1 using 20 103680 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 2 using 40 52224 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create stream 4
ivtv: Registered v4l2 device, streamtype 5 minor 16
ivtv: Create DMA stream 5 using 16 65536 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 6 minor 228
ivtv: Create DMA stream 6 using 1024 2048 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 7 minor 232
ivtv: Create stream 7
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: Create DMA stream 8 using 20 103680 byte buffers  0 kbytes total
ivtv: Create DMA stream 9 using 32 65536 byte buffers  0 kbytes total
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 = 13040, itv = 0xceb294e0
ivtv: ivtv_enc_vbi_thread: pid = 13041, itv = 0xceb294e0
ivtv: ivtv_dec_thread: pid = 13042, itv = 0xceb294e0
ivtv: ivtv_dec_vbi_thread: pid = 13043, itv = 0xceb294e0
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to PAL.
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: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 18
ivtv: VIA PCI device: 0x3205 vendor: 0x1106
cx25840: starting probe for adapter ivtv i2c driver #1 (0x10005)
cx25840: detecting client on address 0x88
cx25840: writing init values
cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 13883 loaded.
cx25840: FW image md5 digest: a6f6a90a3be338cdb89d59e835798408
cx25840: FW image sha1 digest: ad2872fb98ad43b6c4afa45d239a57010edebe84
cx25840: Status: cx258423 (DEVICE_ID)
ivtv: i2c attach [client=cx25840[50],ok]
tveeprom: Hauppauge: model = 26034, rev = C197, serial# = 7839719
tveeprom: tuner = LG PAL (TAPE Series) (idx = 97, type = 55)
tveeprom: tuner fmt = PAL(B/G) PAL(D/K) (eeprom = 0x44, v4l2 = 0x00000e07)
tveeprom: audio_processor = MSP3400C (type = 4)
ivtv: i2c attach [client=tveeprom[50],ok]
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: starting probe for adapter ivtv i2c driver #1 (0x10005)
ivtv: Tuner Type 55, Tuner formats 0x00000e07, Radio: yes, Model
0x008d1657, Revision 0x00000000
ivtv: PAL tuner detected
ivtv: Radio detected
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Encoder revision: 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 1
ivtv: Create DMA stream 0 using 128 16384 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 33
ivtv: Create DMA stream 1 using 20 103680 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 225
ivtv: Create DMA stream 2 using 60 34816 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 25
ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 65
ivtv: Create stream 4
ivtv: Setting Tuner 55
tuner: type set to 55 (LG PAL (TAPE series)) by ivtv i2c driver #1
ivtv: ivtv_enc_thread: pid = 13181, itv = 0xceb4c7e0
ivtv: ivtv_enc_vbi_thread: pid = 13182, itv = 0xceb4c7e0
cx25840: decoder set input (6)
cx25840: Tuner Input
ivtv: Switching standard to PAL.
cx25840: decoder set norm PAL
ivtv: Initialized WinTV PVR 150, card #1
ivtv: ====================  END INIT IVTV  ====================


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&opclick
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&opclick
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel





-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to