libraw1394 fork
a59532c835
On 10 Jan, David Moore wrote: > On Sat, 2009-01-10 at 19:28 +0100, Stefan Richter wrote: >> @@ -161,14 +160,16 @@ scan_devices(fw_handle_t handle) ... >> + for (j = 0; j < i; j++) >> + if (ports[j].card == get_info.card) >> + continue; >> + > > That continue statement doesn't do what you intended I think. From: Stefan Richter <stefanr@s5r6.in-berlin.de> Subject: [PATCH] Work without permission to access local node's /dev/fw* Fix for juju backend: libraw1394 required write permission to the character device file of the local node(s) in order to enumerate cards and for a number of other operations. This forced users to either run applications like dvgrab and kino with elevated privileges, or to configure write permission for all /dev/fw* or at least for local nodes' /dev/fw*. We now use the first accessible file which was found for each card for as many tasks as possible, instead of the local node's file. This allows distributors or admins to implement stricter access rights (default off, e.g. only on for AV/C and IIDC devices) without sacrificing functionality of said class of applications. Access to the local node is now only required by low-level tools like gscanbus. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Dan Dennedy <dan@dennedy.org> |
||
---|---|---|
debian | ||
doc | ||
src | ||
tools | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
configure.ac | ||
COPYING.LIB | ||
INSTALL | ||
libraw1394.pc.in | ||
libraw1394.spec.in | ||
Makefile.am | ||
NEWS | ||
README |
libraw1394 ========== 1. About libraw1394 libraw1394 is the only supported interface to the kernel side raw1394 of the Linux IEEE-1394 subsystem, which provides direct access to the connected 1394 buses to user space. Through libraw1394/raw1394, applications can directly send to and receive from other nodes without requiring a kernel driver for the protocol in question. The reason for making a library the interface to the kernel is to avoid a program dependancy on the kernel version, which would hinder development and optimization of raw1394. If development changed the protocol and made it incompatible with previous versions only the libraw1394 has to be upgraded to match the kernel version (instead of all applications). 2. Copyleft libraw1394 itself is licensed under the Lesser General Public License (short LGPL, see file COPYING.LIB in the source distribution). Other files in the source archives not belonging to but being part of the build procedure of libraw1394 are under their own licenses, as stated at the top of the individual files. 3. API documentation Finally there is something, in the doc subdirectory. The file is libraw1394.sgml (it's Docbook format), and there are preformatted PostScript and HTML available. This documentation is not complete yet. 4. Multithreading This library should be multithreadable with the restriction that one raw1394handle_t may be used only within a single thread. Multiple threads operating on the same handle would royally mess up the kernel-user protocol. Simply use separate handles for each thread in which you need to use libraw1394. 5. Pkg-config The library comes with a pkg-config .pc file, so you can check for libraw1394 and its version in your configure script. For example, here is how to use the autoconf macro: PKG_CHECK_MODULES(LIBRAW1394, libraw1394 >= 1.1.0) This macro sets the variables LIBRAW1394_CFLAGS and LIBRAW1394_LIBS. You have to include those into your build variables so that the build process correctly links with libraw1394. 6. Maintainer Maintainer of libraw1394 is currently Dan Dennedy. Send suggestions, bug reports and fixes to linux1394-devel@lists.sourceforge.net. See the file AUTHORS for a complete list of contributors to libraw1394. Visit http://www.linux1394.org/ for more information or to see what is new.