VectorLinux
October 23, 2014, 06:06:36 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1] 2
  Print  
Author Topic: Need help installing webcam. Total linux newb  (Read 5494 times)
XF59
Member
*
Posts: 7


« on: December 04, 2008, 05:12:38 pm »

Ok, I have the gspcav1-20071224.tar.gz file on my desktop.
I just switched over from windows XP like 2 days ago and this is
my first tar.gz file that I have to install because I want to use
my Logitech QuickCam Communicate STX.
I tried looking for ways to install it but nothing helps me.
I need a step-by-step way to install the tar.gz, because I have never done it before.
If anybody could help me that'd be great.
Logged
hata_ph
Packager
Vectorian
****
Posts: 3258


-- Just being myself --


« Reply #1 on: December 04, 2008, 05:35:31 pm »

pls post your lspci, lsusb and lsmod output...
what version of VL u are using?
Logged
XF59
Member
*
Posts: 7


« Reply #2 on: December 04, 2008, 05:42:40 pm »

I installed Vector Linux Standard Live 5.9 to my hard drive
Intel P4 1.3ghz 128mb ram
1gb swap


vector:/~
xarax:$ lspci
bash: lspci: command not found
vector:/~
xarax:$ lsusb
bash: lsusb: command not found
vector:/~
xarax:$ lsmod
Module                  Size  Used by
freq_table              4768  0
snd_seq_midi            7296  0
i915                   23296  0
drm                    74388  1 i915
snd_seq_dummy           3716  0
snd_seq_oss            32000  0
snd_seq_midi_event      7168  2 snd_seq_midi,snd_seq_oss
snd_seq                48624  6 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            38144  0
snd_mixer_oss          15360  1 snd_pcm_oss
parport_pc             37092  0
snd_usb_audio          79616  0
ns558                   4736  0
rtc_cmos                8096  0
rtc_core               14472  1 rtc_cmos
snd_usb_lib            16000  1 snd_usb_audio
rtc_lib                 3712  1 rtc_core
parport                32072  1 parport_pc
gameport               12296  2 ns558
snd_mpu401              8360  0
snd_mpu401_uart         7808  1 snd_mpu401
snd_rawmidi            20352  3 snd_seq_midi,snd_usb_lib,snd_mpu401_uart
snd_seq_device          7692  5 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
8139too                23168  0
snd_hwdep               7812  1 snd_usb_audio
mii                     5504  1 8139too
snd_intel8x0           29980  4
snd_ac97_codec         98084  1 snd_intel8x0
ac97_bus                2944  1 snd_ac97_codec
firewire_ohci          16000  0
snd_pcm                67844  5 snd_pcm_oss,snd_usb_audio,snd_intel8x0,snd_ac97_codec
firewire_core          36928  1 firewire_ohci
crc_itu_t               2816  1 firewire_core
snd_timer              20356  3 snd_seq,snd_pcm
snd                    46628  22 snd_seq_dummy,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_usb_lib,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_hwdep,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               7008  1 snd
ohci1394               32432  0
ieee1394               82360  1 ohci1394
i2c_i801                8592  0
snd_page_alloc          8712  2 snd_intel8x0,snd_pcm
i2c_core               20992  1 i2c_i801
serio_raw               6276  0
intel_agp              22420  1
agpgart                28108  2 drm,intel_agp
iTCO_wdt                9640  0
shpchp                 30228  0
pci_hotplug            28616  1 shpchp
evdev                   8704  0
vector:/~
xarax:$
Logged
hata_ph
Packager
Vectorian
****
Posts: 3258


-- Just being myself --


« Reply #3 on: December 04, 2008, 08:46:11 pm »

There is no output for lspci and lsusb
Are you running lspci and lsusb as root?
if not pls try to run it........
Logged
GrannyGeek
Packager
Vectorian
****
Posts: 2567


« Reply #4 on: December 04, 2008, 11:51:30 pm »

Ok, I have the gspcav1-20071224.tar.gz file on my desktop.
[snip]
I tried looking for ways to install it but nothing helps me.
I need a step-by-step way to install the tar.gz, because I have never done it before.
If anybody could help me that'd be great.

A tar.gz file is a compressed container, like a .zip file in Windows. You need to uncompress and get the files out of the container. I assume the .tar.gz file is in a directory where you have write privileges, like your home directory.

I'm not good at remembering command line commands, so I'd use Midnight Commander (mc at a command prompt). Highlight the file, press the F2 function key, and have it Unpack selected file to subdir. Then go into that subdirectory and see if there's an installation script (.sh extension). If so, su to root and at a prompt type
./nameofscript.sh
(using the actual name of the .sh file).

Chances are high that there is no installation script. If there's a .bin file, that's a binary file that should install the program. As root you need to make the .bin file executable and then run it just like the script:
./nameoffile.bin

However, what you have may be source files that you will have to compile in order to install the program. I won't go into how to do that unless you actually have source files. So let us know if there's a .sh script or a .bin when you unpack the .tar.gz.
--GrannyGeek
« Last Edit: December 04, 2008, 11:53:31 pm by GrannyGeek » Logged

Registered Linux User #397786

Happily running VL 7 Gold on  a Sempron LE-1300 desktop (2.3 GHz), 4 G RAM,  GeForce 6150 SE onboard graphics and on an HP Pavilion dv7 i7, 6 gigs, Intel 2nd Generation Integrated Graphics Controller
XF59
Member
*
Posts: 7


« Reply #5 on: December 05, 2008, 01:09:08 am »

root:# ./gspca_build

 FATAL you need to install the Kernel Source for your running kernel
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #6 on: December 05, 2008, 01:45:30 am »

As luck would have it I just finished making a flash tutorial for setting up a webcam.
(It's part of a project started on another thread.) I also use a communicate STX.

The tutorial is still in first-second draft catagory but I think it will help you out.

Give it some time to download, it is one of the bigger ones.

http://loonielistings.com/user_pic/VL6.0/Webcam/webcamtut.htm

Let me know how or if it works.  Your thoughts will help me with the tutorial.
Ken
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
wcs
Packager
Vectorian
****
Posts: 1144


« Reply #7 on: December 05, 2008, 02:46:35 am »

You need to install the kernel sources, so that the driver can compile.
It's always good to install the kernel sources during a VL installation, because you might want to install drivers later (unless you are very short on disk space).

The package is in the repositories, called kernel-src. Browse vectorlinux.osuosl.org, and choose veclinux-5.9, then it's in the kernels directory.

Download the sources for the appropriate kernel version you have. You can type "uname -a" in a terminal to see your kernel version. Then to install just type
Code:
su
(root password)
installpkg kernel-src-....
(type the first letters of the package and press tab to automatically get the whole package name).

Then you can go to the uncompressed directory of gspca and type (as root) ./gspca_build
It should work immediately.

Just make sure that your camera model is supported by gspca. You can see the list on their website.
To check the id of your product and match it with the models on the website, type "lsusb" or "usbview".

This process is going to be very simplified in VL 6, as the newer kernels come with the gspca driver.
Logged
XF59
Member
*
Posts: 7


« Reply #8 on: December 05, 2008, 07:42:45 am »

root:# ./gspca_build

 REMOVE the old module if present
ERROR: Module gspca does not exist in /proc/modules

 CLEAN gspca source tree
./gspca_build: line 21: make: command not found

 COMPILE gspca Please Wait ....!!

 INSTALL gspca in the kernel binary tree
./gspca_build: line 27: make: command not found

 LOAD gspca in memory
FATAL: Module gspca not found.

 PRINT COMPILATION MESSAGES if ERRORS look kgspca.err
./gspca_build: line 24: make: command not found
vector://home/xarax
root:# lspci
00:00.0 Host bridge: Intel Corporation 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 02)
00:01.0 PCI bridge: Intel Corporation 82850 850 (Tehama) Chipset AGP Bridge (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 04)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 04)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 04)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 04)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio Controller (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:02.0 FireWire (IEEE 1394): Texas Instruments TSB12LV26 IEEE-1394 Controller (Link)
02:0b.0 Communication controller: Intel Corporation 536EP Data Fax Modem
vector://home/xarax
root:# lsusb
Bus 002 Device 003: ID 093a:2510 Pixart Imaging, Inc.
Bus 002 Device 002: ID 046d:08d7 Logitech, Inc.
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000 
Bus 2 Device 3: ID 093a:2510 Pixart Imaging, Inc.
Bus 2 Device 1: ID 0000:0000 
Bus 2 Device 2: ID 046d:08d7 Logitech, Inc.
Bus 1 Device 1: ID 0000:0000 
Logged
wcs
Packager
Vectorian
****
Posts: 1144


« Reply #9 on: December 05, 2008, 10:32:52 am »

make command not found  Huh  Huh

Do you have make in your system?
Did you tell the VL installer to install dev-tools?

If you didn't install the dev tools, it's not possible to compile stuff... such as drivers.

You can go to gslapt and install both make and gcc from the repositories, but there might be other stuff that's needed....
Logged
XF59
Member
*
Posts: 7


« Reply #10 on: December 05, 2008, 10:59:34 am »

idk, i let it do it's thing from the live CD.
I downloaded the 5.9 live standard final
there were no options for me on install afaik
Logged
XF59
Member
*
Posts: 7


« Reply #11 on: December 05, 2008, 11:24:37 am »

alright i installed a bunch of crap from gslapt, the webcam is working, i just gotta find a decent webcam program now. camelot is not cutting it. the output is just horrible!
thanks for all your help guys =)
got any recommendations for a webcam program that will take jpegs from my cam?
Logged
wcs
Packager
Vectorian
****
Posts: 1144


« Reply #12 on: December 05, 2008, 11:35:41 am »

I see... i have never tried the live cd install.
If you happen to have the time, you would probably be better off with a "regular" install (the non-live versions).

Anyway, there might be several programs for the webcam.
One done by the same dude that did the gspca driver is spca_gui .

But you would probably need to compile it as well, and the interface is really just command line.

Somebody else might come up with suggestions, as I've never used these programs..
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #13 on: December 05, 2008, 01:44:16 pm »

I use wxcam.

You can find it at www.slacky.eu, you will need to download and install it's dependencies as well.

Sorry, you didn't find the tutorial usefull.

http://loonielistings.com/user_pic/VL6.0/Webcam/webcamtut.htm

but, it's all in there.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
XF59
Member
*
Posts: 7


« Reply #14 on: December 05, 2008, 02:06:46 pm »

oh, tbh i didn't read the tut.
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!