Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
quickcam driver - segment fault ?!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
_Edulix
n00b
n00b


Joined: 09 Dec 2002
Posts: 68

PostPosted: Sat May 03, 2003 3:11 pm    Post subject: quickcam driver - segment fault ?! Reply with quote

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 of the Quickcam Express drivers (http://qce-ga.sf.net), 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.

Thanks for your time,
Edulix.
Back to top
View user's profile Send private message
tomthewombat
Apprentice
Apprentice


Joined: 29 Mar 2003
Posts: 244
Location: NY State

PostPosted: Sat May 03, 2003 9:24 pm    Post subject: Reply with quote

i would say:

ACCEPT_KEYWORDS=~x86 emerge qce-ga

and then try to modprobe mod_quickcam. It has worked for me... :-|
Back to top
View user's profile Send private message
mvr_rennes
Apprentice
Apprentice


Joined: 23 Oct 2002
Posts: 155

PostPosted: Sat May 03, 2003 11:05 pm    Post subject: Reply with quote

I'd suggest you check your permissions... You should be in the video group uf you want to use the camera as a normal user...
You might also want to check /etc/devfsd.conf
cheers,
M
Back to top
View user's profile Send private message
_Edulix
n00b
n00b


Joined: 09 Dec 2002
Posts: 68

PostPosted: Sun May 04, 2003 11:18 am    Post subject: No luck Reply with quote

No luck!

I've emerged qce-ga, and added my user to the video group. But no luck. While all is well installed, and loaded, when I try to use the webcam with gnomemeeting nor xawtv, it gives me segment fault.
If I re-try, gnomemeeting simply don't recognice my camera, and xawtv -hwscan won't finish the scan.

I've submited this in the qce-ga forums and because I can see that there are not many movement, I think I'll talk about this in the mailinglist.

Thanks you all,

Edulix
Back to top
View user's profile Send private message
afv-13
n00b
n00b


Joined: 24 Oct 2003
Posts: 22

PostPosted: Sat Nov 08, 2003 12:11 am    Post subject: Reply with quote

I have a similar problem.

When I run xawtv (to watch tv) I get the segment fault error.

I tried messing around with the XFConfig file, and fould that when I use the 'nv' driver, xawtv works well, but with the 'nvidia' driver - that Seagment fault error comes up. This leads me to think that its glx thats playing the fool.

So now, all I can do is change between the 2 drivers, depending on what I want to do (games or tv), reboot, and then, well, do it.

If anyone can provide some help, it would be greatly appreciated.
Back to top
View user's profile Send private message
rajram56
n00b
n00b


Joined: 23 Jun 2002
Posts: 16
Location: San Diego

PostPosted: Mon Nov 10, 2003 4:23 pm    Post subject: same problem as afv-13 Reply with quote

can get xawtv to work only if X driver is set to nv.
Thanks for the tip afv-13
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum