LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-26-2010, 12:04 PM   #1
phodopus
Member
 
Registered: Aug 2006
Location: Belgium
Distribution: Slackware 13.0
Posts: 62

Rep: Reputation: 15
Webcam problem: It starts working when plugged in, but stops when it's enabled


Hello all,

My system: Slackware 13.0, 512MB RAM, x86

This is the webcam I'm trying to get working:

Quote:
Originally Posted by lsusb
2460 Pixart Imaging, Inc. Q-TEC WEBCAM 100
This is the problem:

When I plug the webcam in (usb), the led starts to shine, indicating that it is filming. When I use a program (XSane for example) and click the 'scan' button, the led turns off! It seems that the cam works when it shouldn't, and vice versa.

Any suggestions?

Last edited by phodopus; 08-26-2010 at 12:06 PM.
 
Old 08-26-2010, 01:54 PM   #2
phodopus
Member
 
Registered: Aug 2006
Location: Belgium
Distribution: Slackware 13.0
Posts: 62

Original Poster
Rep: Reputation: 15
Quote:
xxx@xxxxx:# spcagui
SpcaGui version: 0.3.5 date: 18 September 2005
video device /dev/video0
Camera found: CIF Single Chip
VIDIOCGPICT brightnes=1028 hue=0 color=0 contrast=0 whiteness=0depth=8 palette=0
Bridge found: pac207
Unable to find a StreamId !!
StreamId: 6 Unknow Camera
try palette 15 depth 12
Damned second try fail
try palette 3 depth 16
Damned second try fail
try palette 4 depth 24
Damned second try fail
try palette 5 depth 32
Damned second try fail
probe size in
skip size 640 x 480
skip size 384 x 288
Available Resolutions width 352 heigth 288
Available Resolutions width 320 heigth 240
Available Resolutions width 192 heigth 144
Available Resolutions width 176 heigth 144
Available Resolutions width 160 heigth 120
grabbing method default MMAP asked
VIDIOCGMBUF size 409600 frames 4 offets[0]=0 offsets[1]=102400
VIDIOCGPICT brightnes=1028 hue=0 color=0 contrast=0 whiteness=0depth=8 palette=0
VIDIOCGPICT brightnes=1028 hue=0 color=0 contrast=0 whiteness=0depth=8 palette=0
VIDIOCGPICT brightnes=1028 hue=0 color=0 contrast=0 whiteness=0depth=8 palette=0
VIDIOCSPICT brightnes=1028 hue=0 color=0 contrast=0 whiteness=0depth=65535 palette=0
cvsync err
: Invalid argument
ByeBye !!
So the cam is installed, and should work.. The odd thing is that is constantly works, and when you ask it to work, the led goes out.. :s Looks like 'working' and 'not-working' mode are switched, like a misconfigured boolean somewhere..

Any ideas?
 
Old 08-26-2010, 02:27 PM   #3
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
I have spent much time trying to get my USB attached webcam working in Linux - I have a low end Trust device which lsusb shows as "Bus 003 Device 002: ID 093a:2468 Pixart Imaging, Inc. SoC PC-Camera". In the end the only way I got it working was by using Vlc with it's "Media->Open Capture device" which opens the camera and grabs the output. It may be worth trying this - although your "on being off" problems sound strange and I have not experienced them.
 
Old 08-26-2010, 03:17 PM   #4
phodopus
Member
 
Registered: Aug 2006
Location: Belgium
Distribution: Slackware 13.0
Posts: 62

Original Poster
Rep: Reputation: 15
@Bgeddy: I've tried you suggestion, with no result. Thanks though.

Any other suggestions? Is it possible that there is a config file somewhere? Changing 'true' into 'false' in some sort of 'toggle on/off' section could fix it...
 
Old 08-26-2010, 04:27 PM   #5
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
I've been playing around with my setup some more and discovered some tools I have installed that I had forgotten about - they are part of standard Slackware and the package is called v4l-utils-0.8.0-x86_64-1 on a 64bit system. This contains the utilities v4l2-dbf,qv4l2,v4l2-compliance,andv4l2-ctl amongst others which may help you. I have just discovered that qv4l2 captures my webcam just fine. One of these utilities might give you settings to pass to the camera module or perhaps show how it is currently set. Other than that I'm afraid I'm a bit stumped with suggestions so hopefully someone else can be more helpful.
 
Old 08-27-2010, 03:01 AM   #6
phodopus
Member
 
Registered: Aug 2006
Location: Belgium
Distribution: Slackware 13.0
Posts: 62

Original Poster
Rep: Reputation: 15
@bgeddy: Thanks for you reply, but the fact is that my cam already work, just in the opposite way... So I don't think it's a driver related problem. Just need to figure out how to switch the on/off mode.
 
  


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
__attribute__ ((weak)) suddenly stops working / starts working ta0kira Programming 3 08-15-2007 11:31 AM
httpd starts and stops directly RienParhan Linux - Server 1 02-16-2007 01:04 PM
Plugged webcam breaks sound i/o Cesar Ocasio Linux - Hardware 3 10-13-2004 05:38 PM
Postfix stops as soon as it starts jonlake Fedora 3 06-19-2004 10:04 AM
Once Nic card is enabled...xwindows stops working? AnthonyM Linux - General 3 02-28-2003 07:33 PM

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

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