LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-15-2004, 11:01 AM   #1
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
webcam... help please


i am trying to get some drivers that should work with
this little toy and in the proccess of
installing/making them i am running into a bit of an
issue. i was abel to easily overcome the first issue
of a missing program via apt-get install, but this one
i dont know enough to get around:

gcc version: gcc version 3.3.4 (Debian 1:3.3.4-13)
gcc version: gcc version 3.3.4 (Debian 1:3.3.4-13)
Make version: GNU Make 3.80
Linker version: GNU ld version 2.15
Kernel compiler: gcc version 3.3.4 (Debian 1:3.3.4-9)
[!] Kernel compiler and gcc seem to be different
versions.
Instead, they should be the same. If you have many
compilers
installed, you can specify the correct one with
command (in bash)
export CC=kgcc
before trying to install the driver. Replace kgcc with
the command
required for compiling kernels (kgcc is often used in
Red Hat systems).
WARNING: If you press Enter, I'll try to continue
anyway,
but this probably will fail. You SHOULD press Ctrl+C
now.
Press Ctrl+C to quit, Enter to continue --->

how/what do i do to get my kernel compiler to match my
other gcc vs #?

I am running Debian-sarge edition with the speakup kernel vs 2.4.x i tried the sca5x (IIRC that is the driver name), but every one that i downloaded failed when tring to untar them with tar xvf or xvjf both (tar.bz or tar.bz2) gave the same type of error. something about it not being compatable, or outdated archive or just not working. so those will not work as every site i found with those drivers including soundforge did not have a working copy or the tar.

if this webcam is not compatable with debian could someone post a list of webcams that are. i only have 10 days left before i can not return this and replace it with a camera that will work with linux.

ask if you need further information to help you help me solve this issue with getting the camera to install properly.
 
Old 12-15-2004, 04:32 PM   #2
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
just some added info.

i installed a mod application tool from debian that has a nice little walk though tool for installing drivers on demand type setup. it told me that my kernel header was the most current, then when i tried again to install the qc and qc(something)source that my kernel header were not up to date.

so what is with this catch 22 here... im damned if i do and damned if i dont.

am i up to date on my kernel header or not? how can it be both?
 
Old 12-16-2004, 12:46 AM   #3
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
well making progress.

i rebooted the laptop and then ran the module-assistant again and i was able to install the qc and qce-source drivers so now i have gone that far, but now i am just needing to figure out what file i need to edit to tell the computer what video in the /dev/video area the camera is hooked up to. i think that is were i am... still not 100% on that, but i know the camera works as i hooked it up to my XP box sitting next to my laptop and there it is.

i do not want my wife or kids playing on my XP box as they can mess it up, but they can not mess up my laptop. debian is a bit more robust then windows, that and most of the junk software apps that the kids web pages or the web pages my wife will visit will not install on a linux system so that makes me a happy camper.
 
Old 12-16-2004, 11:36 PM   #4
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
http://www.ibiblio.org/pub/Linux/doc....html#USB-TYPE

ok i seem to be making headway, but im stuck. found this site, and i can do everything up to a point, then it points me to a directory that i do not have:

Quote:
After this, it's simply a matter of allowing read and write access for the user in question of the device like so:

# chmod g+rw /dev/v4l/video0
i do not have anything that even resembles the /dev/v4l in my /dev directory. i do however have /dev/video0, should u just chmod g+rw /dev/video0?

FYI, even doing that i still get the following error when trying to touch the webcam via xawtv:

Code:
laptop:/home/ray# xawtv -hwscan
This is xawtv-3.94, running on Linux/i686 (2.4.27-speakup)
Error: Can't open display:
mark(someone from my LUG) pointed me to look at:

Code:
laptop:/home/ray# cat /proc/bus/usb/devices
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=1800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=08a2 Rev= 1.00
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=160mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 0 Alt= 2 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 192 Ivl=1ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 0 Alt= 3 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 256 Ivl=1ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 0 Alt= 4 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 384 Ivl=1ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 0 Alt= 5 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 0 Alt= 6 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS= 768 Ivl=1ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 0 Alt= 7 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=audio
I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=audio
I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio
E:  Ad=83(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
I:  If#= 2 Alt= 2 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio
E:  Ad=83(I) Atr=01(Isoc) MxPS=  32 Ivl=1ms
so to me it looks like the camera is there as it does have a built in microphone, could that be the driver=audio at the end of that list?

FYI mark i did install usbview,
Code:
laptop:/home/ray# usbview

Gtk-WARNING **: cannot open display:
so as with a lot of tools, im just SoL with that one too.

when i go though the steps for checking the mods all are there and running except the ibmcam, and that i can make run with his command to turn it on. i have not set it to activate on boot yet as i just want to make sure this is working before i do anything like that yet.

so im stuck, and this is were i am at trying to get this working. help please.
 
Old 12-17-2004, 03:11 PM   #5
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
ok next update. i finnaly figured out a way to get usbview to work by ssh -X root@localhost and that worked.

next issue is usbview shows only the audio and not a video connected to my USB root hub.

what do i need to do to get this camera working?

now im 3 days or so with out a single responce from this great forum. someone around here has had to of configured a USB webcam at some point in time with linux. i could use some help here.
 
Old 12-18-2004, 10:20 PM   #6
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
you can not tell me that NO one on this site has ever setup a USB camera in dieban. i find that just to far out to belive. i think 3 days is enough to bump this thread, i have posted enough steps that i have taken, i have offered to post any file or setting requested, yet not a single sujestion.

well here are some more steps i have taken that are failing.

Code:
ray@laptop:~$ ssh -X root@localhost
Password:
Last login: Sat Dec 18 22:11:47 2004 from localhost.localdomain
laptop:~# xhost +
access control disabled, clients can connect from any host
laptop:~# xawtv
This is xawtv-3.94, running on Linux/i686 (2.4.27-speakup)
WARNING: remote display `localhost:10.0' not allowed, using `:10.0' instead
can't open x11 display :10.0
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such device
v4l2: open /dev/video0: No such device
v4l: open /dev/video0: No such device
no video grabber device available
so with ssh -X and xhost + i have given access to Xwindow to any and all users, but it is still not showing anything for my webcam. usbview does show an audio device connected i can only guess that that is the microphone portion of the camera, but were is the video portion. i could do without the mic, but i do want the vid portion.
 
Old 12-19-2004, 01:12 PM   #7
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
ok so then that means NO one has any clue even after over 100+ views and zero replies how to get a USB camera working?
 
Old 12-19-2004, 10:04 PM   #8
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
wow 122 views and still no help...

im now attempting to compile the 2.6.8 kernel for debian as per http://www.desktop-linux.net/debkernel.htm sites help.

lets see if i can get it right this time and maybe even get full access to my webcam.
 
Old 12-30-2004, 12:37 PM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
If it is any consolation, thanks to your research, I've managed to get my Logitech Quickcam Notebook working. I was completely stuck in that Gnomemeeting would work when run as root, but couldn't find the camera when run as a normal user. Your /dev/v4l/video0 permissions did the trick.

Also, if your camera uses a Philips chipset, the kernel module here seems to work quite nicely.
 
Old 12-30-2004, 03:57 PM   #10
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
thanks, ill check that out when i get home. glad someone got something out of it.
 
Old 12-30-2004, 04:14 PM   #11
dimgr
Member
 
Registered: Jun 2004
Posts: 92

Rep: Reputation: 15
modprobe qc-usb ?
 
Old 12-30-2004, 06:24 PM   #12
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
Code:
laptop:~# modprobe qc-usb
modprobe: Can't locate module qc-usb
 
Old 01-01-2005, 12:49 AM   #13
ka9qlq
Member
 
Registered: Feb 2004
Location: Columbus, IN USA
Distribution: Mepis 3.4 rc1
Posts: 119

Rep: Reputation: 26
I'm wanting to buy a cheap webcam that works in Linux if any one has ideas. modprobe qc-usb man wouldn't THAT have been nice.
Alvin
 
Old 01-01-2005, 01:39 AM   #14
dimgr
Member
 
Registered: Jun 2004
Posts: 92

Rep: Reputation: 15
Quote:
Originally posted by ka9qlq
I'm wanting to buy a cheap webcam that works in Linux if any one has ideas. modprobe qc-usb man wouldn't THAT have been nice.
Alvin
that worked for my creative notebook camera

download this package
http://www.kanotix.com/files/driver/...-kanotix-8.zip

and there is the driver for the camera in .deb format
then just install it . dpkg -i

THis MIGHT not work for you cause you are not using kanotix but never hurts to try
 
Old 01-01-2005, 10:57 AM   #15
ka9qlq
Member
 
Registered: Feb 2004
Location: Columbus, IN USA
Distribution: Mepis 3.4 rc1
Posts: 119

Rep: Reputation: 26
Cool, does it list webcams?
Alvin
 
  


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
How To Install A Usb Webcam [Genius WebCam on Suse 9.1 Personal] ofvergara SUSE / openSUSE 4 11-29-2006 01:09 PM
WebCam Bob1285 Linux - Newbie 4 11-09-2005 06:19 PM
which webcam to go for? xushi Linux - Hardware 2 09-03-2005 09:55 AM
I want to veiw my friends webcam, im using Lycoris, how do i c his webcam? CaffeinatedGamer Linux - Newbie 10 06-07-2005 08:23 PM
Webcam robhargreaves Linux - Hardware 2 05-02-2004 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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