Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th November 2005, 02:13 PM
svenkatesan Offline
Registered User
 
Join Date: Feb 2005
Location: Singapore
Posts: 132
V4L Loaded or not?

Hi
I am trying to work on my webcam.The problem is spca5xx recent one compiled without error but when I wanted check whether my v4l loaded during boot or not
"modprobe v4l" in console returns as v4l not found.
Iam in FC3-Kernel 2.6.12.....
My webcam Product and vendor Ids 0778 & 0773 respectively.
Any suggestion to load this module during boot?
Thanks

Last edited by svenkatesan; 27th November 2005 at 02:16 PM.
Reply With Quote
  #2  
Old 27th November 2005, 02:49 PM
drpt Offline
Registered User
 
Join Date: Feb 2005
Posts: 64
try modprobe v4l1-compat,
you also need to add it to the modprobe.conf;
here's mine:
...alias usb-controller ehci-hcd
...alias spca spca5xx
pete
__________________
Was a noob, too old now and most of the "oo" is gone, guess I'm a nob
certaut.com

Last edited by drpt; 27th November 2005 at 02:49 PM. Reason: mistake
Reply With Quote
  #3  
Old 29th November 2005, 12:35 AM
svenkatesan Offline
Registered User
 
Join Date: Feb 2005
Location: Singapore
Posts: 132
Hi drpt
Thanks for the reply.Let me try it out when I go back home.
Reply With Quote
  #4  
Old 29th November 2005, 01:48 PM
svenkatesan Offline
Registered User
 
Join Date: Feb 2005
Location: Singapore
Posts: 132
Hi drpt
when I "modprobe v4l1-compat"------returns nothing(I mean no error)Pl refer my screen shot.
moreover "gedit modprobe.conf" opens the file--which is empty
could u please tell me what should I put in this file?
Thanks
Attached Thumbnails
Click image for larger version

Name:	modprobev4l.png
Views:	107
Size:	18.6 KB
ID:	6714  
Reply With Quote
  #5  
Old 30th November 2005, 05:06 AM
drpt Offline
Registered User
 
Join Date: Feb 2005
Posts: 64
gedit /etc/modprobe.conf
here is mine

alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias char-major-81 bt878
alias usb-controller ehci-hcd
alias ieee1394-controller ohci1394
alias scsi_hostadapter ata_piix
alias spca spca5xx
alias eth0 skge

you might try lsusb and see if your machine sees the cam
pete
__________________
Was a noob, too old now and most of the "oo" is gone, guess I'm a nob
certaut.com
Reply With Quote
  #6  
Old 30th November 2005, 11:26 AM
svenkatesan Offline
Registered User
 
Join Date: Feb 2005
Location: Singapore
Posts: 132
Hi Pete
when I gave lsusb it turns
[root@localhost ~]# lsusb
Bus 002 Device 002: ID 0733:0780 ViewQuest Technologies, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
So,can I consider its able to see the camera?By the way why the driver still says as "unknown"?
Did I do some thing wrong in compiling the driver spca5xx?
To have a clean installation of driver....how to remove old spca installation?
I added the line spca5xx as shown in your reply and replug the cam and tried "gaim" but no device found.
Thanks
Reply With Quote
  #7  
Old 30th November 2005, 04:26 PM
drpt Offline
Registered User
 
Join Date: Feb 2005
Posts: 64
how to remove old spca installation?,, cd to the folder and run "make clean",
see if the device is in /dev/video0 or video1
than start gaim with in terminal and check to see if it is looking for the video1 or 0
what is the output of lsmod?
pete
__________________
Was a noob, too old now and most of the "oo" is gone, guess I'm a nob
certaut.com
Reply With Quote
  #8  
Old 1st December 2005, 01:14 AM
Iron_Mike's Avatar
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,762
Check your /var/log/dmesg:

Linux video capture interface: v1.00
/home/mmcguire/spca5xx-20051105/drivers/usb/spca5xx.c: USB SPCA5XX camera found. Type Vimicro Zc301P 0x301b
/home/mmcguire/spca5xx-20051105/drivers/usb/spca5xx.c: [spca5xx_probe:8213] Camera type JPEG
/home/mmcguire/spca5xx-20051105/drivers/usb/zc3xx.h: [zcxx_probeSensor:108] sensor answer1 0
/home/mmcguire/spca5xx-20051105/drivers/usb/zc3xx.h: [zcxx_probeSensor:160] sensor answervga 0
/home/mmcguire/spca5xx-20051105/drivers/usb/zc3xx.h: [zcxx_probeSensor:160] sensor answervga 0
/home/mmcguire/spca5xx-20051105/drivers/usb/zc3xx.h: [zcxx_probeSensor:160] sensor answervga 0
/home/mmcguire/spca5xx-20051105/drivers/usb/zc3xx.h: [zcxx_probeSensor:160] sensor answervga 0
/home/mmcguire/spca5xx-20051105/drivers/usb/zc3xx.h: [zcxx_probeSensor:160] sensor answervga 0
/home/mmcguire/spca5xx-20051105/drivers/usb/zc3xx.h: [zcxx_probeSensor:160] sensor answervga 0
/home/mmcguire/spca5xx-20051105/drivers/usb/zc3xx.h: [zcxx_probeSensor:160] sensor answervga 0
/home/mmcguire/spca5xx-20051105/drivers/usb/zc3xx.h: [zcxx_probeSensor:160] sensor answervga 0
/home/mmcguire/spca5xx-20051105/drivers/usb/zc3xx.h: [zc3xx_config:345] Find Sensor UNKNOW_0 force Tas5130
/home/mmcguire/spca5xx-20051105/drivers/usb/spca5xx.c: [spca5xx_getcapability:2198] maxw 640 maxh 480 minw 176 minh 144
usbcore: registered new driver spca5xx
Reply With Quote
  #9  
Old 1st December 2005, 01:40 PM
svenkatesan Offline
Registered User
 
Join Date: Feb 2005
Location: Singapore
Posts: 132
Hi Pete
This is my lsmod
[root@localhost ~]# lsmod
Module Size Used by
ppp_deflate 5953 0
zlib_deflate 21721 1 ppp_deflate
ppp_async 12737 1
crc_ccitt 2113 1 ppp_async
ppp_generic 38869 6 ppp_deflate,ppp_async
slhc 6849 1 ppp_generic
parport_pc 28293 1
lp 12873 0
parport 40073 2 parport_pc,lp
autofs4 28229 0
sunrpc 164229 1
ipt_REJECT 5441 1
ipt_state 1857 3
ip_conntrack 41369 1 ipt_state
iptable_filter 2881 1
ip_tables 19521 3 ipt_REJECT,ipt_state,iptable_filter
vfat 13249 3
fat 55005 1 vfat
dm_mod 57333 0
md5 4033 1
ipv6 263105 10
ohci1394 39945 0
ieee1394 303545 1 ohci1394
uhci_hcd 35025 0
ohci_hcd 26081 0
i2c_piix4 8657 0
i2c_core 21313 1 i2c_piix4
snd_ens1370 24097 2
gameport 18377 1 snd_ens1370
snd_ak4531_codec 8129 1 snd_ens1370
snd_usb_audio 67585 1
snd_pcm_oss 50673 0
snd_mixer_oss 17729 2 snd_pcm_oss
snd_pcm 98889 3 snd_ens1370,snd_usb_audio,snd_pcm_oss
snd_timer 32837 1 snd_pcm
snd_page_alloc 9669 2 snd_ens1370,snd_pcm
snd_usb_lib 15553 1 snd_usb_audio
snd_rawmidi 29664 2 snd_ens1370,snd_usb_lib
snd_seq_device 8653 1 snd_rawmidi
snd 57285 13 snd_ens1370,snd_ak4531_codec,snd_usb_audio,snd_pcm _oss,snd_mixer_oss,snd_pcm,snd_timer,snd_rawmidi,s nd_seq_device
soundcore 10785 2 snd
floppy 64629 0
ext3 130633 1
jbd 83161 1 etc3
I saw some where its under /dev/video0.
When I give "spcaview" in console its shows as video0 and error says that
[root@localhost ~]# spcaview
Spcaview version: 1.0.8 date: 01:07:2005 (C) mxhaard@magic.fr
Initializing SDL.
SDL initialized.
bpp 3 format 15
Using video device /dev/video0.
Initializing v4l.
ERROR opening V4L interface
: No such file or directory
Thanks in advance.
Reply With Quote
  #10  
Old 1st December 2005, 01:52 PM
svenkatesan Offline
Registered User
 
Join Date: Feb 2005
Location: Singapore
Posts: 132
Hi Iron_Mike
There is no word about spca5xx(like yours) in /var/log/dmesg but
"usb 2-1: new full speed USB device using uhci_hcd and address 2"-I got this line.
Does it mean anything?
Thanks for solving my problem.
Bye
Reply With Quote
  #11  
Old 1st December 2005, 03:33 PM
Iron_Mike's Avatar
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,762
Just a quick question, did you install V4L rpm or by YUM??????
Reply With Quote
  #12  
Old 2nd December 2005, 03:07 AM
drpt Offline
Registered User
 
Join Date: Feb 2005
Posts: 64
do a modprobe v4l2_common,
then a lsmod,, and see if the module shows up,
if it is there then do a modprobe spca5xx
pete
__________________
Was a noob, too old now and most of the "oo" is gone, guess I'm a nob
certaut.com
Reply With Quote
  #13  
Old 2nd December 2005, 01:59 PM
svenkatesan Offline
Registered User
 
Join Date: Feb 2005
Location: Singapore
Posts: 132
Hi Pete
[root@localhost ~]# modprobe v4l2_common
[root@localhost ~]# lsmod
Module Size Used by
v4l2_common 5825 0
ppp_deflate 5953 0
zlib_deflate 21721 1 ppp_deflate
ppp_async 12737 1
crc_ccitt 2113 1 ppp_async
ppp_generic 38869 6 ppp_deflate,ppp_async
slhc 6849 1 ppp_generic
parport_pc 28293 1
lp 12873 0
parport 40073 2 parport_pc,lp
autofs4 28229 0
sunrpc 164229 1
ipt_REJECT 5441 1
ipt_state 1857 3
ip_conntrack 41369 1 ipt_state
iptable_filter 2881 1
ip_tables 19521 3 ipt_REJECT,ipt_state,iptable_filter
vfat 13249 3
fat 55005 1 vfat
dm_mod 57333 0
md5 4033 1
ipv6 263105 12
ohci1394 39945 0
ieee1394 303545 1 ohci1394
uhci_hcd 35025 0
ohci_hcd 26081 0
i2c_piix4 8657 0
i2c_core 21313 1 i2c_piix4
snd_ens1370 24097 2
gameport 18377 1 snd_ens1370
snd_ak4531_codec 8129 1 snd_ens1370
snd_usb_audio 67585 1
snd_pcm_oss 50673 0
snd_mixer_oss 17729 2 snd_pcm_oss
snd_pcm 98889 3 snd_ens1370,snd_usb_audio,snd_pcm_oss
snd_timer 32837 1 snd_pcm
snd_page_alloc 9669 2 snd_ens1370,snd_pcm
snd_usb_lib 15553 1 snd_usb_audio
snd_rawmidi 29664 2 snd_ens1370,snd_usb_lib
snd_seq_device 8653 1 snd_rawmidi
snd 57285 13 snd_ens1370,snd_ak4531_codec,snd_usb_audio,snd_pcm _oss,snd_mixer_oss,snd_pcm,snd_timer,snd_rawmidi,s nd_seq_device
soundcore 10785 2 snd
floppy 64629 0
ext3 130633 1
jbd 83161 1 ext3
oooop! looks not loaded here.Anyother suggestion?
Thanks in advance.
Reply With Quote
  #14  
Old 2nd December 2005, 02:02 PM
svenkatesan Offline
Registered User
 
Join Date: Feb 2005
Location: Singapore
Posts: 132
Hi Iron_mike
I read some where is loaded by default when we install the system.
I didn't install v4l separately.Today I tried with yum drew blank-package not found.
When search in "rpm seek"-only v4l-conf is available,I installed that today but the camera didn't shown up.
Any other way?
Thanks
Reply With Quote
  #15  
Old 2nd December 2005, 02:12 PM
Iron_Mike's Avatar
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,762
You're right, I went back and checked. BTW your lsmod doesn't look like the SPCA5xxx module loaded...
Reply With Quote
Reply

Tags
loaded, v4l

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Gadgets may come loaded... Hlingler Wibble 2 14th March 2008 04:52 AM
evince loaded? atrain_old Using Fedora 2 21st March 2007 06:23 AM
yum and apt-get not loaded paken Using Fedora 6 16th April 2005 03:50 AM
Loaded rythmbox but... BoomerFZ1 Using Fedora 1 28th March 2005 05:06 AM


Current GMT-time: 10:23 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat