LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2005, 07:55 PM   #1
me_and
LQ Newbie
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
Configuring kernel to install driver


I want to install a driver for my webcam (first post, can't link -- google for "w9968cf-1.36.tar.gz").

The text file in the tarball seems good, but it states:

Quote:
As noted above, kernel 2.4.20 is the minimum for this driver; for it to work
properly, the driver needs kernel support for Video4Linux, USB and I2C, and the
"ovcamchip" module for the image sensor.

The following options of the kernel configuration file must be enabled and
corresponding modules must be compiled:
Code:
# Multimedia devices
#
CONFIG_VIDEO_DEV=m

# I2C support
#
CONFIG_I2C=m
...
and so on.

Thing is, I'm not quite sure what I need to do. I've tried editing the kernel using the instructions on KernelHowto at the Ubuntu Wiki, but that gives me a menu system for editing the kernel, and this seems to need some sort of text editor.

Any help, preferably with explanations, would be much appreciated -- I'm trying to learn to use Linux, but I don't think I'm doing so well -.-

I'm using Ubuntu 5.04 (Hoary) x86, and (I think) the kernel's version 2.6.10.
 
Old 09-19-2005, 08:09 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
What kind of webcam?
The modules may allready be there try;
Code:
[root@localhost home]# modprobe usbcore
[root@localhost home]# modprobe i2c-core
[root@localhost home]# modprobe videodev
[root@localhost home]# modprobe w9968cf

Last edited by comprookie2000; 09-19-2005 at 08:14 PM.
 
Old 09-19-2005, 08:53 PM   #3
me_and
LQ Newbie
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
It's a Creative WebCam Go Plus. Each of those commands just does nothing -- I'm going to make a stab in the dark and assume that means the modules aren't there...
Code:
adam@Nordom:~$ sudo modprobe usbcore
adam@Nordom:~$ sudo modprobe i2c-core
adam@Nordom:~$ sudo modprobe videodev
adam@Nordom:~$ sudo modprobe w9968cf
 
Old 09-20-2005, 03:59 AM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Looks like you will need to compile a kernel for it to work;
http://www.greenpeanut.com/projects/...oc/w9968cf.txt
 
Old 09-20-2005, 04:13 AM   #5
me_and
LQ Newbie
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
That's the same document as came with the driver. It's the compiling the kernel that I'm having trouble with though -- I don't know how to make the changes it states before compiling.
 
Old 09-20-2005, 11:42 AM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
For the kernel;
http://ubuntuforums.org/showthread.php?t=56835
Win4lin guide;
http://www.win4lin.com/component/opt...wnload/gid,24/
 
Old 09-20-2005, 05:07 PM   #7
me_and
LQ Newbie
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Okay, but how do I enable the modules?

While I think of it, how did you know the modules would be called i2c-core and videodev and so on? Is that something that I just need to know, or is there somewhere to look it up?
 
Old 09-20-2005, 05:22 PM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
You will have to do some reading, it will not be easy.
http://www.greenpeanut.com/projects/...oc/w9968cf.txt
 
Old 09-20-2005, 09:12 PM   #9
me_and
LQ Newbie
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Okay, I've got the camera working with xawtv, but GnomeMeeting isn't accepting it. When I ran xawtv, that didn't seem too happy, but it worked:
Code:
adam@nordom:~$ xawtv -c /dev/video0
This is xawtv-3.94, running on Linux/i686 (2.6.10-5-386)
WARNING: v4l-conf is compiled without DGA support.
/dev/video0 [v4l]: no overlay support
v4l-conf had some trouble, trying to continue anyway
ioctl: VIDIOC_QUERYCAP(driver="";card="";bus_info="";version=0.0.0;capabilities=0x0 []): Unknown error 515
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOCMCAPTURE(frame=0;height=48;width=64;format=7): Invalid argument
ioctl: VIDIOCMCAPTURE(frame=0;height=48;width=64;format=15): Invalid argument
ioctl: VIDIOCMCAPTURE(frame=0;height=48;width=64;format=5): Invalid argument
ioctl: VIDIOCMCAPTURE(frame=0;height=48;width=64;format=4): Invalid argument
ioctl: VIDIOCMCAPTURE(frame=0;height=48;width=64;format=1): Invalid argument
ioctl: VIDIOCMCAPTURE(frame=0;height=48;width=64;format=13): Invalid argument
no way to get: 384x288 32 bit TrueColor (LE: bgr-)
In GnomeMeeting, it says that Video4Linux is the most common plugin; the one I'm using is V4L2. GnomeMeeting reports that it's failing to open /dev/video0, but it doesn't give a reason why, and I don't know where it would dump that information.
 
  


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
Modem driver install: Where's the kernel?? Hungry ghost Ubuntu 2 05-28-2005 01:35 PM
can't install newest radeon driver on kernel 2.6.11; what's up with this? qanopus General 9 03-14-2005 03:26 AM
Install NVIDIA driver on kernel v. 2.4.18 J_Szucs Linux - Hardware 3 03-06-2004 03:11 PM
How to install driver Ethernet card in Linux kernel 2.4.10 truong van lich Linux - Software 1 07-29-2003 02:57 AM
kernel prob with driver install Avenging_Angel Linux - General 5 05-28-2003 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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