LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-09-2004, 08:18 PM   #1
tsitras
Member
 
Registered: Mar 2003
Distribution: Fedora Core 6
Posts: 176

Rep: Reputation: 30
webcam installation


hi. i got a USB logitech webcam quicam pro 3000. i am running woody 2.6.5, and i would like to make it work. could somebody tell me how?
 
Old 04-10-2004, 01:23 PM   #2
KneeLess
Member
 
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Rep: Reputation: 30
Well, first check if it's in the Hardware Compatibility list here at LQ. In this case it's not listed, but when you get it working, then post it in the HCl!

Okay, did any drivers come with your camera? Are there any availible from the manufacturer's website? If so, install them, and make sure you have USB support enabled. If you installed from Knoppix, you probably do have USB.

Oh, and check out this website: http://www.smcc.demon.nl/webcam/release.html

Last edited by KneeLess; 04-10-2004 at 01:25 PM.
 
Old 04-10-2004, 09:23 PM   #3
tsitras
Member
 
Registered: Mar 2003
Distribution: Fedora Core 6
Posts: 176

Original Poster
Rep: Reputation: 30
if i knew how to do it i would be more than happy to make a post in the LQ. also if i knew how to do that i would not ask over here! so could someone help me with my webacam?
 
Old 04-12-2004, 04:39 PM   #4
geekzen
Member
 
Registered: Mar 2004
Location: Canada. The Great white north.
Distribution: Debian Sid
Posts: 183

Rep: Reputation: 30
Well, you are going to need video4linux in your kernel. You will also need a camera reader. Camstream comes to mind <http://www.smcc.demon.nl/camstream/>
 
Old 04-12-2004, 08:38 PM   #5
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 42
I'm pretty sure that one uses the pwc kernel module, so if your software is not finding the camera try "modprobe pwc" as root. On my Orbit, things didn't go well until I installed the binary-only module pwcx which you can get here: http://www.smcc.demon.nl/webcam/release.html

If you have software (gnomemeeting, camstream) and "modprobe pwc" doesn't get it working but does get it to make a different error message, I'd be happy to tell you what I know about making pwcx work. I used the 9.0 beta version on kernel 2.6.5 and had not too much trouble, but I had various difficulties with 2.4.25.
 
Old 04-12-2004, 09:15 PM   #6
tsitras
Member
 
Registered: Mar 2003
Distribution: Fedora Core 6
Posts: 176

Original Poster
Rep: Reputation: 30
how can i found which software do i need? could you tell me please the required steps to do it? i run kernel 2.6.5 and i thing i compiled video4linux in the kernel. How do i check if i got?
 
Old 04-12-2004, 09:18 PM   #7
geekzen
Member
 
Registered: Mar 2004
Location: Canada. The Great white north.
Distribution: Debian Sid
Posts: 183

Rep: Reputation: 30
Try zcat /proc/config.gz | grep VIDEO

your are looking for a y(or an M, denoting module).

Try that thing i posted above, camstream.
 
Old 04-12-2004, 09:26 PM   #8
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 42
Either gnomemeeting or camstream should do for software. It depends what you want to do with the camera If you type "apt-cache search webcam", you'll get some more things that might or might not be of interest.

To test if the kernel is seeing your camera, try typing "cat /dev/video0" in a terminal. If things are good, it will spew a bunch of binary crap which you will want to hit ^C to stop. If they aren't, you'll get a message like "no such device" or similar. In the latter case, you don't have the right module(s) loaded.

If you used the debian make-kpkg thingy to build and install your kernel, or you got the kernel out of debian packages, you should have a /boot/config-`uname -r` file. (Or maybe there is .config left in your build directory.) Check that CONFIG_VIDEO_DEV is y or m, and that CONFIG_USB_PWC is y or m. If either is n, you're going to have to reconfigure your kernel. The modules for these are named videodev and pwc, so you can try "modprobe videodev" and/or "modprobe pwc" if one of those CONFIG_s is marked m ("module"). You probably do not have to modprobe videodev since the modprobe on pwc should load videodev automatically.

At any rate, once you have "cat /dev/video0" spewing garbage, stop it, then start camstream or gnomemeeting or any program which uses a webcam, and hopefully it will work.
 
Old 04-13-2004, 02:48 PM   #9
tsitras
Member
 
Registered: Mar 2003
Distribution: Fedora Core 6
Posts: 176

Original Poster
Rep: Reputation: 30
Here is the output from the commands you have told me.
debian:~# zcat /proc/config.gz | grep VIDEO
zcat: /proc/config.gz: No such file or directory
debian:~#


debian:~# cat /dev/video0
VXSSSQXZXZ\XWLKE=@ABEFKKM@GD?HOJQRNOLOC=;@FHIMKE7;?CCDG9;?9>?<A??@G[d}????????????????????????????????????????????????????????????????????????????????????????yZXTTVR[VX^[[TPJ>>>DDFJNMMKFCGGNMONRNPRI7=?AFNJRK<>B=;@;4=>84<>===:>DCV\q???????????????????????????????????????? ?????????????????????????????????????????????}{Y[WUTSVWZZ^ZYRM@>?AG@DHNN@CBIGOOQPRNPNL::<CHMIPM>@<499:;<;<;=:===A=;??<GUbt}?????????????????????????? ??????????????????????????????????????????????????????~}|{XXZYWXX[[Y\\[SNDD?@AAJJJMIFEHKNOQPTMOLM9?<EIKJJD:=:87><<<;BEC;C<@?:8<:?@C?FTcj??????????????????????????????????? ??????????????????????????????????????????~}~~|Z[Z]ZWU\]_\_[ROB?A?BGDHONLBBJLLPOOQMSQO=B@FFIHD==;:8<=AC@>BGCA>=@=>;=A?<<;8=DMi?????????????????????????????????? ?????????????????????????????????????????~}~~z]Y]\VW[Z^^ZaWPPH;?AEEGIIPLBGIJLJORROUSS:@AEDIA<@<C<EA@DIDAGFEIBB=;<=@?7=;4;8>@BUz?????????????????????????? ?????????????????
debian:~#

on the last line i pressed control+c as you told as i was getting endless crap. now what do i do to make it work? rremember i am kinda new.
 
Old 04-13-2004, 02:59 PM   #10
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 42
Not having /proc/config.gz is no big deal; it's just an option you didn't turn on in your kernel.

It looks like you have a device driver loaded for your camera so you should fire up camstream or gnomemeeting or any app that uses the camera and see if it works. To install one of those, do "apt-get install camstream" or "apt-get install gnomemeeting"
 
Old 04-13-2004, 09:21 PM   #11
geekzen
Member
 
Registered: Mar 2004
Location: Canada. The Great white north.
Distribution: Debian Sid
Posts: 183

Rep: Reputation: 30
I wasent sure if you had config.gz. Its just somthing i usually build cause it is very usefull. You should be ready to go.
 
Old 04-13-2004, 09:57 PM   #12
tsitras
Member
 
Registered: Mar 2003
Distribution: Fedora Core 6
Posts: 176

Original Poster
Rep: Reputation: 30
hi actually the camera works fine. i used the camstream. Unfortunately it works only when i am root, and not when i am ordinary user. any ideas?
 
Old 04-13-2004, 10:08 PM   #13
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 42
Sure, type this as root "adduser yourusername video"

That adds yourusername to group video, which is the group which has access to /dev/video0
 
Old 04-14-2004, 07:15 AM   #14
tsitras
Member
 
Registered: Mar 2003
Distribution: Fedora Core 6
Posts: 176

Original Poster
Rep: Reputation: 30
well i did as you have told me, and the user has been added to the group video. BUT when i open camstream there is no device to choose from! any clues?
 
Old 04-14-2004, 11:07 AM   #15
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 42
Did you log out and log back into X? If not, try it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
webcam installation guide ricnoah MEPIS 2 10-19-2005 12:54 PM
webcam server 0.50 installation bytesurfer Linux - Hardware 2 10-01-2005 11:13 PM
Pwc : philips webcam installation bytesurfer Linux - Hardware 0 10-01-2005 10:41 AM
Few installation questions (RPM, Java, Webcam)... sbogus Linux - Newbie 11 06-11-2004 04:51 AM
Webcam installation gdluiv Linux - Software 2 11-16-2003 07:03 PM


All times are GMT -5. The time now is 12:30 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration