Skip to contentSkip to conversation

snd-firewire-ctl-services: Digidesign Digi-002R - missing control for 'Optical mode'

DISCUSSION [email protected] 2 participants 6 messages May 11 – May 13

lore
Share & tools
lore
#0 lore raw

I have noticed that 'snd-firewire-ctl-services' does not provide a control for switching the mode of the Optical connections, which can be either ADAT or S/PDIF. The Windows/Mac drivers let the user select the mode.

It is mentioned in the kernel source, but seemingly not exposed to the user:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/firewire/digi00x/digi00x-proc.c?h=v7.1-rc3#n34

Note, when 'Optical S/PDIF' is selected, the 'RCA S/PDIF' connectors are disabled.

I have the 002-Rack interface, and can assist with testing, Simon.

numid=1,iface=MIXER,name='clock-source'
; type=ENUMERATED,access=rw------,values=1,items=3 ; Item #0 'Internal'
; Item #1 'S/PDIF'
; Item #2 'ADAT'
: values=0
numid=3,iface=MIXER,name='external-clock-rate'
; type=ENUMERATED,access=rw--l---,values=1,items=5 ; Item #0 'N/A'
; Item #1 '44100'
; Item #2 '48000'
; Item #3 '88200'
; Item #4 '96000'
: values=0
numid=2,iface=MIXER,name='local-clock-rate'
; type=ENUMERATED,access=rw------,values=1,items=4 ; Item #0 '44100'
; Item #1 '48000'
; Item #2 '88200'
; Item #3 '96000'
: values=1
numid=7,iface=MIXER,name='metering'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=4,iface=MIXER,name='monitor-enable'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=5,iface=MIXER,name='monitor-source-gain'
; type=INTEGER,access=rw---RW-,values=18,min=0,max=128,step=1 : values=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
| dBminmax-min=-48.00dB,max=0.00dB
numid=6,iface=MIXER,name='monitor-source-gain',index=1
; type=INTEGER,access=rw---RW-,values=18,min=0,max=128,step=1 : values=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
| dBminmax-min=-48.00dB,max=0.00dB

#1 lore raw

Hi,

Quoted 4 lines · On Mon, May 11, 2026 at 06:14:19PM -0400, [email protected] wrote:

I have noticed that 'snd-firewire-ctl-services' does not provide a control for switching the mode of the Optical connections, which can be either ADAT or S/PDIF. The Windows/Mac drivers let the user select the mode.

Quoted 8 lines

It is mentioned in the kernel source, but seemingly not exposed to the user:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/firewire/digi00x/digi00x-proc.c?h=v7.1-rc3#n34

Note, when 'Optical S/PDIF' is selected, the 'RCA S/PDIF' connectors are disabled.

I have the 002-Rack interface, and can assist with testing, Simon.

Yes. The service program provides no ALSA control element set for this purpose, because Digi 002 differs from Digi 003 in how it selects the source of S/PDIF signals for audio data in IEEE 1394 isochronous packets sent to the host system.

In my understanding, when the Digi 002 detects S/PDIF signals at the optical input port, it automatically uses those signals for the packet and ignores the S/PDIF signals in the coaxial input port. In contrast, the Digi 003 allows the system software to select either the optical or coaxial input as the source of S/PDIF signals when both are available.

However, I may have misunderstood the hardware behavior. Please let me know if you observe any behavior that differs from my understanding above.

Thanks

Takashi Sakamoto

#2 lore raw
Quoted 5 lines · Takashi Sakamoto

Yes. The service program provides no ALSA control element set for this purpose, because Digi 002 differs from Digi 003 in how it selects the source of S/PDIF signals for audio data in IEEE 1394 isochronous packets sent to the host system.

I experimented some more, and was able to muddle through the Rust code to 'move' the control (from 003 protocol) to act on the 002. This showed that the 002R does actually support this function.

I found a couple of things:
1). Parameter is not saved unless the Jack server is stopped before making the change. I think that this is expected. --

simon@EliteBook:~/snd-firewire-ctl-services.github$ amixer -c 2 cset numid=8 'S/PDIF'
numid=8,iface=MIXER,name='optical-interface'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'ADAT'
  ; Item #1 'S/PDIF'
  : values=1
simon@EliteBook:~/snd-firewire-ctl-services.github$ amixer -c 2 cget numid=8
numid=8,iface=MIXER,name='optical-interface'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'ADAT'
  ; Item #1 'S/PDIF'
  : values=1
--

2). With 'loop backs' on the RCA and Optical ports I got all channels in 'normal/ADAT' mode, but in the 'S/PDIF' mode the path was re-assigned. I got nothing through channels 11..18 (normally ADAT/optical), instead only channels 9..10 passed audio - HOWEVER these are going over the optical fibre (not co-ax cable), unplug the fibre and this loop-back stops.

So in summary I think the existing code can be re-jigged to cover both 002 and 003. Simon.

protocols/digi00x/src/lib.rs +2 -2
index 06942da3..4f4ac697 100644
@@ -277,7 +277,7 @@ impl Default for OpticalInterfaceMode {
     }
 }
 
-impl Dg00xWhollyCachableParamsOperation<OpticalInterfaceMode> for Digi003Protocol {
+impl Dg00xWhollyCachableParamsOperation<OpticalInterfaceMode> for Digi002Protocol {
     fn cache_wholly(
         req: &mut FwReq,
         node: &mut FwNode,
@@ -294,7 +294,7 @@ impl Dg00xWhollyCachableParamsOperation<OpticalInterfaceMode> for Digi003Protoco
     }
 }
 
-impl Dg00xWhollyUpdatableParamsOperation<OpticalInterfaceMode> for Digi003Protocol {
+impl Dg00xWhollyUpdatableParamsOperation<OpticalInterfaceMode> for Digi002Protocol {
     fn update_wholly(
         req: &mut FwReq,
         node: &mut FwNode,
runtime/digi00x/src/model.rs +21 -16
index 4e164936..babccf46 100644
@@ -11,6 +11,7 @@ pub struct Digi002Model {
     common_ctl: CommonCtl<Digi002Protocol>,
     meter_ctl: MeterCtl<Digi002Protocol>,
     monitor_ctl: MonitorCtl<Digi002Protocol>,
+    opt_iface_ctl: OpticalIfaceCtl,
 }
 
 impl CtlModel<(SndDigi00x, FwNode)> for Digi002Model {
@@ -19,6 +20,7 @@ impl CtlModel<(SndDigi00x, FwNode)> for Digi002Model {
         self.meter_ctl.cache(&mut self.req, node, TIMEOUT_MS)?;
         self.monitor_ctl
             .cache(unit, &mut self.req, node, TIMEOUT_MS)?;
+        self.opt_iface_ctl.cache(&mut self.req, node, TIMEOUT_MS)?;
         Ok(())
     }
 
@@ -26,6 +28,7 @@ impl CtlModel<(SndDigi00x, FwNode)> for Digi002Model {
         self.common_ctl.load(card_cntr)?;
         self.meter_ctl.load(card_cntr)?;
         self.monitor_ctl.load(card_cntr)?;
+        self.opt_iface_ctl.load(card_cntr)?;
         Ok(())
     }
 
@@ -36,6 +39,8 @@ impl CtlModel<(SndDigi00x, FwNode)> for Digi002Model {
             Ok(true)
         } else if self.monitor_ctl.read(elem_id, elem_value)? {
             Ok(true)
+        } else if self.opt_iface_ctl.read(elem_id, elem_value)? {
+            Ok(true)
         } else {
             Ok(false)
         }
@@ -61,6 +66,15 @@ impl CtlModel<(SndDigi00x, FwNode)> for Digi002Model {
             TIMEOUT_MS,
         )? {
             Ok(true)
+        } else if self.opt_iface_ctl.write(
+            unit,
+            &mut self.req,
+            node,
+            elem_id,
+            elem_value,
+            TIMEOUT_MS,
+        )? {
+            Ok(true)
         } else {
             Ok(false)
         }
@@ -103,7 +117,7 @@ pub struct Digi003Model {
     common_ctl: CommonCtl<Digi003Protocol>,
     meter_ctl: MeterCtl<Digi003Protocol>,
     monitor_ctl: MonitorCtl<Digi003Protocol>,
-    opt_iface_ctl: OpticalIfaceCtl,
+    //opt_iface_ctl: OpticalIfaceCtl,
 }
 
 impl CtlModel<(SndDigi00x, FwNode)> for Digi003Model {
@@ -112,7 +126,7 @@ impl CtlModel<(SndDigi00x, FwNode)> for Digi003Model {
         self.meter_ctl.cache(&mut self.req, node, TIMEOUT_MS)?;
         self.monitor_ctl
             .cache(unit, &mut self.req, node, TIMEOUT_MS)?;
-        self.opt_iface_ctl.cache(&mut self.req, node, TIMEOUT_MS)?;
+        //self.opt_iface_ctl.cache(&mut self.req, node, TIMEOUT_MS)?;
         Ok(())
     }
 
@@ -120,7 +134,7 @@ impl CtlModel<(SndDigi00x, FwNode)> for Digi003Model {
         self.common_ctl.load(card_cntr)?;
         self.meter_ctl.load(card_cntr)?;
         self.monitor_ctl.load(card_cntr)?;
-        self.opt_iface_ctl.load(card_cntr)?;
+        //self.opt_iface_ctl.load(card_cntr)?;
         Ok(())
     }
 
@@ -131,8 +145,8 @@ impl CtlModel<(SndDigi00x, FwNode)> for Digi003Model {
             Ok(true)
         } else if self.monitor_ctl.read(elem_id, elem_value)? {
             Ok(true)
-        } else if self.opt_iface_ctl.read(elem_id, elem_value)? {
-            Ok(true)
+        //} else if self.opt_iface_ctl.read(elem_id, elem_value)? {
+        //    Ok(true)
         } else {
             Ok(false)
         }
@@ -158,15 +172,6 @@ impl CtlModel<(SndDigi00x, FwNode)> for Digi003Model {
             TIMEOUT_MS,
         )? {
             Ok(true)
-        } else if self.opt_iface_ctl.write(
-            unit,
-            &mut self.req,
-            node,
-            elem_id,
-            elem_value,
-            TIMEOUT_MS,
-        )? {
-            Ok(true)
         } else {
             Ok(false)
         }
@@ -387,7 +392,7 @@ impl OpticalIfaceCtl {
         &[OpticalInterfaceMode::Adat, OpticalInterfaceMode::Spdif];
 
     fn cache(&mut self, req: &mut FwReq, node: &mut FwNode, timeout_ms: u32) -> Result<(), Error> {
-        let res = Digi003Protocol::cache_wholly(req, node, &mut self.opt_iface_mode, timeout_ms);
+        let res = Digi002Protocol::cache_wholly(req, node, &mut self.opt_iface_mode, timeout_ms);
         debug!(params = ?self.opt_iface_mode, ?res);
         res
     }
@@ -444,7 +449,7 @@ impl OpticalIfaceCtl {
                         Error::new(FileError::Inval, &msg)
                     })
                     .copied()?;
-                let res = Digi003Protocol::update_wholly(req, node, &params, timeout_ms)
+                let res = Digi002Protocol::update_wholly(req, node, &params, timeout_ms)
                     .map(|_| self.opt_iface_mode = params);
                 debug!(params = ?self.opt_iface_mode, ?res);
                 res.map(|_| true)
#3 lore raw

Hi,

Quoted 16 lines · On Tue, May 12, 2026 at 03:08:18PM -0400, [email protected] wrote:
Quoted 5 lines · Takashi Sakamoto

Yes. The service program provides no ALSA control element set for this purpose, because Digi 002 differs from Digi 003 in how it selects the source of S/PDIF signals for audio data in IEEE 1394 isochronous packets sent to the host system.

I experimented some more, and was able to muddle through the Rust code to 'move' the control (from 003 protocol) to act on the 002. This showed that the 002R does actually support this function.

I found a couple of things:
1). Parameter is not saved unless the Jack server is stopped before making the change. I think that this is expected.
--

Quoted 14 lines
simon@EliteBook:~/snd-firewire-ctl-services.github$ amixer -c 2 cset numid=8
'S/PDIF'
numid=8,iface=MIXER,name='optical-interface'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'ADAT'
  ; Item #1 'S/PDIF'
  : values=1
simon@EliteBook:~/snd-firewire-ctl-services.github$ amixer -c 2 cget numid=8
numid=8,iface=MIXER,name='optical-interface'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'ADAT'
  ; Item #1 'S/PDIF'
  : values=1
--

It is likely that the mode change is just activated when the host system stops packet streaming. Then these devices shift to 'standby mode', and you can see the transition in the status indicator if using any console models.

Quoted 9 lines

2). With 'loop backs' on the RCA and Optical ports I got all channels in 'normal/ADAT' mode, but in the 'S/PDIF' mode the path was re-assigned. I got nothing through channels 11..18 (normally ADAT/optical), instead only channels 9..10 passed audio - HOWEVER these are going over the optical fibre (not co-ax cable), unplug the fibre and this loop-back stops.

So in summary I think the existing code can be re-jigged to cover both 002 and 003.
Simon.

I filed A MR for the required changes. Please test with it:

digi00x: support optical interface mode operation for digi 002 as well as digi 003#214
https://github.com/alsa-project/snd-firewire-ctl-services/pull/214

Thanks

Takashi Sakamoto

#4 lore raw
In reply to Takashi Sakamoto
Quoted 9 lines · Takashi Sakamoto

In my understanding, when the Digi 002 detects S/PDIF signals at the optical input port, it automatically uses those signals for the packet and ignores the S/PDIF signals in the coaxial input port. In contrast, the Digi 003 allows the system software to select either the optical or coaxial input as the source of S/PDIF signals when both are available.

However, I may have misunderstood the hardware behavior. Please let me know if you observe any behavior that differs from my understanding above.

Thank you for a prompt response.

I had based my understanding from a 'fuzzy' picture in the manual for the Digi-002R. The screenshot appears to show a radial that the user can select, to either send ADAT or S/PDIF data via the optical port(s).

I was able to install the DigiDesign driver onto a Windows 7 machine, but I don't have Pro-Tools and the driver does not install a 'setup application'. Windows itself offers a 'properties' dialog, which lets me select between 2/8 channels and 16/24bit operation.

I have use 'bus hound' to record the coms to the device when the properties dialog is opened (with previously set different values). There are some slight changes in the data, maybe this makes sense to someone. I can attempt to record more, given some guidance on what is useful...

Yours,
Simon.

Bus Hound 6.01 capture on Windows Vista Service Pack 1 (x64). Complements of www.perisoft.net

Device - Device ID (followed by the endpoint for USB devices)
(26) Digidesign Digi 002 Rack
Address - FireWire async address or channel number Length - Total transfer length
Phase - Phase Type
IRP I/O request packet
STAK IRP stack location
Data - Hex dump of the data transferred
Descr - Description of the phase
Cmd... - Position in the captured data

Device  Address              Length    Phase  Data                      Description       Cmd.Phase.Ofs(rep)
------  -------------------  --------  -----  ------------------------  ----------------  ------------------
  26                                   IRP    06 00 a0 03  00 00 00 00                           1.1.0        
                                              00 00 00 00  00 00 00 00                           1.1.8        
                                              00 00 00 00  00 00 00 00                           1.1.16       
                                              00 00 00 00  00 00 00 00                           1.1.24       
                                              48 04 d4 08  80 fa ff ff                           1.1.32       
                                              48 04 d4 08  80 fa ff ff                           1.1.40       
                                              00 00 00 00  00 00 00 00                           1.1.48       
                                              e0 40 2d 00  a0 f8 ff ff                           1.1.56       
                                              00 00 07 07  00 00 00 04                           1.1.64       
                                              60 2a 9a 06  80 f8 ff ff                           1.1.72       
                                              70 2a 9a 06  80 f8 ff ff                           1.1.80       
                                              00 00 00 00  00 00 00 00                           1.1.88       
                                              00 00 00 00  00 00 00 00                           1.1.96       
                                              00 00 00 00  00 00 00 00                           1.1.104      
                                              00 00 00 00  00 00 00 00                           1.1.112      
                                              00 00 00 00  00 00 00 00                           1.1.120      
                                              00 00 00 00  00 00 00 00                           1.1.128      
                                              00 00 00 00  00 00 00 00                           1.1.136      
                                              00 00 00 00  00 00 00 00                           1.1.144      
                                              60 00 d4 08  80 fa ff ff                           1.1.152      
                                              00 00 00 00  00 00 00 00                           1.1.160      
                                              00 00 00 00  00 00 00 00                           1.1.168      
                                              00 00 00 00  00 00 00 00                           1.1.176      
                                              80 d7 fa 06  80 fa ff ff                           1.1.184      
                                              00 00 00 00  00 00 00 00                           1.1.192      
                                              00 00 00 00  00 00 00 00                           1.1.200      
                                              00 00 00 00  00 00 00 00                           1.1.208      
                                              00 00 00 00  00 00 00 00                           1.1.216      
                                              00 00 00 00  00 00 00 00                           1.1.224      
                                              00 00 00 00  00 00 00 00                           1.1.232      
                                              00 00 00 00  00 00 00 00                           1.1.240      
                                              00 00 00 00  00 00 00 00                           1.1.248      
                                              00 00 00 00  00 00 00 00                           1.1.256      
                                              00 00 00 00  00 00 00 00                           1.1.264      
                                              00 00 00 00  00 00 00 00                           1.1.272      
                                              00 00 00 00  00 00 00 00                           1.1.280      
                                              00 00 00 00  00 00 00 00                           1.1.288      
                                              00 00 00 00  00 00 00 00                           1.1.296      
                                              00 00 00 00  00 00 00 00                           1.1.304      
                                              00 00 00 00  00 00 00 00                           1.1.312      
                                              00 00 00 00  00 00 00 00                           1.1.320      
                                              00 00 00 00  00 00 00 00                           1.1.328      
                                              00 00 00 00  00 00 00 00                           1.1.336      
                                              00 00 00 00  00 00 00 00                           1.1.344      
                                              00 00 00 00  00 00 00 00                           1.1.352      
                                              00 00 00 00  00 00 00 00                           1.1.360      
                                              00 00 00 00  00 00 00 00                           1.1.368      
                                              00 00 00 00  00 00 00 00                           1.1.376      
                                              00 00 00 00  00 00 00 00                           1.1.384      
                                              00 00 00 00  00 00 00 00                           1.1.392      
                                              00 00 00 00  00 00 00 00                           1.1.400      
                                              00 00 00 00  00 00 00 00                           1.1.408      
                                              00 00 00 00  00 00 00 00                           1.1.416      
                                              00 00 00 00  00 00 00 00                           1.1.424      
                                              00 00 00 00  00 00 00 00                           1.1.432      
                                              00 00 00 00  00 00 00 00                           1.1.440      
                                              00 00 00 00  00 00 00 00                           1.1.448      
                                              00 00 00 00  00 00 00 00                           1.1.456      
                                              00 00 00 00  00 00 00 00                           1.1.464      
                                              00 00 00 00  00 00 00 00                           1.1.472      
                                              00 00 00 00  00 00 00 00                           1.1.480      
                                              00 00 00 00  00 00 00 00                           1.1.488      
                                              00 00 00 00  00 00 00 00                           1.1.496      
                                              00 00 00 00  00 00 00 00                           1.1.504      
  26                                   STAK   1b 07 00 00  00 00 00 00  QUERY RELATIONS          1.2.0        
                                              04 00 00 00  00 00 00 00                           1.2.8        
                                              00 00 00 00  00 00 00 00                           1.2.16       
                                              00 00 00 00  00 00 00 00                           1.2.24       
                                              00 00 00 00  00 00 00 00                           1.2.32       
                                              20 0e 51 09  80 fa ff ff                           1.2.40       
                                              40 57 2d 07  80 fa ff ff                           1.2.48       
                                              00 00 00 00  00 00 00 00                           1.2.56       
                                              00 00 00 00  00 00 00 00                           1.2.64       

Bus Hound 6.01 capture on Windows Vista Service Pack 1 (x64). Complements of www.perisoft.net

Device - Device ID (followed by the endpoint for USB devices)
(26) Digidesign Digi 002 Rack
Address - FireWire async address or channel number Length - Total transfer length
Phase - Phase Type
IRP I/O request packet
STAK IRP stack location
Data - Hex dump of the data transferred
Descr - Description of the phase
Cmd... - Position in the captured data

Device  Address              Length    Phase  Data                      Description       Cmd.Phase.Ofs(rep)
------  -------------------  --------  -----  ------------------------  ----------------  ------------------
  26                                   IRP    06 00 a0 03  00 00 00 00                           1.1.0        
                                              00 00 00 00  00 00 00 00                           1.1.8        
                                              00 00 00 00  00 00 00 00                           1.1.16       
                                              00 00 00 00  00 00 00 00                           1.1.24       
                                              48 04 d4 08  80 fa ff ff                           1.1.32       
                                              48 04 d4 08  80 fa ff ff                           1.1.40       
                                              00 00 00 00  00 00 00 00                           1.1.48       
                                              c0 68 c4 01  a0 f8 ff ff                           1.1.56       
                                              00 00 07 07  00 00 00 04                           1.1.64       
                                              60 2a 9a 06  80 f8 ff ff                           1.1.72       
                                              70 2a 9a 06  80 f8 ff ff                           1.1.80       
                                              00 00 00 00  00 00 00 00                           1.1.88       
                                              00 00 00 00  00 00 00 00                           1.1.96       
                                              00 00 00 00  00 00 00 00                           1.1.104      
                                              00 00 00 00  00 00 00 00                           1.1.112      
                                              00 00 00 00  00 00 00 00                           1.1.120      
                                              00 00 00 00  00 00 00 00                           1.1.128      
                                              00 00 00 00  00 00 00 00                           1.1.136      
                                              00 00 00 00  00 00 00 00                           1.1.144      
                                              60 00 d4 08  80 fa ff ff                           1.1.152      
                                              00 00 00 00  00 00 00 00                           1.1.160      
                                              00 00 00 00  00 00 00 00                           1.1.168      
                                              00 00 00 00  00 00 00 00                           1.1.176      
                                              e0 de f9 06  80 fa ff ff                           1.1.184      
                                              00 00 00 00  00 00 00 00                           1.1.192      
                                              00 00 00 00  00 00 00 00                           1.1.200      
                                              00 00 00 00  00 00 00 00                           1.1.208      
                                              00 00 00 00  00 00 00 00                           1.1.216      
                                              00 00 00 00  00 00 00 00                           1.1.224      
                                              00 00 00 00  00 00 00 00                           1.1.232      
                                              00 00 00 00  00 00 00 00                           1.1.240      
                                              00 00 00 00  00 00 00 00                           1.1.248      
                                              00 00 00 00  00 00 00 00                           1.1.256      
                                              00 00 00 00  00 00 00 00                           1.1.264      
                                              00 00 00 00  00 00 00 00                           1.1.272      
                                              00 00 00 00  00 00 00 00                           1.1.280      
                                              00 00 00 00  00 00 00 00                           1.1.288      
                                              00 00 00 00  00 00 00 00                           1.1.296      
                                              00 00 00 00  00 00 00 00                           1.1.304      
                                              00 00 00 00  00 00 00 00                           1.1.312      
                                              00 00 00 00  00 00 00 00                           1.1.320      
                                              00 00 00 00  00 00 00 00                           1.1.328      
                                              00 00 00 00  00 00 00 00                           1.1.336      
                                              00 00 00 00  00 00 00 00                           1.1.344      
                                              00 00 00 00  00 00 00 00                           1.1.352      
                                              00 00 00 00  00 00 00 00                           1.1.360      
                                              00 00 00 00  00 00 00 00                           1.1.368      
                                              00 00 00 00  00 00 00 00                           1.1.376      
                                              00 00 00 00  00 00 00 00                           1.1.384      
                                              00 00 00 00  00 00 00 00                           1.1.392      
                                              00 00 00 00  00 00 00 00                           1.1.400      
                                              00 00 00 00  00 00 00 00                           1.1.408      
                                              00 00 00 00  00 00 00 00                           1.1.416      
                                              00 00 00 00  00 00 00 00                           1.1.424      
                                              00 00 00 00  00 00 00 00                           1.1.432      
                                              00 00 00 00  00 00 00 00                           1.1.440      
                                              00 00 00 00  00 00 00 00                           1.1.448      
                                              00 00 00 00  00 00 00 00                           1.1.456      
                                              00 00 00 00  00 00 00 00                           1.1.464      
                                              00 00 00 00  00 00 00 00                           1.1.472      
                                              00 00 00 00  00 00 00 00                           1.1.480      
                                              00 00 00 00  00 00 00 00                           1.1.488      
                                              00 00 00 00  00 00 00 00                           1.1.496      
                                              00 00 00 00  00 00 00 00                           1.1.504      
  26                                   STAK   1b 07 00 00  00 00 00 00  QUERY RELATIONS          1.2.0        
                                              04 00 00 00  00 00 00 00                           1.2.8        
                                              00 00 00 00  00 00 00 00                           1.2.16       
                                              00 00 00 00  00 00 00 00                           1.2.24       
                                              00 00 00 00  00 00 00 00                           1.2.32       
                                              20 0e 51 09  80 fa ff ff                           1.2.40       
                                              60 4e d3 06  80 fa ff ff                           1.2.48       
                                              00 00 00 00  00 00 00 00                           1.2.56       
                                              00 00 00 00  00 00 00 00                           1.2.64       

Bus Hound 6.01 capture on Windows Vista Service Pack 1 (x64). Complements of www.perisoft.net

Device - Device ID (followed by the endpoint for USB devices)
(26) Digidesign Digi 002 Rack
Address - FireWire async address or channel number Length - Total transfer length
Phase - Phase Type
IRP I/O request packet
STAK IRP stack location
Data - Hex dump of the data transferred
Descr - Description of the phase
Cmd... - Position in the captured data

Device  Address              Length    Phase  Data                      Description       Cmd.Phase.Ofs(rep)
------  -------------------  --------  -----  ------------------------  ----------------  ------------------
  26                                   IRP    06 00 a0 03  00 00 00 00                           1.1.0        
                                              00 00 00 00  00 00 00 00                           1.1.8        
                                              00 00 00 00  00 00 00 00                           1.1.16       
                                              00 00 00 00  00 00 00 00                           1.1.24       
                                              48 44 d9 06  80 fa ff ff                           1.1.32       
                                              48 44 d9 06  80 fa ff ff                           1.1.40       
                                              00 00 00 00  00 00 00 00                           1.1.48       
                                              70 ad cb 01  a0 f8 ff ff                           1.1.56       
                                              00 00 07 07  00 00 00 04                           1.1.64       
                                              60 5a 95 02  80 f8 ff ff                           1.1.72       
                                              70 5a 95 02  80 f8 ff ff                           1.1.80       
                                              00 00 00 00  00 00 00 00                           1.1.88       
                                              00 00 00 00  00 00 00 00                           1.1.96       
                                              00 00 00 00  00 00 00 00                           1.1.104      
                                              00 00 00 00  00 00 00 00                           1.1.112      
                                              00 00 00 00  00 00 00 00                           1.1.120      
                                              00 00 00 00  00 00 00 00                           1.1.128      
                                              00 00 00 00  00 00 00 00                           1.1.136      
                                              00 00 00 00  00 00 00 00                           1.1.144      
                                              60 40 d9 06  80 fa ff ff                           1.1.152      
                                              00 00 00 00  00 00 00 00                           1.1.160      
                                              00 00 00 00  00 00 00 00                           1.1.168      
                                              00 00 00 00  00 00 00 00                           1.1.176      
                                              20 8a e3 06  80 fa ff ff                           1.1.184      
                                              00 00 00 00  00 00 00 00                           1.1.192      
                                              00 00 00 00  00 00 00 00                           1.1.200      
                                              00 00 00 00  00 00 00 00                           1.1.208      
                                              00 00 00 00  00 00 00 00                           1.1.216      
                                              00 00 00 00  00 00 00 00                           1.1.224      
                                              00 00 00 00  00 00 00 00                           1.1.232      
                                              00 00 00 00  00 00 00 00                           1.1.240      
                                              00 00 00 00  00 00 00 00                           1.1.248      
                                              00 00 00 00  00 00 00 00                           1.1.256      
                                              00 00 00 00  00 00 00 00                           1.1.264      
                                              00 00 00 00  00 00 00 00                           1.1.272      
                                              00 00 00 00  00 00 00 00                           1.1.280      
                                              00 00 00 00  00 00 00 00                           1.1.288      
                                              00 00 00 00  00 00 00 00                           1.1.296      
                                              00 00 00 00  00 00 00 00                           1.1.304      
                                              00 00 00 00  00 00 00 00                           1.1.312      
                                              00 00 00 00  00 00 00 00                           1.1.320      
                                              00 00 00 00  00 00 00 00                           1.1.328      
                                              00 00 00 00  00 00 00 00                           1.1.336      
                                              00 00 00 00  00 00 00 00                           1.1.344      
                                              00 00 00 00  00 00 00 00                           1.1.352      
                                              00 00 00 00  00 00 00 00                           1.1.360      
                                              00 00 00 00  00 00 00 00                           1.1.368      
                                              00 00 00 00  00 00 00 00                           1.1.376      
                                              00 00 00 00  00 00 00 00                           1.1.384      
                                              00 00 00 00  00 00 00 00                           1.1.392      
                                              00 00 00 00  00 00 00 00                           1.1.400      
                                              00 00 00 00  00 00 00 00                           1.1.408      
                                              00 00 00 00  00 00 00 00                           1.1.416      
                                              00 00 00 00  00 00 00 00                           1.1.424      
                                              00 00 00 00  00 00 00 00                           1.1.432      
                                              00 00 00 00  00 00 00 00                           1.1.440      
                                              00 00 00 00  00 00 00 00                           1.1.448      
                                              00 00 00 00  00 00 00 00                           1.1.456      
                                              00 00 00 00  00 00 00 00                           1.1.464      
                                              00 00 00 00  00 00 00 00                           1.1.472      
                                              00 00 00 00  00 00 00 00                           1.1.480      
                                              00 00 00 00  00 00 00 00                           1.1.488      
                                              00 00 00 00  00 00 00 00                           1.1.496      
                                              00 00 00 00  00 00 00 00                           1.1.504      
  26                                   STAK   1b 07 00 00  00 00 00 00  QUERY RELATIONS          1.2.0        
                                              04 00 00 00  00 00 00 00                           1.2.8        
                                              00 00 00 00  00 00 00 00                           1.2.16       
                                              00 00 00 00  00 00 00 00                           1.2.24       
                                              00 00 00 00  00 00 00 00                           1.2.32       
                                              20 0e 51 09  80 fa ff ff                           1.2.40       
                                              70 f0 d0 08  80 fa ff ff                           1.2.48       
                                              00 00 00 00  00 00 00 00                           1.2.56       
                                              00 00 00 00  00 00 00 00                           1.2.64       

Bus Hound 6.01 capture on Windows Vista Service Pack 1 (x64). Complements of www.perisoft.net

Device - Device ID (followed by the endpoint for USB devices)
(26) Digidesign Digi 002 Rack
Address - FireWire async address or channel number Length - Total transfer length
Phase - Phase Type
IRP I/O request packet
STAK IRP stack location
Data - Hex dump of the data transferred
Descr - Description of the phase
Cmd... - Position in the captured data

Device  Address              Length    Phase  Data                      Description       Cmd.Phase.Ofs(rep)
------  -------------------  --------  -----  ------------------------  ----------------  ------------------
  26                                   IRP    06 00 a0 03  00 00 00 00                           1.1.0        
                                              00 00 00 00  00 00 00 00                           1.1.8        
                                              00 00 00 00  00 00 00 00                           1.1.16       
                                              00 00 00 00  00 00 00 00                           1.1.24       
                                              48 04 d4 08  80 fa ff ff                           1.1.32       
                                              48 04 d4 08  80 fa ff ff                           1.1.40       
                                              00 00 00 00  00 00 00 00                           1.1.48       
                                              e0 dd a5 01  a0 f8 ff ff                           1.1.56       
                                              00 00 07 07  00 00 00 04                           1.1.64       
                                              60 2a 9a 06  80 f8 ff ff                           1.1.72       
                                              70 2a 9a 06  80 f8 ff ff                           1.1.80       
                                              00 00 00 00  00 00 00 00                           1.1.88       
                                              00 00 00 00  00 00 00 00                           1.1.96       
                                              00 00 00 00  00 00 00 00                           1.1.104      
                                              00 00 00 00  00 00 00 00                           1.1.112      
                                              00 00 00 00  00 00 00 00                           1.1.120      
                                              00 00 00 00  00 00 00 00                           1.1.128      
                                              00 00 00 00  00 00 00 00                           1.1.136      
                                              00 00 00 00  00 00 00 00                           1.1.144      
                                              60 00 d4 08  80 fa ff ff                           1.1.152      
                                              00 00 00 00  00 00 00 00                           1.1.160      
                                              00 00 00 00  00 00 00 00                           1.1.168      
                                              00 00 00 00  00 00 00 00                           1.1.176      
                                              e0 0e cb 06  80 fa ff ff                           1.1.184      
                                              00 00 00 00  00 00 00 00                           1.1.192      
                                              00 00 00 00  00 00 00 00                           1.1.200      
                                              00 00 00 00  00 00 00 00                           1.1.208      
                                              00 00 00 00  00 00 00 00                           1.1.216      
                                              00 00 00 00  00 00 00 00                           1.1.224      
                                              00 00 00 00  00 00 00 00                           1.1.232      
                                              00 00 00 00  00 00 00 00                           1.1.240      
                                              00 00 00 00  00 00 00 00                           1.1.248      
                                              00 00 00 00  00 00 00 00                           1.1.256      
                                              00 00 00 00  00 00 00 00                           1.1.264      
                                              00 00 00 00  00 00 00 00                           1.1.272      
                                              00 00 00 00  00 00 00 00                           1.1.280      
                                              00 00 00 00  00 00 00 00                           1.1.288      
                                              00 00 00 00  00 00 00 00                           1.1.296      
                                              00 00 00 00  00 00 00 00                           1.1.304      
                                              00 00 00 00  00 00 00 00                           1.1.312      
                                              00 00 00 00  00 00 00 00                           1.1.320      
                                              00 00 00 00  00 00 00 00                           1.1.328      
                                              00 00 00 00  00 00 00 00                           1.1.336      
                                              00 00 00 00  00 00 00 00                           1.1.344      
                                              00 00 00 00  00 00 00 00                           1.1.352      
                                              00 00 00 00  00 00 00 00                           1.1.360      
                                              00 00 00 00  00 00 00 00                           1.1.368      
                                              00 00 00 00  00 00 00 00                           1.1.376      
                                              00 00 00 00  00 00 00 00                           1.1.384      
                                              00 00 00 00  00 00 00 00                           1.1.392      
                                              00 00 00 00  00 00 00 00                           1.1.400      
                                              00 00 00 00  00 00 00 00                           1.1.408      
                                              00 00 00 00  00 00 00 00                           1.1.416      
                                              00 00 00 00  00 00 00 00                           1.1.424      
                                              00 00 00 00  00 00 00 00                           1.1.432      
                                              00 00 00 00  00 00 00 00                           1.1.440      
                                              00 00 00 00  00 00 00 00                           1.1.448      
                                              00 00 00 00  00 00 00 00                           1.1.456      
                                              00 00 00 00  00 00 00 00                           1.1.464      
                                              00 00 00 00  00 00 00 00                           1.1.472      
                                              00 00 00 00  00 00 00 00                           1.1.480      
                                              00 00 00 00  00 00 00 00                           1.1.488      
                                              00 00 00 00  00 00 00 00                           1.1.496      
                                              00 00 00 00  00 00 00 00                           1.1.504      
  26                                   STAK   1b 07 00 00  00 00 00 00  QUERY RELATIONS          1.2.0        
                                              04 00 00 00  00 00 00 00                           1.2.8        
                                              00 00 00 00  00 00 00 00                           1.2.16       
                                              00 00 00 00  00 00 00 00                           1.2.24       
                                              00 00 00 00  00 00 00 00                           1.2.32       
                                              20 0e 51 09  80 fa ff ff                           1.2.40       
                                              80 26 de 06  80 fa ff ff                           1.2.48       
                                              00 00 00 00  00 00 00 00                           1.2.56       
                                              00 00 00 00  00 00 00 00                           1.2.64       
#5 lore raw
Quoted 14 lines · On Tue, May 12, 2026 at 12:28:19AM -0400, [email protected] wrote:
Quoted 9 lines · Takashi Sakamoto

In my understanding, when the Digi 002 detects S/PDIF signals at the optical input port, it automatically uses those signals for the packet and ignores the S/PDIF signals in the coaxial input port. In contrast, the Digi 003 allows the system software to select either the optical or coaxial input as the source of S/PDIF signals when both are available.

However, I may have misunderstood the hardware behavior. Please let me know if you observe any behavior that differs from my understanding above.

Thank you for a prompt response.

Quoted 8 lines

I had based my understanding from a 'fuzzy' picture in the manual for the Digi-002R. The screenshot appears to show a radial that the user can select, to either send ADAT or S/PDIF data via the optical port(s).

I was able to install the DigiDesign driver onto a Windows 7 machine, but I don't have Pro-Tools and the driver does not install a 'setup application'. Windows itself offers a 'properties' dialog, which lets me select between 2/8 channels and 16/24bit operation.

I don't have that either, so I never try it directly with the bundled software...

Quoted 7 lines

I have use 'bus hound' to record the coms to the device when the properties dialog is opened (with previously set different values). There are some slight changes in the data, maybe this makes sense to someone. I can attempt to record more, given some guidance on what is useful...

Yours,
Simon.

Thanks for your effort to capturing packets. As a quick glance, they are for the isochronous communication in IEEE 1394 bus. While, the asynchronous transaction would be used to change the mode of optical interface. The destination address would be 0x'ffff'e000'011c. There are more offset addresses whose effects haven't been cleared yet[1].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/firewire/digi00x/digi00x.h?h=v7.0#n63

Regards

Takashi Sakamoto