LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   My webcam works with amsn but not with kopete (linux detects no cam using v4l). Fix? (https://www.linuxquestions.org/questions/linux-hardware-18/my-webcam-works-with-amsn-but-not-with-kopete-linux-detects-no-cam-using-v4l-fix-654011/)

pepeq 07-07-2008 01:42 AM

My webcam works with amsn but not with kopete (linux detects no cam using v4l). Fix?
 
Hi

I use a Trust webcam called FamilyCam 500. It works perfectly in amsn with spca driver, which was installed automatically by Opensuse 11 at install.

However, there is no video device avaliable when I try to use kopete with my webcam.

I have tried to find some help in the web but with no success.

Somebody know how to create a video device so that I can use my webcam system wide in linux?

Thanks a lot!



Jose


I use Opensuse 11, and I have v4l-conf just installed.

farslayer 07-08-2008 01:03 PM

is it in the list here ? http://mxhaard.free.fr/

pepeq 07-08-2008 04:01 PM

Not exactly.

In amsn it is detected as Aiptek 1.3 Mpixel, and it works, so I suppose my cam has the same chipset that Aiptek 1.3 Mpixel has.

farslayer 07-08-2008 09:56 PM

is it a USB web cam ? if so check how Linux sees it using lsusb

pepeq 07-28-2008 06:51 AM

First of all, sorry for the delay. I have been out these days.


The result of the command lsusb is:
"# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04fc:504a Sunplus Technology Co., Ltd SPCA504a Digital Camera
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub"

So the system sees the webcam.

What sould I do to make Kopete to see it also?


Thanks a lot!

farslayer 07-28-2008 07:52 PM

Are the v4l modules loaded, as stated on the Koppete webcam support page ?



what version is the spca5xx module that Suse loaded ?
modinfo spca5xx




latest driver for your camera, if you should need it.

pepeq 07-29-2008 05:31 AM

Ok, let me explain...

- I installed the rpm packages "gspcav-kmp-default" and "gspcav1-kmp-default" which provides the webcam driver spca5xx and others. I did it in order to get the webcam working in amsn, since I found no comprehensive information to do it system wide. And it works in amsn.

- When I use the command you told me:
#modinfo spca5xx
or
#modinfo spca504a
or
#modinfo SPCA504a
the result is the same: "could not find module"

By the way, how could I load the module? It is curious that a help page as Koppete webcam support page could be so unhelpful:
"First, activate the video for linux (v4l) support in your linux kernel. If you need to load the modules, they are v4l-compat, v4l-common, and videodev."

- I don't know if I have the v4l modules loaded. I don't know how to load them. In YAST I have installed the package "v4l-conf", but it is the only thing I can say.


Thanks a lot for helping me!

farslayer 07-29-2008 08:45 AM

How about showing the complete output of lsmod then we can see what module is loaded for your camera, as well as if the v4l modules have been loaded..

pepeq 07-29-2008 09:19 AM

:)

You supposed I knew about that command.

Ok, here it is:

# lsmod
Module Size Used by
gspca 704144 0
compat_ioctl32 25984 1 gspca
videodev 52096 2 gspca,compat_ioctl32
v4l1_compat 29444 1 videodev
ip6t_LOG 23940 10
xt_tcpudp 20480 22
xt_pkttype 18944 3
ipt_LOG 23428 11
xt_limit 20356 21
af_packet 42624 2
binfmt_misc 30220 1
snd_pcm_oss 68992 0
snd_mixer_oss 35584 2 snd_pcm_oss
snd_seq 83600 0
snd_seq_device 26516 1 snd_seq
radeon 145296 3
drm 122280 4 radeon
ip6t_REJECT 22272 3
nf_conntrack_ipv6 36424 4
ipt_REJECT 21120 3
xt_state 19712 8
iptable_mangle 20608 0
iptable_nat 24976 0
nf_nat 39576 1 iptable_nat
iptable_filter 20736 1
ip6table_mangle 20480 0
nf_conntrack_netbios_ns 19968 0
nf_conntrack_ipv4 29576 7 iptable_nat,nf_nat
nf_conntrack 91536 6 nf_conntrack_ipv6,xt_state,iptable_nat,nf_nat,nf_conntrack_netbios_ns,nf_conntrack_ipv4
ip_tables 39056 3 iptable_mangle,iptable_nat,iptable_filter
ip6table_filter 20608 1
ip6_tables 40720 3 ip6t_LOG,ip6table_mangle,ip6table_filter
x_tables 43144 11 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ipt_REJECT,xt_state,iptable_nat,ip_tables ,ip6_tables
ipv6 331544 19 ip6t_REJECT,nf_conntrack_ipv6,ip6table_mangle
fuse 72256 1
reiserfs 267856 2
loop 37508 0
dm_mod 88600 0
ppdev 26504 0
parport_pc 59592 0
parport 60448 2 ppdev,parport_pc
rtc_cmos 28728 0
rtc_core 41012 1 rtc_cmos
rtc_lib 20224 1 rtc_core
k8temp 23040 0
snd_intel8x0 56744 9
snd_ac97_codec 143048 1 snd_intel8x0
ac97_bus 19072 1 snd_ac97_codec
snd_pcm 115208 5 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
ohci1394 50868 0
forcedeth 72716 0
snd_timer 45072 4 snd_seq,snd_pcm
ieee1394 122216 1 ohci1394
snd 96248 20 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 26000 2 snd
sg 56912 0
snd_page_alloc 28688 2 snd_intel8x0,snd_pcm
sr_mod 35764 0
cdrom 53416 1 sr_mod
button 27040 0
i2c_nforce2 24704 0
i2c_core 45344 1 i2c_nforce2
sd_mod 47280 10
ehci_hcd 56204 0
ohci_hcd 42500 0
usbcore 188376 4 gspca,ehci_hcd,ohci_hcd
edd 28176 0
ext3 170896 4
mbcache 27396 1 ext3
jbd 82368 1 ext3
fan 23944 0
pata_amd 33284 3
sata_nv 46860 4
libata 195104 2 pata_amd,sata_nv
scsi_mod 195032 4 sg,sr_mod,sd_mod,libata
dock 29344 1 libata
thermal 44448 0
processor 72668 1 thermal


Ah, I would say also that everytime I plug my cam in, my wireless mouse works very slow. As soon as I unplug the cam the mouse has a normal behaviour again. The base of the mouse is not connected to usb though.

Thanks for your help and time!

farslayer 07-29-2008 10:08 PM

OK so I see gspca which would be the camera module..

but I only see one v4l module and there were 3 listed on the kopete page.. looks like you don't have all the v4l modules loaded.

and it looks like the KDE folks forgot to pay for their hosting because the wiki is down, so I can't look at the module names now.


All times are GMT -5. The time now is 11:33 PM.