Page 1 of 2

Posted: Fri Oct 24, 2008 4:19 pm
by mooninite
I grabbed the Oct. 16th tarball of ZoneMinder 1.24.0 but I cannot get my Logitech Quickcam 9000 Pro working with it.

Code: Select all

$ sudo /usr/local/bin/zmu -d /dev/video -q -v
Error, failed to get channel 0 attributes: Invalid argument
I also get the same error from "zmc" in the syslog messages when I set it up as a monitor.

Is there a special switch for V4L2 support?

The camera works. I can use Skype, mjpg-streamer, or any other video program with the camera just fine.

Fedora 9 x86_64

Posted: Fri Oct 24, 2008 9:48 pm
by cordel
Use /dev/video0
/dev/video s just a symlink

Posted: Mon Oct 27, 2008 11:07 pm
by mooninite
cordel wrote:Use /dev/video0
/dev/video s just a symlink
Yes... I know it is a symlink. A symlink will function one-for-one the same as the real hard file.

Besides, using /dev/video0 in the command line makes no difference. Same error message.

Posted: Tue Oct 28, 2008 1:27 am
by cordel
mooninite wrote:
cordel wrote:Use /dev/video0
/dev/video s just a symlink
Yes... I know it is a symlink. A symlink will function one-for-one the same as the real hard file.

Besides, using /dev/video0 in the command line makes no difference. Same error message.
Okay if you say so.
Last time I checked, zmfix needed direct access to the actual device to change permissions as you can't change permissions on the device through a symlink, but what do I know?

Also please next time create a new thread under the appropriate topic and don't hijack a thread and take it off subject.

Thx

Posted: Tue Nov 04, 2008 5:25 pm
by mooninite
That's because a symlink DOESN'T USE permissions itself. Permissions of the hard file take precedent. You, in fact, know nothing about symlinks.

/dev/video0 had 666, rw-rw-rw-, Read write for all users, whatever method you can understand.

I didn't hi-jack ANY thread. It was about V4L2 support. My webcam *REQUIRES* V4L2 support. It won't work with V4L1. Zone Minder only has V4L1 support.

If you're going to be a jack ass, I'm going to erase Zone Minder from my machine. Good luck.

Posted: Tue Nov 04, 2008 5:39 pm
by linuxsense
mooninite wrote: If you're going to be a jack ass, I'm going to erase Zone Minder from my machine. Good luck.
Wow. What a threat.

Posted: Tue Nov 04, 2008 11:42 pm
by cordel
Take it how you wish, if you want to resort to name calling and never return that's fine too, your prerogative.
But I have found that the symlink as far as ZM is concerned does not translate correctly for what ever reason. I tried to research several years ago to no avail.
And yes the discussion was about implementing V4L2, Not troubleshooting your card, so it was digressing the topic of which was old, and my suggestion and splitting the topic was for you benefit to make it more visible under the topic of the version your using.

Posted: Wed Nov 05, 2008 5:05 pm
by Lee Sharp
Gee... I am sure Cordel really wants to help you now. I am not much interested either. I guess that Leaves Phil, or James Willson, and then you are just out of luck. Too bad you insulted the most helpful guy on the board first.

Posted: Wed Nov 05, 2008 5:18 pm
by coke
He did offer good luck, and he's leaving. I'd say that ended fairly positively. :)

Posted: Wed Nov 05, 2008 7:51 pm
by jameswilson
lol
id rather go with cordels theorys on it thanks.

Anyway

Posted: Thu Nov 06, 2008 9:38 pm
by cordel
I wish I had good theory on it :lol:
Here is what I do know:
The only difference from using a symlink is that a symlink has it's own inode and points to the full path to the file unlike a hardlink that has the inode of the file as it points to the inode.

What we have seen under no certain circumstances, The symlink does not work for the video device, which leaves us to wonder if something is trying to use the inode which gets lost using the symlink inode.

Posted: Thu Nov 13, 2008 4:08 pm
by blindvic
Hi!
Can you help me?
I think i have the same problem. Symptoms:

Code: Select all

zmu -d /dev/video0 -q -v 
Error, failed to get channel 0 attributes: Invalid argument
ID 046d:08ce Logitech, Inc. QuickCam Pro 5000
xawtv shows the video from the camera
Ubuntu 8.10

Posted: Fri Nov 14, 2008 8:18 pm
by blindvic

Posted: Fri Nov 14, 2008 9:04 pm
by linuxsense
blindvic wrote:Here is the screenshot
http://www.flickr.com/photos/32409114@N ... /?edited=1

Anyone?
ZM wont be able to access the device while it is being used by another process.

Posted: Sat Nov 15, 2008 10:45 am
by blindvic
Well, i just wanted to show that xawtv works.
But ZM doesn't, even there's no other program working with the device.

Code: Select all

#zmu -d /dev/video0 -q -v
Error, failed to get channel 0 attributes: Invalid argument