I can enumerate all the cameras according to their libdc1394 GUIDs, but my
application requires it to be independent of this. 2 cameras will be used
on 2 of the physical connectors, and each camera does different things.
When other users use the program, it would require them to enumerate their
cameras, and perhaps recompile the code using the GUIDs of their cameras, or
maybe have their GUIDs be put into a file where the program can access it
upon startup.
It would be much easier and simpler to tell the users of my program to put
camera A on connector 1 and camera B on connector 2. That way, they
wouldn't have to bother with finding and saving the GUIDs of the cameras
they are using, and I wouldn't need to know anything about the cameras they
are using as long as they are compatible. The only thing the users would
need to know is which camera goes with which connector.
>From: Dan Dennedy <dan@dennedy.org>
>To: Steve Kinneberg <kberg@speakeasy.net>
>CC: pat leang <pkleang@hotmail.com>, linux1394-user
><linux1394-user@lists.sourceforge.net>
>Subject: Re: getting 1394 port information
>Date: Sun, 01 Feb 2004 15:14:23 -0500
>
>On Sun, 2004-02-01 at 13:08, Steve Kinneberg wrote:
> > On Sun, 2004-02-01 at 01:46, pat leang wrote:
> > > How would I find out if it is a multi-port card? I'm don't quite
>undestand
> > > the concept of a multi-port card. Here is a link to the type of card
>I
> > > have.
> >
> > I think Dan is referring to cards with more than one link layer and
> > physical layer chip sets and the connectors are split between them.
>
>Correct, and you can cat /proc/bus/ieee1394/devices and see if more than
>Linux OHCI node shows.
>
> > > http://www.motionio.com/
> > > As you can see, there are 3 physical ieee1394 connectors. If I
>connect a
>
>This does not look like a multiport card.
>
> > > camera to one of the physical connectors, is it possible to know from
>which
> > > connector the camera is connected to? I use the libdc1394 library
>routines,
> > > but it doesn't seem possible.
> >
> > It really shouldn't matter which connector your camera is connected to.
> > All three connectors are interchangeable. If you have more than one
> > camera and want to keep track of which one is which, it is much better
> > to use the GUID number rather than which connector the device is
> > connected to.
>
>Correct, and in libdc1394 GUID is memnber euid_64 of dc1394_camerinfo
>along with textual descriptions vendor and model. So, you can enumerate
>the cameras in a menu and then let the user pick.
>
>
><< signature.asc >>
_________________________________________________________________
There are now three new levels of MSN Hotmail Extra Storage! Learn more.
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Mon Feb 2 19:03:40 2004
This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:46 CEST