LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-07-2005, 10:16 AM   #1
nobodyhere
LQ Newbie
 
Registered: Aug 2005
Posts: 9

Rep: Reputation: 0
Newbie general debconf / webcam questions


Hi people,
I'm a linux newbie (had debian for 5 days now - and gone through 4 reinstalls 8P ) so this questions probably pretty basic/stupid. I'm trying to setup a Logitech Pro 4000 Webcam on debian, and found a great page about it - aboutdebian.com/webcam.html . The instructions are to run "debconf" in console and install videodev, usbcore, usb_uhci and ibmcam. Pretty straightforward except those options don't appear in my debconf menu. The page mentions this occurs if you didn't follow their previous protocol for a "vanilla" installation of debian (I just found the site so I guess I installed it differently), but they don't mention how to go about fixing this.
I've had a peek around and from what little I understood I think I'm supposed to recompile the kernel, but I've got no idea how to do this. Can anyone help me out? (and please keep help as newbie-friendly as possible - stuff like "configure an SQL database" or "run a configure line" have me floundering) thanks.
From what I've read, webcams are pretty picky to setup in debian, if anyone has any experience or can point me in the right direction, that would be outstanding.
Here are the details of my system: It's a IBM Thinkpad T20 650 Mhz laptop, I'm running "woody", but I've upgraded all the files via synaptic (does this make it the most recent version? -sarge I think). The webcam is connected via usb.
I did a search for "webcam" and "debconf" in this forum, but nothing obvious turned up, hopefully this is in the right forum/not a repeat question.

cheers
nobody.
 
Old 08-13-2005, 06:11 AM   #2
nobodyhere
LQ Newbie
 
Registered: Aug 2005
Posts: 9

Original Poster
Rep: Reputation: 0
IT'S ALIVE! IT'S ALIIIIIIIIIIIIIIIVE!

Woohoo! I got the my webcam working. So I guess I'll be answering my own question (thanks to the ppl who read my earlier post anyway). As I said, I'm still a complete newbie at linux, so I ended up doing a LOT of fumbling around with little understanding. Still, in case it helps other newbies, I'll record here how to get a Logitech Quickcam Pro 4000 working on Debian (sarge), kernel 2.6.x (I'm running 2.6.8). (Some of this stuff will probably be blindingly obvious to experienced linux users.)

Please note: I AM a newbie, so a lot of this information may be wrong. Hopefully some linux guru will correct me in later posts, so read the entire thread.

Firstly, googling how to install this webcam under debian will turn up a lot of outdated information. I'll expain: There were previously two debian drivers for this (and a few related Logitech) webcam - pwc and pwcx (stands for Phillips Web Cam). Due to some controversial decisions, the pwcx was discontinued and excluded from the Debian kernel (you can still download the drivers from the original site - smcc.demon.nl/webcam/ , but they are no longer updated and have little documentation ) . Pwc is the main driver for the webcam, pwcx does the signal decompression so that the image looks right. Can't remember if this is exactly what happened, but if you plug in your Logitech camera, then run xawtv (which you can install with synaptic) and you just get a green image, you need the pwcx driver.
Luckily, some kind soul made another version, combining the code for pwcx into a new pwc driver. Get it at saillard.org/linux/pwc/ . As far as I can tell, it does not work on kernels less than 2.6.x, so may need to upgrade. A really easy way to upgrade is just to install the desired kernel image with synaptic (my thanks to a certain "bob2" on the debian IRC channel who told me that). Note - there is a standard pwc driver that comes with the 2.6.8 kernel, but if you don't install the saillard.org drivers, you just get a black image on xawtv.

I found installing the pwc driver very tricky as a newbie. There are two versions of it, you can install it as a patch (incorporated into the kernel itself, requiring you to recompile your kernel) or as a module (doesn't get compiled into the kernel, is activated after the kernel boots). Being a former windows id-jit, i thought patching it would be easier ("A patch! Cool! Just run the .exe and the let 'er rip!") so that's what I chose. Newbie beware! There's good instructions for how to install the patch on the saillard.org site, but what it doesn't say is that any time you recompile a kernel you have to configure it (at the "make menuconfig" step). There are hundreds of very technical options to tweak the new kernel, choose the wrong ones and your system may not boot at all (ahhh, memories - I've now reinstalled Debian 12+ times 8| ) so i'd recommend using the module pwc instead. If you do choose to patch your kernel, you need to install ncurses-dev (install with synaptic) to run menuconfig (ncurses is the code to draw up colorful menus in the terminal window). I think I got lucky configuring my kernel, for the most part, I used the default settings so far it's been ok.

To be extra safe, make sure that when you recompile your kernel, you keep at least one other working kernel on your system. That way, if it all goes wonky you can just pick the old kernel at startup. (In order to do this, I had mess around with /boot/grub/menu.lst file, (GRUB is the startup menu where you choose which kernel to boot with) I'm not confident enough to explain all the steps involved here, there's lots of recompiling howto's on google).

hope this helps...
 
Old 08-13-2005, 06:25 AM   #3
nobodyhere
LQ Newbie
 
Registered: Aug 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I should add (since it relates to the original message): to get those *missing* options in debconf, you need to reconfigure it. Use the command "dpkg-reconfigure debconf".

Note: This was what I was told on the debian IRC chat channel (which is a newbie god-send for debian tips). After a lot of puttering about, I got my webcam drivers installed a different way, so I can't say whether it works or not.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
General Questions From A Desperate Newbie! Periculum Debian 5 09-19-2005 12:41 PM
Newbie General Questions Re SUSE Leonardc12 Linux - Newbie 7 04-08-2005 09:36 AM
General Questions From A Newbie....gawd, I Need Help!!! mannymann Linux - Newbie 35 05-11-2004 12:14 PM
Some general, stupid newbie questions... figgypower Linux - Newbie 1 08-20-2003 08:56 PM
General RedHat 8.0 newbie questions jMack Linux - Newbie 7 12-17-2002 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:39 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration