Ryan Rawson wrote:

That's great!

This part of the ivtv system was poorly documented when I did my setup last August, and I guess it's still not perfect yet.

Yeah. The documentation only describes how to set up modules for a properly configured system. ;) See messages inline...


Because everyone top-posted.

Why is it so hard to figure out the flow of this thread?

On Feb 7, 2005, at 6:22 PM, Chris wrote:

Thanks, problem solved!

tveeprom: Hauppauge: model = 32062, rev = B185, serial# = 7368850
tveeprom: tuner = TCL 2002N 6A (idx = 85, type = 50)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tuner: type set to 39 (LG NTSC (newer TAPC series)) by insmod option

This tuner is type 50, not type 39. By setting it to use type 39, you are preventing reception of any channel > 61 (cable) (and I don't remember channel number for OTA, but it's rather low). You really need to use type 50 with a recent-enough tuner module (which, BTW, is distributed with 2.6.10, so it's already on Chris's system).

This is what I had to do:

options ivtv tuner=39 debug=0
options tuner type=39

Specifying options for the tuner module is deprecated. Specifying a tuner option for ivtv is only required if your system is improperly configured--it will autodetect the tuner type.


the trick is that tuner needs to have the same type as ivtv, otherwise your tuner wont tune. hence the snow. This took me a zillion years to figure out.

Actually, you should *not* specify a type option for the tuner module (ever!!!). (And, remember the above about autodetection for ivtv...)

On Jan 31, 2005, at 3:03 AM, Dybdahl, Niels wrote:

thanks very much for your feedback everyone. i might be making progress

here...
i made the alias in /etc/modprobe as instructed:

alias tveeprom tveeprom-ivtv

and then:
# depmod -a

i then tried to load the modules:
# modprobe -r ivtv
# modprobe tveeprom
# modprobe ivtv

although no errors are returned, the tveeprom module doesn't seem like
it really loads.
the prompt comes back instantly, without any pause or disk activity. i
tried the alias just before the other ivtv modules, as well as at the
first line of the file


i get the same errors in dmesg:

ivtv: i2c client addr: 0x50 not found!
ivtv: Error -19 reading Hauppauge eeprom.
ivtv: Possible causes: the tveeprom module was not loaded, or
ivtv: the eeprom kernel module was loaded before the tveeprom module.

This is the real problem. Because of the current system configuration, the tveeprom module is failing to load properly. Because ivtv uses information from tveeprom to determine the proper settings for the card, autodetection fails to work when tveeprom fails to load. Therefore, if you fix the problem that's causing tveeprom to fail to load, you can get rid of all your incorrect module options...

The most common reasons why tveeprom fails to load are:
- Lack of i2c support in the kernel (not the problem here)
- Using the wrong tveeprom (i.e. should be using tveeprom-ivtv when using Axel's RPM's)
- Loading the eeprom module before loading tveeprom (as described in the error message)
- Using other drivers that require i2c and that conflict with tveeprom (i.e. lmsensors)
- Failing to install all required modules (i.e. modules distributed with the kernel on which ivtv depends).
- Using modules for the wrong kernel version.



i tried an arbitrary reboot, but it didn't help (hehe, that only works on windows :)

i also tried Geir Ertzaas' suggestion for building the tveeprom module
into an initial ramdisk:


# mkinitrd -f --with=tveeprom-ivtv initrd-`uname -r`.img `uname -r` # cp
./initrd-2.6.10-1.737_FC3.img /boot/initrd-2.6.10-1.737_FC3.img


then i grep'd this in /var/log/messages:
Jan 28 23:58:05 localhost kernel: tveeprom: no version for
"struct_module" found: kernel tainted.

Sure you have the right modules installed?

I highly recommend fixing the problem (not being able to install tveeprom) instead of just masking the symptom (failure to autodetect tuner type and other card settings). I especially recommend doing so rather than masking the symptom with incorrect settings... ;)

HTH.

Mike


if anyone knowns where i might go from here, please drop me a line. thanks again for taking the time to read and make suggestions folks :>



here is full ivtv output from dmesg:

Linux video capture interface: v1.00
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.2.0 (rc3e) loading
ivtv: Linux version: 2.6.10-1.737_FC3 686 REGPARM 4KSTACKS gcc-3.4
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 250 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 9 (level, low) -> IRQ 9
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: VIA PCI device: 0x3189 vendor: 0x1106
ivtv: i2c client addr: 0x50 not found!
ivtv: Error -19 reading Hauppauge eeprom.
ivtv: Possible causes: the tveeprom module was not loaded, or
ivtv: the eeprom kernel module was loaded before the tveeprom module.
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 e800 (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[0],ok]
saa7115: status: (1E) 0x48, (1F) 0xc0
msp34xx: init: chip=MSP3445G-B8 +nicam +simple +simpler +radio
mode=simple
ivtv: i2c attach [client=MSP3445G-B8,ok]
msp3410: daemon started
ivtv: Encoder revision: 0x02040024
ivtv: Encoder Firmware is buggy, use version 0x02040011
ivtv: Configuring WinTV PVR 250 card with 4 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: Could not detect tuner standard, defaulting to NTSC.
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
tuner: tuner type not set
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
ivtv: Initialized WinTV PVR 250, card #0
ivtv: ==================== END INIT IVTV ====================
ivtv: ivtv_enc_thread: pid = 6014, itv = 0xe553a5a0




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Ivtv-users mailing list Ivtv-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ivtv-users

Reply via email to