LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-13-2005, 07:30 PM   #1
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Rep: Reputation: 15
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
 
Old 04-14-2005, 01:43 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
Old 04-18-2005, 01:33 PM   #3
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
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
 
Old 04-18-2005, 02:11 PM   #4
cb951303
Member
 
Registered: Jan 2004
Distribution: Slackware 11 + Dropline Gnome 2.16
Posts: 194

Rep: Reputation: 30
http://opensource.creative.com/
 
Old 04-18-2005, 02:16 PM   #5
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
Old 04-18-2005, 03:33 PM   #6
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
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
 
Old 04-18-2005, 04:21 PM   #7
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
Just noticed on http://alpha.dyndns.org/ov511/cameras.html that my camera (Notebook webcame PD1170) only uses NetBSD driver http://www2.starcat.ne.jp/%7Etakam/b...ml#webcamnote.

I'm curious to know what happens if I try the drivers for the PD1171 Webcam Notebook. I'm sure it won't work.

Joe
 
Old 04-18-2005, 06:04 PM   #8
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
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
 
Old 04-18-2005, 06:29 PM   #9
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
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.
 
Old 04-19-2005, 01:45 AM   #10
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
Old 04-19-2005, 07:34 AM   #11
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
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
Code:
make menuconfig
And such?


Last edited by Mr Smokin Joe; 04-19-2005 at 08:10 AM.
 
Old 04-19-2005, 09:46 AM   #12
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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>
 
Old 04-19-2005, 02:40 PM   #13
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
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:

Code:
ts7200:/etc/apt# more sources.list


deb http://ftp.us.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.us.debian.org/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-fr
ee

deb http://security.debian.org/ stable/updates main contrib non-free
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.
 
Old 04-19-2005, 03:55 PM   #14
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
Old 04-19-2005, 04:02 PM   #15
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
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:

Code:
#Stable
deb http://ftp.us.debian.org/debian stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free


#Testing
deb http://ftp.us.debian.org/debian testing main non-free contrib
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free


#Unstable
deb http://ftp.us.debian.org/debian unstable main non-free contrib
deb http://non-us.debian.org/debian-non-US unstable-non-US main contrib non-free
Should I add the line you provided for each of the Stable/Testing/Unstable lines?

Joe
 
  


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
ALSA drivers not working for my Creative Labs SBLIVE! 24Bit card... Please Help!!! TheCowboy Linux - Hardware 2 03-04-2005 02:25 AM
Trouble getting Creative Labs SB Audigy LS to work. (no such device) fbred Linux - Hardware 11 01-22-2005 09:16 PM
Drivers for a LexMark 510 Serise....? and a Creative Labs LIVe 24Bit! HELP! TheCowboy Linux - Hardware 2 01-02-2005 01:58 AM
Creative Labs E-MU 1820m ramowl Linux - Hardware 1 07-17-2004 03:59 PM
Creative Labs SB Live unkind Debian 2 12-02-2003 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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