LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-09-2004, 11:04 AM   #1
iain.ross
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: SuSE 9.2 Pro, KDE 3.4
Posts: 82

Rep: Reputation: 15
/usr/src/???


Whilst trying to get my philips webcam to work in SuSE 9.1, I keep seeing references to tweaking files contained in
/usr/src/linux... .

Such as
Quote:
main thing for getting pwc to work is to remove "&& broken" from pwc, in Kconfig in /usr/src/linux/drivers/usb/media ..
Thing is, I dont have anything in the src folder other than packages. Inside this is a load of empty (yes I do have view hidden files enabled) folders:

BUILD
RPMS
SOURCES
SPECS
SRPMS

So how on earth do I modify Kconfigg??
 
Old 08-09-2004, 12:38 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
the kernel source is what goes in /usr/src/

the kernel directory will be named for its version number.....IE--
linux-2.4.26
there is another directory in there called linux which is just a symlink to the version #

Last edited by 320mb; 08-09-2004 at 12:39 PM.
 
Old 08-09-2004, 03:34 PM   #3
iain.ross
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: SuSE 9.2 Pro, KDE 3.4
Posts: 82

Original Poster
Rep: Reputation: 15
But its not there at the moment.... so I need to download the kernel source RPM. How do I find out what kernel I am running? >noob<

Last edited by iain.ross; 08-09-2004 at 03:42 PM.
 
Old 08-09-2004, 04:06 PM   #4
iain.ross
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: SuSE 9.2 Pro, KDE 3.4
Posts: 82

Original Poster
Rep: Reputation: 15
Got it. All sorted. Delete the thread mr moderator if you wish
 
Old 08-24-2004, 10:42 AM   #5
brancy
LQ Newbie
 
Registered: Aug 2004
Distribution: suse 9.1
Posts: 6

Rep: Reputation: 0
Could you post how you got it all sorted out? I am running into the same problem...

Thanks!
 
Old 08-24-2004, 02:18 PM   #6
iain.ross
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: SuSE 9.2 Pro, KDE 3.4
Posts: 82

Original Poster
Rep: Reputation: 15
OK, first I downloaded linux source for my distro from RPM Search. I then went here: http://www.smcc.demon.nl/webcam/#status
And downloaded the PWC and PWCX latest builds. In one of them there is a readme with extensive howto in the readme. Follow those instructions. Note, as I have the personal version of SuSE I had to download a lot of RPM packages for things like make, and gcc etc (dev tools included in the pro version).

The instructions are quite straightforward. The hardest bit was recompiling the kernel, using menuconfig. The instructions said to enable PWC in the USB drivers section. I didn't have that option, but one for Philips Webcam did magically apear. I enabled this module, recompiled the kernel (too ages).

However, upon reboot, I couldn't get into init 5, and had to run yast from the comandline as a super user to reinstall my nvidia graphics drivers. Then YOU went beserk and downloaded a load of stuff. After all that my webcam worked..... hope this helps, any probs post back...
 
  


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
/usr/src SeattleSux Linux - Newbie 3 12-23-2004 10:29 PM
Need to Untar into usr/src... supes Linux - Newbie 5 04-17-2004 04:01 PM
/usr/src ??? gibbylinks Red Hat 1 10-24-2003 03:05 AM
ls returns nothing in /usr/src harpreet Linux - Newbie 2 09-01-2003 08:02 PM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM

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

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