LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-09-2006, 09:19 AM   #1
laasunde
LQ Newbie
 
Registered: Sep 2002
Posts: 25

Rep: Reputation: 15
Philips driver


Hi,

Need some help with setting up a logitech pro 4000 camera on my fedora core4.

After a bit of searching I came across philips webcam driver which seems be what Im looking for. Been trying to follow this step-by-step instruction. The downloading and unpacking of the pwc files is not a problem but if I try the
Code:
sudo apt-get install kernel-headers-$(uname -r)
command it doesn't recognize the apt-get parameter. Dont really understand what the command is suppose to do to be honest. I'm using Fedora core4, could that be the problem? Is there maybe a different command to use with Fedora? Anyway, tryed running the 'make' but ended up getting loads of error messages.

Another question while Im at it, is there any software package in linux which allows me to view the video feed from my web cam?

Appreciate any help.

Last edited by laasunde; 02-10-2006 at 03:51 AM.
 
Old 02-10-2006, 07:03 AM   #2
acidzebra
Member
 
Registered: Mar 2005
Location: Netherlands
Distribution: FC4, debian, SuSE
Posts: 64

Rep: Reputation: 15
sudo: run the next command as root
apt-get install: tells the package manager to install...
kernel-headers and
$(uname -r) should expand to your currently running kernel version.

(try typing 'uname -r' in a command line and you'll see what I mean.

You could try entering this command as root:
apt-get install kernel-headers-$(uname -r)

or alternatively, first do a 'which apt-get' and it should give you the full path to apt-get (prolly /sbin or /usr/sbin)
then try the first command again but replace apt-get with the full path to the command.

Last edited by acidzebra; 02-10-2006 at 07:04 AM.
 
Old 02-14-2006, 11:17 AM   #3
laasunde
LQ Newbie
 
Registered: Sep 2002
Posts: 25

Original Poster
Rep: Reputation: 15
Hi,

There appears to be no apt-get installed on my system.

Both
Code:
find / -name apt-get
and
Code:
which apt-get
returned no result.

Could I install an apt-get package and then safely continue with the PWC installation guide?

Cheers
 
Old 02-14-2006, 01:04 PM   #4
acidzebra
Member
 
Registered: Mar 2005
Location: Netherlands
Distribution: FC4, debian, SuSE
Posts: 64

Rep: Reputation: 15
OK, Fedora Core 4. I focused on the apt-get and assumed its what you use.

For Fedora, try

yum install kernel-devel

(should work, if not, try

yum search kernel

_
 
Old 02-16-2006, 09:26 AM   #5
laasunde
LQ Newbie
 
Registered: Sep 2002
Posts: 25

Original Poster
Rep: Reputation: 15
Tried to type in the commands you suggested and got the following result:

Code:
[root@localhost tmp]# yum install kernel-devel
Setting up Install Process
Setting up repositories
Cannot find a valid baseurl for repo: updates-released

[root@localhost tmp]# yum search kernel
Searching Packages:
Setting up repositories
Cannot find a valid baseurl for repo: updates-released

[root@localhost tmp]# yum list available
Setting up repositories
Cannot find a valid baseurl for repo: updates-released
Do I need to be online for this to work? What is the problem. Nothing seem to be working.
 
Old 02-19-2006, 05:24 AM   #6
acidzebra
Member
 
Registered: Mar 2005
Location: Netherlands
Distribution: FC4, debian, SuSE
Posts: 64

Rep: Reputation: 15
Don't let these little setbacks discourage you, there are more coming. This is the easy stuff

Yes, most modern distro's expect you to have a fast broadband connection active, is that going to be a problem? I'm sure the kernel-devel packages are somewhere on the FC CD's (probably the src discs that nobody every downloads) but it's much easier to work online.
 
Old 02-19-2006, 02:11 PM   #7
laasunde
LQ Newbie
 
Registered: Sep 2002
Posts: 25

Original Poster
Rep: Reputation: 15
Dont think I'll be able to get the computer online but I can download any file(s) needed using another computer and copy them on via my memory-stick.

What is kernel-devel packages? Is that the same as the kernel source code? Not sure if this matters or not but I recently installed a new kernel on the computer (version 2.6.10).
 
Old 02-20-2006, 05:55 AM   #8
acidzebra
Member
 
Registered: Mar 2005
Location: Netherlands
Distribution: FC4, debian, SuSE
Posts: 64

Rep: Reputation: 15
Yeah, its the kernel source code. You'll have to have matching source code in place for your running kernel. Did you build the kernel from source, or just installed a RPM? In the first case you can skip straight to the 'build kernel module' of your pwc build document, in the latter case you will also have to install the kernel-2.6.10-devel.
 
Old 02-20-2006, 01:34 PM   #9
laasunde
LQ Newbie
 
Registered: Sep 2002
Posts: 25

Original Poster
Rep: Reputation: 15
I built the kernel from source.

Currently If I do
Code:
# tar xvf pwc-10.0.11...
# cd pwc-10.0.11...
# make
I get lots of missing header files (asm/param.h, asm/adeos.h asm/linkage.h asm/types.h asm/bitops.h etc).

What do you mean by "can skip straight to the 'build kernel module'" ? Can I go straight to 'make install'? Surely I must run 'make' first? Why is it failing?

Sorry for all the silly questions, I really am I rookie at linux.
 
Old 02-20-2006, 06:52 PM   #10
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Did you leave your kernel sources, from when you built your kernel, in /usr/src/linux-2.6.x ? (or similar). If not then put them there, then link /usr/src/linux-2.6.x to /usr/src/linux (you might not even need to do this bit)

Basically, assume you have the kernel sources and move to the next step in your driver install
 
  


Reply



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
PWC driver in Mandrake 10 (Philips Toucam II, Logitech Quickcam Pro 4000, etc.) make Mandriva 0 06-19-2004 03:03 AM
Philips camera u/s gdluiv Linux - Newbie 7 02-04-2004 11:33 AM
philips dvdrw824 SchwipSchwap Linux - Hardware 1 01-01-2004 04:35 PM
Philips Webcam gdluiv Linux - Newbie 0 11-08-2003 09:39 PM
Philips 2400 SticklerThe1st Linux - Hardware 2 11-15-2002 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:50 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