LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   webcam... help please (https://www.linuxquestions.org/questions/linux-hardware-18/webcam-help-please-266677/)

Lleb_KCir 12-15-2004 10:01 AM

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.

Lleb_KCir 12-15-2004 03:32 PM

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?

Lleb_KCir 12-15-2004 11:46 PM

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.

Lleb_KCir 12-16-2004 10:36 PM

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.

Lleb_KCir 12-17-2004 02:11 PM

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.

Lleb_KCir 12-18-2004 09:20 PM

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.

Lleb_KCir 12-19-2004 12:12 PM

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?

Lleb_KCir 12-19-2004 09:04 PM

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.

Hangdog42 12-30-2004 11:37 AM

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.

Lleb_KCir 12-30-2004 02:57 PM

thanks, ill check that out when i get home. glad someone got something out of it.

dimgr 12-30-2004 03:14 PM

modprobe qc-usb ?

Lleb_KCir 12-30-2004 05:24 PM

Code:

laptop:~# modprobe qc-usb
modprobe: Can't locate module qc-usb


ka9qlq 12-31-2004 11:49 PM

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

dimgr 01-01-2005 12:39 AM

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:)

ka9qlq 01-01-2005 09:57 AM

Cool, does it list webcams?
Alvin

Mr Smokin Joe 04-18-2005 01:52 PM

Quote:

that worked for my creative notebook camera

download this package
http://www.kanotix.com/files/driver...9-kanotix-8.zip
Was wondering what happened to the link. I also have a Creative Labs Notebook Webcame and am trying to install it on my SBC. I just saw this thread today, and fortunately it's exactly what I needed to look for. I'll check out some of the processes you did and see where that takes me.


Joe


All times are GMT -5. The time now is 04:04 AM.