LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-08-2011, 04:28 AM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Rep: Reputation: 55
Wink Webcam setup questions


Hello Slackers! Is there a native slackware64-13.37, Xfce usb webcam viewer?

Following are device stats:
Code:
:~#dmesg
[ 2.115182] usb 5-1: new full speed USB device using uhci_hcd and address 2
[ 2.299164] loop: module loaded
[ 2.397318] usb 5-1: New USB device found, idVendor=0553, idProduct=0202
[ 2.402564] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.407888] usb 5-1: Product: USB Dual-mode Camera
[ 2.413291] usb 5-1: Manufacturer: STMicroelectronics
[ 2.487758] usb 2-1.1: new low speed USB device using uhci_hcd and
address 3
[ 2.619199] udev[1344]: starting version 165
[ 2.649808] WARNING! power/level is deprecated; use power/control*** instead
[ 3.120795] Linux video capture interface: v2.00
input1
[ 4.246319] stv0680: Camera supports CIF mode
[ 4.253426] stv0680: Camera supports QCIF mode
[ 4.260382] stv0680: Firmware rev is 1.0
[ 4.267197] stv0680: ASIC rev is 7.6
[ 4.273885] stv0680: Sensor ID is 410
[ 4.294473] gspca: video0 created
[ 4.301132] usbcore: registered new interface driver stv0680
[ 4.470379] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 19 (level, low) IRQ 19

:~# lsmod | grep gspca
gspca_stv0680           5053  0 
gspca_main             24488  1 gspca_stv0680
videodev               64912  1 gspca_main

~# lsmod
gspca_stv0680           5053  0
gspca_main             24488  1 gspca_stv0680
videodev               64912  1 gspca_main
v4l2_compat_ioctl32     7200  1 videodev
video                  11411  1 nouveau
Regular digital camera loads pics to geekie no problem. Not sure how to test webcam or best utilize driver and modules associated with it?
Clicked on Xsane- (no i don't have a scanner), but USB Dual-Mode Camera appeared in across 'Xsane's title bar'. So I searched /usr/bin till I found xcam - with no useful documentation to configure or use it; Just fired it up.
Xcam Device Options show up as "v4l:/dev/video0". For xcam to capture images you must keep pressing play button?? Think xcam is part of Xsane making webcam function as a camera? But fps & av display on bottom of xcam boarder?
Need clarification & suggestions for webcam viewer.
Do I need 32bit lib to make use of v4l2 utilities? Documentation in slackware forum & google for webcam setup refer to drivers & modules that are comparatively old to newer OS lib versions. More of a headache trying to piece info across linux platforms. Is v4l2 backward compatible? Thank you
 
Old 11-08-2011, 04:32 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
Im not a slackware user, so I cant speak Slack specific.

But cheese and camorama are two webcam viewers.

I got them both to work with 64bit v4l. But IIRC i had to install the 32bit v4l libraries in order to get skype to install on Fedora 15.
 
1 members found this post helpful.
Old 11-08-2011, 04:54 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
guvcview (http://guvcview.sourceforge.net/)
I maintain a SBo package for this http://slackbuilds.org/repository/13...edia/guvcview/
 
2 members found this post helpful.
Old 11-08-2011, 06:54 AM   #4
pgeek
LQ Newbie
 
Registered: Apr 2011
Location: Germany
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by willysr View Post
The homepage link on the SBo package site is broken.
 
Old 11-08-2011, 06:15 PM   #5
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Original Poster
Rep: Reputation: 55
Thank you, Willsyr you SBo include dependencies? lol guvciew looks good.

Anyone look at Xcam? Question: if get error message:"Webcam could not open invalid argument". Is there a config file for these drivers and modules that can be tweaked?? Where are they in slackware? Something like:
Code:
~:$cd /sys/module/gspca/parameters
Found some code for v4l2 utiliies here:http://code.google.com/p/v4lctrl/sou...uct-v4l2.c?r=3Maybe someone can look at this and report back to clarify for mere mortals Is this to provide front-end functions or utility for webcam drivers?

Last edited by NightSky; 11-08-2011 at 06:42 PM.
 
Old 11-09-2011, 03:01 PM   #6
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Rep: Reputation: 119Reputation: 119
alternatively you could use
Code:
mplayer tv:// -tv driver=v4l2:width=640:device=/dev/video0 -really-quiet
ymmv
 
1 members found this post helpful.
Old 11-09-2011, 04:50 PM   #7
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 294

Rep: Reputation: 39
You can also try wxcam.
 
Old 11-10-2011, 08:06 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,351
Blog Entries: 28

Rep: Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147
I installed the guvcview Slackbuild today (32-bit Dell 1545n). For it to compile, I had first to install the portaudio SlackBuild.

Then it worked like a charm. (Aside: Thanks, willysr.)
 
Old 11-14-2011, 10:59 PM   #9
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Original Poster
Rep: Reputation: 55
Martinus2, i don't have v4l2. So I will build ffmpeg because it will satisfy dependencies for multiple multimedia apps. Just one question - Alien has the latest ffmpeg-0.8.6 while SlackBuilds.org has ffmpeg-0.6.1. Downloaded all the dependencies from .SlackBuild but am wondering if I can use the latest ver. ffmpeg. Seems there were many bug fixes and security fixes? Alien's and SlackBuilds' dependencies appear the same except slackbuilds have added patches - I think. In any case thank you. Have to take closer look at the build scripts.
 
Old 11-15-2011, 03:38 PM   #10
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Original Poster
Rep: Reputation: 55
Can I use Alien's latest ffmpeg-0.8.6 + source with SlackBuilds.org ffmpeg-0.6.1 build script and dependency packages?
 
Old 11-16-2011, 02:04 PM   #11
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by NightSky View Post
Martinus2, i don't have v4l2.
if you have a kernel new enough (like the distro kernel) you do have it. The kernel option is simply called "video for linux" but it contains the v4l2 API...
 
  


Reply



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
Sonix sn9c102 webcam setup KingPhillius Linux - Hardware 14 10-07-2007 01:41 PM
Creative nx ultra webcam setup stefane321 SUSE / openSUSE 24 10-03-2005 07:01 PM
Newbie general debconf / webcam questions nobodyhere Linux - Hardware 2 08-13-2005 06:25 AM
Few installation questions (RPM, Java, Webcam)... sbogus Linux - Newbie 11 06-11-2004 04:51 AM
webCAM setup juagut Linux - General 0 11-18-2001 10:24 PM

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

All times are GMT -5. The time now is 08:39 PM.

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