Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-13-2005, 07:30 PM
|
#1
|
LQ Newbie
Registered: Mar 2005
Distribution: Debian
Posts: 28
Rep:
|
Device drivers for Creative Labs Webcam
Was wondering if anyone knew where I could find device library information on the Creative Labs Webcam Notebook. And I guess, while I'm at it, for the Netgear MA101 Wireless USB peripheral. Any information would be appreciated. Thanks.
Joe
|
|
|
04-14-2005, 01:43 AM
|
#2
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
Have a look at the LQ HCL as they are quite commonly used with Linux. On your system you need USB support which is in the kernel modules. I would suggest using modconf by doing modconf from a root console. If it says command not found install it. It will give a menu and go down to the usb section. If you need more detailed assitance let us know.
|
|
|
04-18-2005, 01:33 PM
|
#3
|
LQ Newbie
Registered: Mar 2005
Distribution: Debian
Posts: 28
Original Poster
Rep:
|
Alright, went through the modconf procedure, and am looking at the various USB modules, but am not really sure which should be installed.
The only thing installed is, usbcore, Universal Serial Bus support. The ones that aren't installed include CDCEther, acm, catc, hid, kaweth, pegasus, rtl8150, and usbnet. Hope this helps.
Joe
|
|
|
04-18-2005, 02:11 PM
|
#4
|
Member
Registered: Jan 2004
Distribution: Slackware 11 + Dropline Gnome 2.16
Posts: 194
Rep:
|
|
|
|
04-18-2005, 02:16 PM
|
#5
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
There is an article on installing webams at http://www.linux.com/howtos/Webcam-HOWTO/hardware.shtml . Sounds like you need usbcore and ohci. Have a look at the article and also try a google search with the specific model.
|
|
|
04-18-2005, 03:33 PM
|
#6
|
LQ Newbie
Registered: Mar 2005
Distribution: Debian
Posts: 28
Original Poster
Rep:
|
I have a Creative Labs Webcam Notebook (PD1170). And I don't see my model there. I believe that this site might have what I need:
http://mxhaard.free.fr/download.html
Not sure though
Joe
|
|
|
04-18-2005, 06:04 PM
|
#8
|
LQ Newbie
Registered: Mar 2005
Distribution: Debian
Posts: 28
Original Poster
Rep:
|
Code:
ts7200:/# lsmod
Module Size Used by Not tainted
vfat 10168 0 (unused)
fat 29668 0 [vfat]
usb-ohci-ep93xx 956 0 (unused)
usb-ohci 15580 0 [usb-ohci-ep93xx]
usbcore 55960 1 [usb-ohci]
pcipool 2096 1 [usb-ohci-ep93xx usb-ohci]
So i do have usb-ohci and usbcore running. However, the article at http://www.linux.com/howtos/Webcam-HOWTO/hardware.shtml uses the ibmcam/ibmcam.o for all it's examples. I'm confused as to what I would use in substitute for that.
Joe
|
|
|
04-18-2005, 06:29 PM
|
#9
|
LQ Newbie
Registered: Mar 2005
Distribution: Debian
Posts: 28
Original Poster
Rep:
|
Hate to sound like a broken record. But I attempted to install spca5xx drivers for the webcam to no avail. I am now trying to install this person's NetBSD drivers ( http://www2.starcat.ne.jp/%7Etakam/b...tml#webcamnote) However, whenever I attempt to make:
Code:
ts7200:~/webcam_driversv2# make
make: *** Warning: File `Makefile' has modification time in the future (2004-01-13 10:14:54 > 1969-12-31 18:17:28)
make -f Makefile.cnxtshot
make[1]: Entering directory `/root/webcam_driversv2'
Makefile.cnxtshot:22: *** missing separator. Stop.
make[1]: Leaving directory `/root/webcam_driversv2'
make: *** [cnxtshot] Error 2
The Makefile in question looks like:
Code:
ts7200:~/webcam_driversv2# more Makefile.cnxtshot
# Makefile cnxtshot
#
PREFIX ?= /usr/local
BINDIR ?= ${PREFIX}/bin
MANDIR ?= ${PREFIX}/man
PROG = cnxtshot
SRCS = cnxtshot.c cnxt.c cnxtinit.c rgb24_init.c
NOMAN =
#MAN = ${PROG}.1
CFLAGS += -Wall
LDFLAGS += -Wall
cnxtshot.o: cnxtshot.c cnxt.h
cnxtinit.o: cnxtinit.c rgb24_init.c cnxt.h
clean: cleanprog
rm -f *~ *.orig ${PROG}.cat1
.include <bsd.prog.mk>
Apparently that last line:
.include <bsd.prog.mk> is the one with separator issues. I'm not sure what this means though.
And the directory contents where it all is taking place is:
Code:
ts7200:~/webcam_driversv2# ls -l
total 122
-rw-r--r-- 1 root root 425 Jan 13 2004 Makefile
-rw-r--r-- 1 root root 377 Jan 13 2004 Makefile.cnxtshot
-rw-r--r-- 1 root root 577 Jan 13 2004 Makefile.cnxtview
-rw-r--r-- 1 root root 4499 Jan 11 2004 cnxt.c
-rw-r--r-- 1 root root 1367 Jan 13 2004 cnxt.h
-rw-r--r-- 1 root root 1994 Jan 13 2004 cnxtinit.c
-rw-r--r-- 1 root root 5263 Jan 13 2004 cnxtshot.c
-rw-r--r-- 1 root root 6037 Jan 13 2004 cnxtview.c
-rw-r--r-- 1 root root 3517 Jan 13 2004 gui.c
-rw-r--r-- 1 root root 312 Jan 11 2004 gui.h
-rw-r--r-- 1 root root 41158 Jan 13 2004 i420_init.c
-rw-r--r-- 1 root root 5089 Jan 13 2004 jpeg_decode.c
-rw-r--r-- 1 root root 2373 Jan 13 2004 readme
-rw-r--r-- 1 root root 42942 Jan 13 2004 rgb24_init.c
I'd appreciate anyone willing to throw in some knowledge. I'm very desperate to get this thing finally working. But I keep thinking that the camera I have just won't work the the drivers I keep finding. Perhaps I should just bite the bullet and reinvest in one that I know has support/drivers for.
Joe
Last edited by Mr Smokin Joe; 04-18-2005 at 07:10 PM.
|
|
|
04-19-2005, 01:45 AM
|
#10
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
Couple of comments;
You did download the Linux version? there are 2, bsd version and linux version
A brief read of the readme indicates that it requires the kernel source file and expects to find it at /usr/src. Debian doesn't normally install a kernel source so you would need to install the source for your kernel in the directory. To determine the kernel version do uname -r.
It is best to decompress the download into /usr/local/src and do the make from there.
Study the readme before doing anything.
|
|
|
04-19-2005, 07:34 AM
|
#11
|
LQ Newbie
Registered: Mar 2005
Distribution: Debian
Posts: 28
Original Poster
Rep:
|
Code:
ts7200:~# uname -r
2.4.26-vrs1-cirrus-1-2-1-ts8
So the wisest thing would be to find the kernel source and install do the /usr/src directory?
Quote:
It is best to decompress the download into /usr/local/src and do the make from there.
|
You referring to the webcam drivers or the kernel source?
Joe
EDIT: at http://www.kernel.org/ i'm searching for my kernel version (i assume to be 2.4.26), can't exactly find it.
EDIT (again): did a google search for 2.4.26 and came with this:
http://www.kernel.org/pub/linux/kernel/v2.4/
I downloaded the .tar.gz file and am going to unzip it in my /usr/local/src/ directory. Is it in that same directory I then reconfigure my kernel with
And such?
Last edited by Mr Smokin Joe; 04-19-2005 at 08:10 AM.
|
|
|
04-19-2005, 09:46 AM
|
#12
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
Source must match your kernel EXACTLY. If its a Debian kernel then you can use to apt to install it but you need to add a line to /etc/apt/sources.list;
deb-src http://ftp.uk.debian.org/debian/ testing main non-free contrib
you need to change the country code and flavour (stable, testing or unstable) in the above.
Then do apt-get update then apt-cache search kernel-source-<your_kernel_version> then apt-get install <version>. It will be installed in /usr/src. Place the webcam driver source file in /usr/local/src and then run make. You don't have to do anything to the kernel-source. The make compiles the drivers against the kernel source and then when you do make install they are added to the module files in /lib/modules/<kernel_version>
|
|
|
04-19-2005, 02:40 PM
|
#13
|
LQ Newbie
Registered: Mar 2005
Distribution: Debian
Posts: 28
Original Poster
Rep:
|
Quote:
Originally posted by TigerOC
deb-src http://ftp.uk.debian.org/debian/ testing main non-free contrib
you need to change the country code and flavour (stable, testing or unstable) in the above.
|
my sources.list looks like:
are those the 'flavours' you were talking about?
Thanks,
Joe
EDIT: Well, I attempted what you gave me (hopefully I understood you completely):
1) apt-get update
2) apt-cache search kernel-source-2.4.26
3) apt-get install 2.4.26
Unfortunately, each one had their own set of errors. I couldn't really get anything afloat. The biggest problems came from the apt-get update (due to sources.list).
Here's a little snippet:
Code:
Something wicked happened resolving 'ftp.us.debian.org:http' (-3)
Err http://ftp.us.debian.org stable/non-free Release
Something wicked happened resolving 'ftp.us.debian.org:http' (-3)
Err http://non-us.debian.org stable/non-US/contrib Release
Thanks again.
Last edited by Mr Smokin Joe; 04-19-2005 at 03:22 PM.
|
|
|
04-19-2005, 03:55 PM
|
#14
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
Taking the last question first - the apt error means that the internet connection is not working. You'll need to resolve that issue. The kernel source must exactly match your running kernel. i.e. if the kernel version is 2.4.29-xyz then the kernel-source must be 2.4.29-xyz. The use of a generic kernel about the same will not work because you will get make errors.
Your souces.list points to stable (flavour). Judging by the kernel version # it doesn't sound like it came from stable sounds more like it came from testing so you would have to edit your sources.list and point the src line to testing and then do apt-get update then install the kernel source and then change it back to stable and do another update.
Do you know where that kernel comes from? It doesn't bear the stamp of a normal Debian kernel.
Last edited by TigerOC; 04-19-2005 at 03:58 PM.
|
|
|
04-19-2005, 04:02 PM
|
#15
|
LQ Newbie
Registered: Mar 2005
Distribution: Debian
Posts: 28
Original Poster
Rep:
|
I got it with a development package when I purchased the TS 7200 SBC ( http://www.embeddedx86.com). It comes on a 256meg CF. I'm pretty sure I have the internet working (I get a non-static IP and I can connect to the apache webserver it comes with via remote computer). I reworked my sources.list file this way:
Should I add the line you provided for each of the Stable/Testing/Unstable lines?
Joe
|
|
|
All times are GMT -5. The time now is 03:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|