Crates.io | firewire-bebob-protocols |
lib.rs | firewire-bebob-protocols |
version | 0.2.0 |
source | src |
created_at | 2022-08-05 06:17:40.480141 |
updated_at | 2023-04-18 11:42:11.449168 |
description | Implementation of protocols defined by BridgeCo. AG and application vendors for DM1000, DM1100, and DM1500 ASICs with its BridgeCo. Enhanced Break Out Box (BeBoB) solution. |
homepage | https://alsa-project.github.io/gobject-introspection-docs/ |
repository | https://github.com/alsa-project/snd-firewire-ctl-services |
max_upload_size | |
id | 639167 |
size | 496,497 |
The library crate includes implementation of protocol for BridgeCo. Enhanced Break Out Box (BeBoB) solution and application devices connected to IEEE 1394 bus.
BridgeCo. AG was founded in 2000 and seems to be reorganized around in 2005. The subsidiary for professional audio was sold in 2009 and formed ArchWave AG. BridgeCo itself was acquired by SMSC in 2011. Archwave AG was acquired by Riedel Communications GmbH in 2018.
BridgeCo (and ArchWave) provided DM1000 (launched in 2002), DM1000E (launched in 2004), DM1100 (launched in 2005), and DM1500 (launched in 2005) ASICs with software development kit (SDK) for audio and music units in IEEE 1394 bus, as total solution called as "BridgeCo Enhanced Break Out Box (BeBoB)". The unit allows the other nodes in IEEE 1394 bus to configure itself by operations defined by IEC 61883-1/6, some AV/C general commands as well as extensible vendor unique commands.
The solution was widely applied by hardware vendors for their products to record/playback audio as well as receive/transmit MIDI messages.
Linux sound subsystem, a.k.a ALSA, provides loadable kernel module (snd-bebob
) as driver for
the units. The driver maintains isochronous packet streams for audio frames and MIDI messages
since the other ASIC functions such as digital signal processing can be operated by user space
application directly. The crate is supplemental implementation for runtime program to satisfy
the purpose.
This is the list of dependent crates.
The glib and hinawa crates require some underlying system libraries
The functions of Linux FireWire subsystem is called via hinawa crate and library to communicate with node in IEEE 1394 bus, thus the crate is not portable.
This is the list of models currently supported.
The crate is developed and maintained by ALSA GObject Introspection team for snd-firewire-ctl-services project, and not stable yet. The included Rust elements are likely changed without backward compatibility.
The crate is released under GNU Lesser General Public License v3.0 or later with respect to clause for reverse engineering.
If finding issue, please file it in https://github.com/alsa-project/snd-firewire-ctl-services/.
The implementation of protocol is developed by the way of reverse engineering; sniffing IEEE 1394 bus to which target device is connected, and analysis of the communication between the device and driver provided by hardware vendor. It's natural not to work with your device since developer worked with blackbox.
Some programs are available under 'src/bin' directory.
This program retrieves information from node of target device by protocol defined by BridgeCo, then print the information.
Without any command line argument, it prints help message and exit.
$ cargo run --bin bco-bootloader-info
Usage:
bco-bootloader-info CDEV
where:
CDEV: The path to special file of firewire character device, typically '/dev/fw1'.
Please run with an argument for firewire character device:
$ cargo run --bin bco-bootloader-info /dev/fw1
...