#36 Only a simply segment fault ?!

open
nobody
None
5
2003-05-03
2003-05-03
No

Hello!

The final problem is that since /dev/video0 is there, I
can't access to my webcam with gnomemeeting nor xawtv.

Let's explain:

I'm trying to use the latests sources, qce-ga-0.40d. My
system is a Gentoo 1.4, and the kernel version is
2.4.20. My camera is a Logitech Quickcam Express, and I
remember that with other older kernel (and wish that
with an older version of the driver) the camera worked.

I compiled and installed (make && make install) the
sources without problems.
Then I runned modprobe mod_quickcam and it functioned
so weell that it didn't give me any output =). Finally
I run sh quiccam.sh:

(shell - root)# sh quiccam.sh
Using
/lib/modules/2.4.20-gentoo-r1/kernel/drivers/media/video/videodev.o
insmod: a module named videodev already exists
insmod: usbcore: no module by that name found
insmod: usb-uhci: no module by that name found
insmod: usb-ohci: no module by that name found
insmod: uhci: no module by that name found
quickcam.sh: line 36: /proc/sys/kernel/sysrq: No existe
el fichero o el directorio
Module Size Used by Tainted: P
snd-pcm-oss 39300 0 (autoclean)
mod_quickcam 40624 0 (unused)
videodev 3936 3 [mod_quickcam]
snd-mixer-oss 13624 1 (autoclean) [snd-pcm-oss]
sr_mod 12216 0 (autoclean) (unused)
cdrom 26240 0 (autoclean) [sr_mod]
ipt_state 504 3 (autoclean)
ip_conntrack 32064 1 (autoclean) [ipt_state]
ipt_LOG 3288 1 (autoclean)
iptable_filter 1612 1 (autoclean)
snd-via82xx 9356 1
snd-pcm 67456 0 [snd-pcm-oss snd-via82xx]
snd-timer 12840 0 [snd-pcm]
snd-ac97-codec 31044 0 [snd-via82xx]
snd-mpu401-uart 3840 0 [snd-via82xx]
snd-rawmidi 15584 0 [snd-mpu401-uart]
snd-seq-device 4416 0 [snd-rawmidi]
snd 30924 0 [snd-pcm-oss
snd-mixer-oss snd-via82xx snd-pcm snd-timer
snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3940 3 [snd]
vfat 9364 4 (autoclean)
fat 30072 0 (autoclean) [vfat]
ext3 56928 1 (autoclean)
jbd 41672 1 (autoclean) [ext3]
nvidia 1547872 10
hid 12200 0 (unused)
mousedev 3928 1
input 3296 0 [hid mousedev]

(The modules not found are compiled into the kernel)

With my usual user, I try to run gnome meeting, but
since /dev/video0 exist, it says "error al abrir el
dispositivo /dev/video0, canal 0..". I notice that the
camera icon and the camera's options in the control
panel are activated. If I run gnomemeeting as root, the
error isn't given and the camera icon, and the camera
options from the control panel aren't activated.

With xawtv, if I run xawtv -hwscan to scan devices:

xawtv -hwscan
This is xawtv-3.88, running on Linux/i686
(2.4.20-gentoo-r1)
looking for available devices
port 77-77
type : Xvideo, image scaler
name : NV17 Video Overlay

port 78-109
type : Xvideo, image scaler
name : NV05 Video Blitter

Violación de segmento // (Segment fault).

Then if I run it one more time, it doesn't show the
last line, and the program wouldn't finish even if I
press control+Z.

What could I do ? Please, help needed, if you know
something I should need, post it.

Discussion

  • Logged In: YES
    user_id=638161

    You might want to try qc-usb. Also kernel 2.4.20 is buggy
    (will hang program if you unplug camera while using it,
    but it shouldn't cause segmentation fault).
    Sorry, no better ideas this time.