Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: can't get tuxview/gVideo to work
- To: Linux DVB ML <linux-dvb@linuxtv.org>
- Subject: [linux-dvb] Re: can't get tuxview/gVideo to work
- From: Reinhard Katzmann <suamor@gmx.net>
- Date: Wed, 4 Apr 2001 11:50:36 +0200
Hi!
Ok some news to the tuxview problems. Meanwhile I added some checks to the
program for the NULL pointer. This did not help :-(
I updated my kernel to 2.4.2-25mdk (which is a patched 2.4.2acx Kernel)
and XFree to 4.0.3-3mdk. I'm not using devfs currently.
> > all seems compiled and installed fine (see end of this email)
> > I also have some expirences on the old Mandrake 7.2 (no problems)
>
> Same here.
Here is my gdb output (dvb 0.8.2, modified tuxview, diff is in more far
below:
[root@linux src]# gdb ./tuxview
GNU gdb 5.0
...
This GDB was configured as "i586-mandrake-linux"...
(gdb) r
Starting program: /usr/src/RPM/BUILD/DVB/apps/tuxzap/src/./tuxview
[New Thread 1024 (LWP 1453)]
ERROR: getting video capabilities
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 1453)]
init_graphics (dev=-1, bpp=0, norm=0, remote=0, onoff=1, channel=0)
at interface2.cc:193
193 a_group = gwidget->accel_group;
(gdb) c
Continuing.
rw_common (): read: No such process.
rw_common (): read: No such process.
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) q
I just mention it as someone reported no problems with Kernel2.4.3.
AFAIK the late ac-Kernels usually are more advanced than the official
kernel (even when it's a 2.4.2 ;-) I downloaded and installed it monday.
I think the problem is not solved. I also don't know where to search
further for the problem.
The kernel output looks like this:
Apr 4 11:35:35 linux dvb: Loading DVB driver modules succeeded
Apr 4 11:36:13 linux kernel: dvb: dvb_close called
Apr 4 11:36:13 linux kernel: dvb: dvb_mmap called, adr:803c7601, size:0xbffff57c
Apr 4 11:36:13 linux kernel: dvb: dvb_mmap failed!
Apr 4 11:36:13 linux modprobe: modprobe: Can't locate module char-major-81-1
Apr 4 11:36:13 linux modprobe: modprobe: Can't locate module char-major-81-2
Apr 4 11:36:13 linux modprobe: modprobe: Can't locate module char-major-81-3
lsmod
Module Size Used by
msp3400 13520 0 (unused)
tuner 3952 0 (unused)
dvb 2957744 -1 (unused)
dvb_demux 5120 0 [dvb]
dmxdev 5840 0 [dvb]
VES1820 3664 0 (unused)
VES1893 3584 0 (unused)
saa7146_v4l 15312 0 (unused)
saa7146_core 13216 0 [dvb saa7146_v4l]
videodev 4608 2 [dvb]
i2c-core 12208 0 [msp3400 tuner dvb VES1820 VES1893 saa7146_core]
ca 896 0 (unused)
frontend 992 0 (unused)
sec 912 0 (unused)
audio 1152 0 (unused)
video 1056 0 (unused)
dmx 1104 0 (unused)
demux 608 1 [dvb dvb_demux]
dvbdev 1680 1 [dvb dvb_demux VES1820 VES1893 ca frontend sec audio video dmx]
(Note that dvb is still at "-1", so my "fix" did not help in this regard).
Ok here are the diffs:
--- gtvscreen2.c_orig Wed Apr 4 11:49:22 2001
+++ gtvscreen2.c Wed Apr 4 11:30:35 2001
@@ -352,6 +352,7 @@
unsigned char *tm;
int msize;
+ if (!gtv) return;
#ifndef NOCARD
if (myioctl(gtv->fbttv, VIDIOCGWIN, &(gtv->vwin)))
perror("get window");
@@ -1094,6 +1095,7 @@
printf("set value: %i %i\n", val_type, (int) value);
#endif
+ if (!gtv) return FALSE;
pictmod = FALSE;
switch (val_type) {
@@ -1255,7 +1257,7 @@
gboolean gtvscreen_get_values(Gtvscreen * gtv, gint val_type, gint * value)
{
-
+ if (!gtv) return FALSE;
#ifdef DEBUG
printf("get value: %i %i\n", val_type, (int) value);
#endif
Best regards,
Reinhard Katzmann
--
E-Mail: reinhard@suamor.de
New GnuPG Public Key available on request
-- No attachments (even text) are allowed --
-- Type: application/pgp-signature
---
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index