Thread: Announcing libavc1394 and librom1394 for GNU/Linux IEEE 1394
Brought to you by:
aeb,
bencollins
From: Dan D. <dde...@co...> - 2001-06-01 10:15:58
|
Based upon code from gscanbus, Kino, and dvcont, I have created libraries libavc1394 and librom1394. They are hosted at http://sourceforge.net/projects/libavc1394/. libavc1394 is a very limited implementation of the AV/C protocol specification. It includes functionality currently required by gscanbus, Kino, and dvcont. The new Kino v0.42 has been ported to use it as well as dvcont. dvcont is now a part of libavc1394 (in the test directory) thanks to Jason Howard. librom1394 provides a simple API to the IEEE 1394 CSR Configuration ROM in all 1394 devices. It reads the directory in each device to get a textual description of a device and to identify the type of device (AV/C, Digital Camera, SBP-2, etc.) In order to properly read the description of the GNU/Linux IEEE 1394 OHCI driver, you need the latest ohci1394.c from CVS, which repairs the directory structure of its rom. If you do not have it, you can expect to receive warnings on stderr "invalid number of textual leaves." Included is a test program called testrom that provides a full report on all the devices on your 1394 bus. However, bear in mind, that the ohci1394 rom always reports a specific TI ohci chipset that is currently hardcoded. We are considering alternative means for a proper description. +-DRD-+ |