Nick Rosier wrote:
Are you sure you are using the tuner-module from ivtv and not the one
from your kernel?
quite, as find presents me +++ washbear:/lib/modules/2.6.8-2-k7# find |grep tuner ./extra/tuner.ko ./kernel/sound/i2c/other/snd-tea575x-tuner.ko ./kernel/drivers/media/video/tuner-3036.ko washbear:/lib/modules/2.6.8-2-k7# +++
I ran into that some while ago when I added someor is the tuner-3036.ko the one ivtv is using for some obscure reason? It shows up on an lsmod as
modules to my kernel and forget to remove the tuner-module fro, the
kernel.
Just look for tuner.ko in your modules directory. If you find 2 for
your kernel version, remove (or rename) the one in
kernel/driver/media/video
+++
washbear:/home/you# lsmod|grep tuner
tuner_3036 4808 0
tuner 19920 0
i2c_core 24144 6 tuner_3036,wm8775,cx25840,tuner,tveeprom,i2c_algo_bit
+++
modprobe -rv tuner-3036 presents me with FATAL: Module tuner_3036 is in use.
any idea? Sven Marten
On Sat, 19 Mar 2005 03:40:35 +0100, Sven Marten Czerwonka
<[EMAIL PROTECTED]> wrote:
Hi, First of all I like to thank Chris Kennedy for this update! I finally got my PVR-150 working (after failing with version 0.3.2e *) and partialy failing with 0.3.2i**)) 0.3.2j****) works! The version 0.3.2i might have been working, but I did not test it any further since the anouncement of version 0.3.2j arrived in my mailbox. As I first started testing with version 0.3.2e I gave it just one chance to start and as it failed I gave up for over two weeks... the log is shown below marked *). So when I yesterday gave the version 0.3.2i a try it presented me with a nice clear picture (of 3sat, a german television station) but was unable to change the channel. The sound quality was sometimes quite poor. Any call of ./ptune.pl -f pal-europe-west -c resulted in a line of "Mar 18 02:31:16 localhost kernel: tuner: tuner type not set" (okay the timestamp changed a bit ;-). But that was fine with me I as yesterdays 3sat-program was quite nice and I unwilling to do research. Then the news about the update to 0.3.2j from Chris Kennedy came and I got it. After [EMAIL PROTECTED]:~/downloads/driver/ivtv-0.3.2j/driver$make && su -c "make install" && su -c "modprobe -v ivtv" && dmesg && cd ../utils && make && su -c "make install" the module presented me with the log shown as ***) and ptune.pl resulted in the same error as with ivtv-0.3.2i. So i wrote the following little shellscript that was to go out fishing for the right tuner: #++++++ #!/bin/sh i=0 while test $i -le 99 ; do i=$[$i+1] modprobe -r ivtv modprobe ivtv tuner=$i echo "Tuner $i" ./ptune.pl -f pal-europe-west -c 60 mplayer /dev/video & sleep 10 killall mplayer done #+++++++ This might not have been the cleanest way to do the job but it worked for me. mplayer presented me with a black and white image without sound on tuner 3, b&w with sound on tuner 6&7, with color television with bogus sound on tuner 11 and 13. Tuner 12 presented me a cristal clear image and stereo sound. The log of this successful test is shown below ****), if anyone is interessted in the unsuccessful test results, contact me. At that point I interrupted the script and I tried some other channels using tuner=12 (everything seems to work fine so far) and started writing this mail. I hope it might prove helpful to someone out there. Sven Marten
****) Log of ivtv 0.3.2j with correctly working tuner! Mar 19 02:05:18 localhost kernel: Linux video capture interface: v1.00 Mar 19 02:05:18 localhost kernel: ivtv: ==================== START INIT IVTV ==================== Mar 19 02:05:18 localhost kernel: ivtv: version 0.3.2 (j) loading Mar 19 02:05:18 localhost kernel: ivtv: Linux version: 2.6.8-2-k7 preempt K7 gcc-3.3 Mar 19 02:05:18 localhost kernel: ivtv: In case of problems please include the debug info Mar 19 02:05:18 localhost kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when Mar 19 02:05:18 localhost kernel: ivtv: mailing the ivtv-devel mailinglist. Mar 19 02:05:18 localhost kernel: ivtv: Autodetected WinTV PVR 150 card Mar 19 02:05:18 localhost kernel: ivtv: Found an iTVC16 based chip Mar 19 02:05:18 localhost kernel: ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 19 (level, low) -> IRQ 177 Mar 19 02:05:18 localhost kernel: ivtv: VIA PCI device: 0x3099 vendor: 0x1106 Mar 19 02:05:18 localhost kernel: tveeprom: Hauppauge: model = 26034, rev = C197, serial# = 7766106 Mar 19 02:05:18 localhost kernel: tveeprom: tuner = <unknown> (idx = 97, type = 4) Mar 19 02:05:18 localhost kernel: tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x44, v4l2 = 0x00000e07) Mar 19 02:05:18 localhost kernel: tveeprom: audio_processor = MSP3400C (type = 4) Mar 19 02:05:18 localhost kernel: ivtv: i2c attach [client=tveeprom[22],ok] Mar 19 02:05:18 localhost kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 Mar 19 02:05:18 localhost kernel: ivtv: i2c attach [client=(tuner unset),ok] Mar 19 02:05:23 localhost kernel: cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 13883 loaded. Mar 19 02:05:23 localhost kernel: cx25840: FW image md5 digest: a6f6a90a3be338cdb89d59e835798408 Mar 19 02:05:23 localhost kernel: cx25840: FW image sha1 digest: ad2872fb98ad43b6c4afa45d239a57010edebe84 Mar 19 02:05:23 localhost kernel: ivtv: i2c attach [client=cx25840[22],ok] Mar 19 02:05:23 localhost kernel: ivtv: i2c attach [client=wm8775[22],ok] Mar 19 02:05:24 localhost kernel: ivtv: Tuner Type 4, Tuner formats 0x00000e07, Radio: yes, Model 0x008d1657, Revision 0x00000000 Mar 19 02:05:24 localhost kernel: ivtv: PAL tuner detected Mar 19 02:05:24 localhost kernel: ivtv: Radio detected Mar 19 02:05:24 localhost kernel: ivtv: Encoder revision: 0x02050032 Mar 19 02:05:24 localhost kernel: ivtv: Encoder Firmware may be buggy, use version 0x02040011 Mar 19 02:05:24 localhost kernel: ivtv: Configuring WinTV PVR 150 card with 5 streams Mar 19 02:05:24 localhost kernel: ivtv: Registered v4l2 device, streamtype 0 minor 0 Mar 19 02:05:24 localhost kernel: ivtv: Create DMA stream 0 using 1024 16384 byte buffers 0 kbytes total Mar 19 02:05:24 localhost kernel: ivtv: Allocate DMA stream 0 using 1024 16384 byte buffers 16777216 kbytes total Mar 19 02:05:24 localhost kernel: ivtv: Registered v4l2 device, streamtype 1 minor 32 Mar 19 02:05:24 localhost kernel: ivtv: Create DMA stream 1 Mar 19 02:05:24 localhost kernel: ivtv: Allocate DMA stream 1 Mar 19 02:05:24 localhost kernel: ivtv: Registered v4l2 device, streamtype 2 minor 224 Mar 19 02:05:24 localhost kernel: ivtv: Create stream 2 using 40 52224 byte buffers 0 kbytes total Mar 19 02:05:24 localhost kernel: ivtv: Allocate stream 2 using 40 52224 byte buffers 2097152 kbytes total Mar 19 02:05:24 localhost kernel: ivtv: Registered v4l2 device, streamtype 3 minor 24 Mar 19 02:05:24 localhost kernel: ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total Mar 19 02:05:24 localhost kernel: ivtv: Allocate DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total Mar 19 02:05:25 localhost kernel: ivtv: Registered v4l2 device, streamtype 4 minor 64 Mar 19 02:05:25 localhost kernel: ivtv: Create stream 4 Mar 19 02:05:25 localhost kernel: ivtv: Allocate stream 4 Mar 19 02:05:25 localhost kernel: ivtv: ivtv_enc_thread: pid = 19224, itv = 0xe12b7da0 Mar 19 02:05:25 localhost kernel: ivtv: Setting Tuner 12 Mar 19 02:05:25 localhost kernel: tuner: type set to 12 (Alps TSBE5) by ivtv i2c driver #0 Mar 19 02:05:25 localhost kernel: ivtv: Switching standard to PAL. Mar 19 02:05:25 localhost kernel: ivtv: Initialized WinTV PVR 150, card #0 Mar 19 02:05:25 localhost kernel: ivtv: ==================== END INIT IVTV ====================
--snip--
-- Sven Marten Czerwonka Steenbeker Weg 14 ICQ :#220731064 24106 Kiel telephon:0431/3898304
--- http://washbear.dyndns.org ---
------------------------------------------------------- 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-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
