[GEM-dev] unicap?
IOhannes m zmoelnig
zmoelnig at iem.at
Wed Jan 12 09:49:03 CET 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2011-01-11 21:03, kubro bubro wrote:
> everything seems to be working, expect video input.
>
> after creating [pix_video]
> [pix_video]: backend #0='v4l2' : v4l2 analog
> [pix_video]: backend #1='v4l' : v4l analog
> [pix_video]: backend #2='dv4l' : dv4l dv
> [pix_video]: backend #3='dc1394' : dc1394 iidc
cool
>
> with message "enummerate" i got
> info: devices 1
> info: device /dev/fw1 dv4l
which means that Gem found one device named "/dev/fw1", and it's using
the dv4l backend.
>
> but with "device 3" i got
why do you use "device 3"?
> error: videoDC1394: no cameras found
this has several reasons:
#1: enumerate told you that there is exactly 1 device; you requested
device#3, which is obviously not there.
#2: according to what enumerate told you, the 1 device it found is a
DV4L device (that is: an ordinary "dv" device, rather than a IIDC device)
>
> i ran puredata with root privileges
>
no need for that.
just make sure that you have read/write perms on the devices you want to
access.
actually i would highly encourage you to _not_ run pd as root, and
instead change the perms for /dev/fw1 so you can access it (for testing
a quick "sudo chmod a+rw /dev/fw1" should be enough, but on the long run
you should read the udev documentation and make sure that devices
created for your camera are g+rw and belong to a group you are member of
(e.g. "video"))
>
>
so the main obstacle you are facing seems to be how to tell Gem to open
the correct device.
since "enumerate" tells you, that there is exactly one available device
named "/dev/fw1", i would _strongly_ suggest that you try
[device /dev/fw1(
given that this is the third time in this thread that i hint to you that
the proper device name could be "/dev/fw1", i would suggest you try it :-)
fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0tav8ACgkQkX2Xpv6ydvSz7gCgigi4bNaxhUMfJAcqi6itmMm1
BHIAmwWCyOTjJeL9jmZziBbQZ/aZbZnb
=tGE6
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20110112/bf610f6f/attachment-0001.bin>
More information about the GEM-dev
mailing list