Mag. Leonhard Landrock wrote:
Hi Mark!
First of all, thank you for your reply!
Am Montag, 24. April 2006 15:48 schrieb Mark Paulus:
Mag. Leonhard Landrock wrote:
Am Sonntag, 23. April 2006 17:34 schrieb Mag. Leonhard Landrock:
This looks like a case of you picking up the kernel modules instead of
the ivtv specific modules.
Basically, you should go in, and for each module in (/lib/modules/`uname
-r`/extra/*.ko or /lib/modules/`uname -r`/ivtv/*.ko) make sure there
isn't one in /lib/modules/`uname -r`/kernel/drivers/media/video. If
there is one, (I have tuner.ko, tveeprom.ko and tda9887.ko), rename the
kernel based modules (the ones in .../kernel/drivers/media/video) to
*.HIDE. Then run 'depmod -a' to realias all your modules. Then either
reboot (easiest/cleanest), or you could try to selectively rmmod all
the ivtv modules and then modprobe ivtv again.
Here comes, what I did:
1.)
mv -v
/lib/modules/2.6.15-1-686/kernel/drivers/media/video/{ivtv-fb.ko,ivtv-fb.ko.old}
mv -v
/lib/modules/2.6.15-1-686/kernel/drivers/media/video/{tda9887.ko,tda9887.ko.old}
mv -v
/lib/modules/2.6.15-1-686/kernel/drivers/media/video/{tuner.ko,tuner.ko.old}
mv -v
/lib/modules/2.6.15-1-686/kernel/drivers/media/video/{tveeprom.ko,tveeprom.ko.old}
2.)
reboot
3.)
cat /dev/video0 > test.mpg
Note: "test.mpg" didn't grow.
4.)
reboot (the "cat" process just ended up dead and didn't want to be killed)
5.)
[EMAIL PROTECTED]:~$ ls /dev/v*
/dev/vcs /dev/vcs3 /dev/vcs6 /dev/vcsa1 /dev/vcsa4 /dev/vcsa7
/dev/vcs1 /dev/vcs4 /dev/vcs7 /dev/vcsa2 /dev/vcsa5
/dev/vcs2 /dev/vcs5 /dev/vcsa /dev/vcsa3 /dev/vcsa6
Where is my video device gone??? It has been there just a few minutes before.
OK. Once again the output of "/var/log/syslog".
First, the output after the first reboot:
========================
Apr 24 22:11:35 veneto kernel: Linux video capture interface: v1.00
Apr 24 22:11:35 veneto kernel: ivtv: ==================== START INIT IVTV
====================
Apr 24 22:11:35 veneto kernel: ivtv: version 0.4.4 (tagged release) loading
Apr 24 22:11:35 veneto kernel: ivtv: Linux version: 2.6.15-1-686 686 gcc-4.0
Apr 24 22:11:35 veneto kernel: ivtv: In case of problems please include the
debug info between
Apr 24 22:11:35 veneto kernel: ivtv: the START INIT IVTV and END INIT IVTV
lines, along with
Apr 24 22:11:35 veneto kernel: ivtv: any module options, when mailing the
ivtv-users mailinglist.
Apr 24 22:11:35 veneto kernel: ivtv0: Autodetected WinTV PVR 350 card (cx23415
based)
Apr 24 22:11:35 veneto kernel: ivtv0: Unreasonably low latency timer, setting
to 64 (was 32)
Apr 24 22:11:35 veneto kernel: tveeprom: ivtv version
Apr 24 22:11:35 veneto kernel: tveeprom: Hauppauge: model = 48134, rev = J321,
serial# = 2840589
Apr 24 22:11:35 veneto kernel: tveeprom: tuner = Philips FM1216 (idx = 21,
type = 5)
Apr 24 22:11:35 veneto kernel: tveeprom: tuner fmt = PAL(B/G) (eeprom = 0x04,
v4l2 = 0x00000007)
Apr 24 22:11:35 veneto kernel: tveeprom: audio processor = MSP4418 (type = 19)
Apr 24 22:11:35 veneto kernel: tveeprom: decoder processor = SAA7115 (type =
13)
Apr 24 22:11:35 veneto kernel: ivtv0: i2c attach to card #0 ok
[client=tveeprom, addr=50]
Apr 24 22:11:35 veneto kernel: tuner (ivtv): chip found at addr 0xc2 i2c-bus
ivtv i2c driver #0
Apr 24 22:11:35 veneto kernel: ivtv0: i2c attach to card #0 ok [client=(tuner
unset), addr=61]
Apr 24 22:11:35 veneto kernel: saa7115 2-0021: saa7115 found @ 0x42 (ivtv i2c
driver #0)
Apr 24 22:11:35 veneto kernel: ivtv0: i2c attach to card #0 ok
[client=saa7115, addr=21]
Apr 24 22:11:35 veneto kernel: saa7127 2-0044: saa7127 found @ 0x88 (ivtv i2c
driver #0)
Apr 24 22:11:35 veneto kernel: ivtv0: i2c attach to card #0 ok
[client=saa7127, addr=44]
Apr 24 22:11:35 veneto kernel: ivtv0: Failed to load module msp3400
Apr 24 22:11:35 veneto kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware
(262144 bytes)
Apr 24 22:11:35 veneto kernel: ivtv0: loaded v4l-cx2341x-dec.fw firmware
(262144 bytes)
Apr 24 22:11:35 veneto kernel: ivtv0: Encoder revision: 0x02040011
Apr 24 22:11:35 veneto kernel: ivtv0: Decoder revision: 0x02020023
Apr 24 22:11:35 veneto kernel: ivtv0: Allocate DMA encoder MPEG stream: 128 x
32768 buffers (4096KB total)
Apr 24 22:11:35 veneto kernel: ivtv0: Allocate DMA encoder YUV stream: 161 x
12960 buffers (2048KB total)
Apr 24 22:11:35 veneto kernel: ivtv0: Allocate DMA encoder VBI stream: 80 x
26208 buffers (2048KB total)
Apr 24 22:11:35 veneto kernel: ivtv0: Allocate DMA encoder PCM audio stream:
455 x 4608 buffers (2048KB total)
Apr 24 22:11:35 veneto kernel: ivtv0: Create encoder radio stream
Apr 24 22:11:35 veneto kernel: ivtv0: Allocate DMA decoder MPEG stream: 16 x
65536 buffers (1024KB total)
Apr 24 22:11:35 veneto kernel: ivtv0: Allocate DMA decoder VBI stream: 512 x
2048 buffers (1024KB total)
Apr 24 22:11:35 veneto kernel: ivtv0: Allocate DMA decoder VBI stream: 512 x
2048 buffers (1024KB total)
Apr 24 22:11:35 veneto kernel: ivtv0: Create decoder VOUT stream
Apr 24 22:11:35 veneto kernel: ivtv0: Allocate DMA decoder YUV stream: 20 x
51840 buffers (1024KB total)
Apr 24 22:11:35 veneto kernel: ivtv0: loaded v4l-cx2341x-init.mpg firmware
(155648 bytes)
Apr 24 22:11:35 veneto kernel: tuner: type set to 5 (Philips PAL_BG (FI1216
and compatibles)) by ivtv i2c driver #0
Apr 24 22:11:35 veneto kernel: ivtv0 warning: i2c client addr: 0x40 not found
for command 0x40086d11!
Apr 24 22:11:35 veneto kernel: ivtv0 warning: i2c client addr: 0x40 not found
for command 0x80287610!
Apr 24 22:11:35 veneto kernel: ivtv0 warning: i2c client addr: 0x40 not found
for command 0x40287611!
Apr 24 22:11:35 veneto kernel: ivtv0 warning: i2c client addr: 0x40 not found
for command 0x40085618!
Apr 24 22:11:35 veneto kernel: ivtv0 warning: i2c client addr: 0x40 not found
for command 0x80287610!
Apr 24 22:11:35 veneto kernel: ivtv0 warning: i2c client addr: 0x40 not found
for command 0x40287611!
Apr 24 22:11:35 veneto kernel: ivtv0 warning: i2c client addr: 0x40 not found
for command 0x402c5639!
Apr 24 22:11:35 veneto kernel: ivtv0 warning: i2c client addr: 0x40 not found
for command 0x80287610!
Apr 24 22:11:35 veneto kernel: ivtv0 warning: i2c client addr: 0x40 not found
for command 0x40287611!
Apr 24 22:11:35 veneto kernel: ivtv0: Initialized WinTV PVR 350, card #0
Apr 24 22:11:35 veneto kernel: ivtv: ==================== END INIT IVTV
====================
Apr 24 22:21:02 veneto kernel: ivtv0 warning: 1000 ms time out waiting for
firmware
Apr 24 22:21:02 veneto kernel: ivtv0 warning: Failed api call 0x000000b7 with
result 0xfffffff0
Apr 24 22:21:02 veneto kernel: ivtv0 warning: Failed api call 0x000000c7 with
result 0xfffffff0
Apr 24 22:21:02 veneto kernel: ivtv0 warning: Failed api call 0x000000d5 with
result 0xfffffff0
Apr 24 22:21:02 veneto kernel: ivtv0 warning: Failed api call 0x00000081 with
result 0xfffffff0
Apr 24 22:21:02 veneto kernel: ivtv0 warning: Error starting capture!
Apr 24 22:21:02 veneto kernel: ivtv0 warning: Failed to start capturing for
stream 0
Apr 24 22:24:27 veneto shutdown[5454]: shutting down for system reboot
Second, the output after the next reboot:
===========================
Apr 24 22:26:19 veneto kernel: Linux video capture interface: v1.00
Apr 24 22:26:19 veneto kernel: ivtv: ==================== START INIT IVTV
====================
Apr 24 22:26:19 veneto kernel: ivtv: version 0.4.4 (tagged release) loading
Apr 24 22:26:19 veneto kernel: ivtv: Linux version: 2.6.15-1-686 686 gcc-4.0
Apr 24 22:26:19 veneto kernel: ivtv: In case of problems please include the
debug info between
Apr 24 22:26:19 veneto kernel: ivtv: the START INIT IVTV and END INIT IVTV
lines, along with
Apr 24 22:26:19 veneto kernel: ivtv: any module options, when mailing the
ivtv-users mailinglist.
Apr 24 22:26:19 veneto kernel: ivtv0: Autodetected WinTV PVR 350 card (cx23415
based)
Apr 24 22:26:19 veneto kernel: PCI: Enabling device 0000:01:0a.0 (0004 ->
0006)
Apr 24 22:26:19 veneto kernel: ivtv0: Unreasonably low latency timer, setting
to 64 (was 32)
Apr 24 22:26:19 veneto kernel: ivtv0 warning: i2c client addr: 0x50 not found
for command 0x0!
Apr 24 22:26:19 veneto kernel: ivtv0: Error -19 reading Hauppauge eeprom.
Apr 24 22:26:19 veneto kernel: ivtv0: Possible causes: the tveeprom module was
not loaded, or
Apr 24 22:26:19 veneto kernel: ivtv0: the eeprom kernel module was loaded
before the tveeprom module.
Apr 24 22:26:19 veneto kernel: ivtv0 warning: i2c client addr: 0x21 not found
for command 0x8004646b!
Apr 24 22:26:19 veneto kernel: ivtv0: Failed to load module msp3400
Apr 24 22:26:19 veneto kernel: ivtv0: Could not detect tuner standard,
defaulting to NTSC.
Apr 24 22:26:19 veneto kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware
(262144 bytes)
Apr 24 22:26:19 veneto kernel: ivtv0: loaded v4l-cx2341x-dec.fw firmware
(262144 bytes)
Apr 24 22:26:19 veneto kernel: ivtv0 warning: Encoder mailbox not found
Apr 24 22:26:19 veneto kernel: ivtv0 warning: Decoder mailbox not found
Apr 24 22:26:19 veneto kernel: ivtv0: Error locating firmware.
Apr 24 22:26:19 veneto kernel: ivtv0: Error -12 on initialization
Apr 24 22:26:19 veneto kernel: ivtv: probe of 0000:01:0a.0 failed with
error -12
Apr 24 22:26:19 veneto kernel: ivtv: ==================== END INIT IVTV
====================
Now I do have two questions:
1.) Why did the video device got lost by the reboot. I didn't change anything.
2.) What do I have to do, to get my card up and running. :-)
BTW: I took some lines out of the syslog protocol ("veneto kernel: ACPI:"
or "veneto kernel: usbcore:"). I hope that this is OK.
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Did you do a 'depmod -a', or does your kernel auto-magically do one on
reboot?
It looks like the second reboot somehow restored the tveeprom file from
the original kernel.
If you look up at the first dmesg above, you see a line:
tveeprom: ivtv version.
That's what you want to see, and I don't see that in the second dmesg.
Did you try to make your ivtv using the instructions for Debian under
Documentation on the wiki?
(http://www.ivtvdriver.org/index.php/Howto:Debian).
For me, I had to do a couple of additional steps, since I am running a
backport 2.6.15-1 kernel from www.backports.org. So, for me, I had to
do:
apt-get source ivtv0.4-utils ivtv0.4-source
cd <directory were source was downloaded>
debuild (This will build packages that have current/correct dependencies
so I can install)
cd ..
dpkg --install ivtv0.4-utils_0.4.4-1_i386.deb ivtv0.4-source_0.4.4-1_all.deb
apt-get install module-assistant
After this, I then was able to follow the Howto:Debian, starting at step
Module assistant.
you should be able to do a 'locate tveeprom.ko' to figure out which
modules you have around.
--
Mark Paulus
2424 Garden of the Gods Rd | Phone: v622-5578 / 719-535-5578
0419/117 - LEC Access ; D5-1010 | FAX: 719-535-1665
Colo Springs, CO 80919 | 1800PageMCI / 1406052
AIM : mgpaulus1 / sametime : mark.paulus
begin:vcard
fn:Mark Paulus
n:Paulus;Mark
org:MCI;Lec Interfaces / 40419
adr;dom:;;2424 Garden of the Gods Rd;Colorado Springs;CO;80919
email;internet:[EMAIL PROTECTED]
title:Mark Paulus
tel;work:719-535-5578
tel;pager:800-pagemci / 1406052
tel;home:v622-5578
version:2.1
end:vcard
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users