On 6/28/05, Mark Knecht <[EMAIL PROTECTED]> wrote:
> 
> This machine is completely udev based. I started wondering if udev
> might not be setting up some /dev devices correctly but I don't know
> what to check on that. Looking in my /etc/modules.d/ivtv file I have
> only this:
> 
> alias char-major-81 videodev
> alias char-major-81-0 ivtv
> 
> Should I possibly add an 81-1 entry also?

OK - Adding the 81-1 entry AND using your patch seems to have fixed
the immediate problems. Will you submit that patch to the main driver
tree?

I now have a TV signal in MythTV and a much cleaner dmesg. I'm not
sure which card I'm using though. If the PVR-150 is now card number 1
and the 250 is card #2 does this mean I'm using the 150? I guess I can
unscrew cable inputs and figure that out.

Now (talking to myself) how do I test both cards at the command line
and how do I configure Myth to use them. I do have new devices in
/dev/v4l so I think things are in pretty good shape:

[EMAIL PROTECTED] ~ $ ls -la /dev/v4l/*
crw-rw----  1 root video 81,  64 Jun 28 12:35 /dev/v4l/radio0
crw-rw----  1 root video 81,  65 Jun 28 12:35 /dev/v4l/radio1
crw-------  1 mark sys   81, 224 Jun 28 12:35 /dev/v4l/vbi0
crw-------  1 mark sys   81, 225 Jun 28 12:35 /dev/v4l/vbi1
crw-------  1 mark sys   81,   0 Jun 28 12:35 /dev/v4l/video0
crw-------  1 mark sys   81,   1 Jun 28 12:35 /dev/v4l/video1
crw-------  1 mark sys   81,  24 Jun 28 12:35 /dev/v4l/video24
crw-------  1 mark sys   81,  25 Jun 28 12:35 /dev/v4l/video25
crw-------  1 mark sys   81,  32 Jun 28 12:35 /dev/v4l/video32
crw-------  1 mark sys   81,  33 Jun 28 12:35 /dev/v4l/video33
[EMAIL PROTECTED] ~ $

Current dmesg looks better:

Linux video capture interface: v1.00
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.6 (p) loading
ivtv: Linux version: 2.6.11-gentoo-r11 preempt PENTIUM4 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 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:01:01.0[A] -> GSI 22 (level, low) -> IRQ 22
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
tveeprom: Hauppauge: model = 26032, rev = C199, serial# = 8095579
tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = TDA9850 (type = 3)
ivtv: i2c attach [client=tveeprom[50],ok]
Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2
ivtv: Tuner Type 50, Tuner formats 0x00001000, Radio: yes, Model
0x008d1659, Revision 0x00000000
ivtv: NTSC tuner detected
ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
  Vendor: Generic   Model: USB MS Reader     Rev: 1.03
  Type:   Direct-Access                      ANSI SCSI revision: 00
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25841-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
Attached scsi removable disk sdd at scsi0, channel 0, id 0, lun 3
usb-storage: device scan complete
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Encoder revision: 0x02040024
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device for encoder MPEG minor 0
ivtv: Create DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Registered v4l2 device for encoder YUV minor 32
ivtv: Create DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv: Registered v4l2 device for encoder VBI minor 224
ivtv: Create DMA encoder VBI stream: 240 x 8736 buffers (2048KB total)
ivtv: Registered v4l2 device for encoder PCM audio minor 24
ivtv: Create DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv: Registered v4l2 device for encoder radio minor 64
ivtv: Create encoder radio stream
ivtv: Setting Tuner 50
tuner: type set to 50 (TCL 2002N) by ivtv i2c driver #0
cx25840: decoder set norm NTSC
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Switching standard to NTSC.
cx25840: decoder set norm NTSC
ivtv: Initialized WinTV PVR 150, card #0
ivtv: Autodetected WinTV PVR 250 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:01:02.0[A] -> GSI 17 (level, low) -> IRQ 17
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
ivtv: ivtv_enc_thread: pid = 4675, itv = 0xdf9e4620
ivtv: ivtv_enc_vbi_thread: pid = 4676, itv = 0xdf9e4620
tveeprom: Hauppauge: model = 32062, rev = C182, serial# = 7913638
tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3445 (type = 12)
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]
cx25840: starting probe for adapter ivtv i2c driver #1 (0x10005)
ivtv: Tuner Type 39, Tuner formats 0x00001000, Radio: yes, Model
0x008d1612, Revision 0x00000000
ivtv: Radio detected
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: starting probe for adapter ivtv i2c driver #1 (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
msp34xx: ivtv version
msp34xx: init: chip=MSP3445G-B8, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Jun 28 2005 11:51:48
ivtv: i2c attach [client=MSP3445G-B8,ok]
ivtv: Encoder revision: 0x02040024
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Configuring WinTV PVR 250 card with 5 streams
ivtv: Registered v4l2 device for encoder MPEG minor 1
ivtv: Create DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Registered v4l2 device for encoder YUV minor 33
ivtv: Create DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv: Registered v4l2 device for encoder VBI minor 225
ivtv: Create DMA encoder VBI stream: 240 x 8736 buffers (2048KB total)
ivtv: Registered v4l2 device for encoder PCM audio minor 25
ivtv: Create DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv: Registered v4l2 device for encoder radio minor 65
ivtv: Create encoder radio stream
ivtv: Setting Tuner 39
tuner: type set to 39 (LG NTSC (newer TAPC series)) by ivtv i2c driver #1
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
ivtv: ivtv_enc_thread: pid = 4701, itv = 0xdfa078fc
ivtv: ivtv_enc_vbi_thread: pid = 4702, itv = 0xdfa078fc
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
ivtv: Initialized WinTV PVR 250, card #1
ivtv: ====================  END INIT IVTV  ====================

> 
> On the i2c issue it's an Intel chipset but I don't know how to
> determine what i2c chips are in the box. Is there an i2c interrogation
> program somewhere that tells you that a machine has a Via chip or a
> Winbond chip? There are no i2c drivers loaded other than whatever
> Linux loads on it's own.

Still wondering about this and the 'buggy firmware' message.

Thanks,
Mark


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to