LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-30-2005, 01:09 PM   #1
fackamato
Member
 
Registered: Jul 2003
Posts: 34

Rep: Reputation: 15
webcam issues


Hi, I'm having some troubles with the webcam program. Here's the config:

[grab]
device = /dev/video1
text = "webcam %Y-%m-%d %H:%M:%S"

fg_red = 255
fg_green = 255
fg_blue = 255
width = 320
height = 240
delay = 3
wait = 0
input = ZC301-2
norm = pal
rotate = 0
top = 0
left = 0
bottom = -1
right = -1
quality = 75
trigger = 0
once = 0

[ftp]
host = localhost
user = fackamato
pass = password
dir = /home/fackamato/www/webcam
file = webcam.jpg
tmp = uploading.jpg
passive = 0
debug = 0
auto = 0
local = 1
ssh = 0

And here's what happens:

fackamato@fackamato:~/temp/camE-1.9 $ webcam
reading config file: /home/fackamato/.webcamrc
invalid input: ZC301-2

And running webcamd says:

fackamato@fackamato:~/temp/camE-1.9 $ webcamd start
Configuration file found
webcamd run, pictures are taken every 5 secondes
mv: kan inte ta status på "/home/fackamato/.webcamd/pre-webcam.jpg": Filen eller katalogen finns inte
mv: kan inte ta status på "/home/fackamato/.webcamd/webcam.jpg": Filen eller katalogen finns inte
config: invalid value for input: Television
valid choices for "input": "ZC301-2
"
ioctl: VIDIOCMCAPTURE(frame=0;height=200;width=266;format =4): Invalid argument

Any idea? This is very strange. :/

lsusb: Bus 003 Device 005: ID 046d:08a2 Logitech, Inc.
lsmod | grep usb: usbcore 119480 15 spca5xx,cpia_usb,pwc,stv680,dsbr100,ultracam,vicam ,ibmcam,usbvideo,snd_usb_audio,snd_usb_lib,usbhid, ehci_hcd,uhci_hcd

fackamato@fackamato:~/Desktop $ v4lctl -c /dev/video1 list
config: invalid value for input: Television
valid choices for "input": "ZC301-2
"
attribute | type | current | default | comment
-----------+--------+---------+---------+-------------------------------------
input | choice | (null) | ZC301-2 | ZC301-2

norm | choice | PAL | PAL | PAL NTSC SECAM AUTO
bright | int | 32768 | 0 | range is 0 => 65535
hue | int | 32767 | 0 | range is 0 => 65535
color | int | 32767 | 0 | range is 0 => 65535
contrast | int | 32768 | 0 | range is 0 => 65535


Any ideas?

Kind regards, Mathias
 
Old 05-31-2005, 11:48 PM   #2
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
I'd only be guessing, but can you try putting ZC301-2 in quotes:

eg.
input = "ZC301-2"

Good luck.
 
Old 06-01-2005, 06:05 AM   #3
fackamato
Member
 
Registered: Jul 2003
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by uberNUT69
I'd only be guessing, but can you try putting ZC301-2 in quotes:

eg.
input = "ZC301-2"

Good luck.
Sorry, I've tried that with no success. As you can see above, it looks like that the ZC301-2 is also fed with a new line, so there must be an error somewhere in the source code?
 
Old 06-01-2005, 10:36 PM   #4
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Hmm ... yes I suggested the quotes because of the newline.
How about taking the input line out of the config,
or changing it to null?
 
  


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/Novell 4 11-29-2006 12:09 PM
Modem (Smartlink PCI) and webcam issues GPLed Linux - Hardware 2 10-23-2005 10:33 PM
webcam issues eegerda Linux - Hardware 1 10-09-2005 01:00 PM
I want to veiw my friends webcam, im using Lycoris, how do i c his webcam? CaffeinatedGamer Linux - Newbie 10 06-07-2005 07:23 PM
10.1 Issues. Wine, webcam,mozilla..... Maintech Mandriva 4 11-18-2004 10:45 PM


All times are GMT -5. The time now is 09:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration