Skip to contentSkip to conversation

envy24control word clock error

DISCUSSION John Rigg 4 participants 7 messages Nov 27, 2005 – Nov 28, 2005

lore
Share & tools
lore

John Rigg

author
#0 lore raw

When I start envy24control from xterm I get an endless stream of "Unable to determine wordclock status: No such file or directory" and "Unable to read word clock sync selection: No such file or directory" error messages.
These don't stop until I shut down envy24control. The same occurs regardless of what clock source I set in the GUI, or whether I link my two Delta1010s with SPDIF or wordclock in/out. It's the same with -c0, -c1 or both launched from separate xterms.
The messages appear to come from master_clock_status_timeout_callback() in envy24control/hardware.c (lines 160-175).

This is with alsa-tools-1.0.10 (also happens with rc2), alsa-lib-1.0.10, kernel 2.6.14-rt20 x86_64 SMP (alsa 1.0.10rc1 drivers). Anyone got any ideas?

John

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

#1 lore raw
Quoted 18 lines · John Rigg

When I start envy24control from xterm I get an endless stream of "Unable to determine wordclock status: No such file or directory" and "Unable to read word clock sync selection: No such file or directory" error messages.
These don't stop until I shut down envy24control. The same occurs regardless of what clock source I set in the GUI, or whether I link my two Delta1010s with SPDIF or wordclock in/out. It's the same with -c0, -c1 or both launched from separate xterms.
The messages appear to come from master_clock_status_timeout_callback() in envy24control/hardware.c (lines 160-175).

This is with alsa-tools-1.0.10 (also happens with rc2), alsa-lib-1.0.10, kernel 2.6.14-rt20 x86_64 SMP (alsa 1.0.10rc1 drivers). Anyone got any ideas?

John

Quoted 10 lines

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

No ideas, however I will confirm this is also happening in my Delta 1010 setup / amd64 hardware. Driver is 1.0.10rc3, Debian "etch" GNU/Linux OS, 2.6.14 kernel. The envy24control progam spits out an endless stream of the same wordclock error messages.

Eric

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click

#2 lore raw
Quoted 16 lines · Eric Shattow
Quoted 15 lines · John Rigg

When I start envy24control from xterm I get an endless stream of "Unable to determine wordclock status: No such file or directory" and "Unable to read word clock sync selection: No such file or directory" error messages.
These don't stop until I shut down envy24control. The same occurs regardless of what clock source I set in the GUI, or whether I link my two Delta1010s with SPDIF or wordclock in/out. It's the same with -c0, -c1 or both launched from separate xterms.
The messages appear to come from master_clock_status_timeout_callback() in envy24control/hardware.c (lines 160-175).

This is with alsa-tools-1.0.10 (also happens with rc2), alsa-lib-1.0.10, kernel 2.6.14-rt20 x86_64 SMP (alsa 1.0.10rc1 drivers). Anyone got any ideas?

Quoted 7 lines
Quoted 2 lines

John

No ideas, however I will confirm this is also happening in my Delta 1010 setup / amd64 hardware. Driver is 1.0.10rc3, Debian "etch" GNU/Linux OS, 2.6.14 kernel. The envy24control progam spits out an endless stream of the same wordclock error messages.

I'm also having the same problem. I'm running Debian sid (unstable), with 2.6.14-2-686-smp kernel.

Is this Debian specific problem?

Quoted 3 lines

Eric

-- Pasi Kärkkäinen

                                   ^
                                .     .
                                 Linux
                              /    -    \
                             Choice.of.the
                           .Next.Generation.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click

#3 lore raw
In reply to John Rigg

At Sun, 27 Nov 2005 19:24:50 +0000,

Quoted 12 lines · John Rigg

When I start envy24control from xterm I get an endless stream of "Unable to determine wordclock status: No such file or directory" and "Unable to read word clock sync selection: No such file or directory" error messages.
These don't stop until I shut down envy24control. The same occurs regardless of what clock source I set in the GUI, or whether I link my two Delta1010s with SPDIF or wordclock in/out. It's the same with -c0, -c1 or both launched from separate xterms.
The messages appear to come from master_clock_status_timeout_callback() in envy24control/hardware.c (lines 160-175).

Quoted 3 lines

This is with alsa-tools-1.0.10 (also happens with rc2), alsa-lib-1.0.10, kernel 2.6.14-rt20 x86_64 SMP (alsa 1.0.10rc1 drivers). Anyone got any ideas?

Try the patch below.

Takashi

Index: alsa-tools/envy24control/hardware.c
===================================================================
RCS file: /home/iwai/cvs/alsa/alsa-tools/envy24control/hardware.c,v retrieving revision 1.13

envy24control/hardware.c +3 -3
diff -u -r1.13 hardware.c
@@ -165,7 +165,7 @@
 	if (card_eeprom.subvendor != ICE1712_SUBDEVICE_DELTA1010)
 		return FALSE;
 	snd_ctl_elem_value_alloca(&sw);
-	snd_ctl_elem_value_set_interface(sw, SND_CTL_ELEM_IFACE_PCM);
+	snd_ctl_elem_value_set_interface(sw, SND_CTL_ELEM_IFACE_MIXER);
 	snd_ctl_elem_value_set_name(sw, "Word Clock Status");
 	if ((err = snd_ctl_elem_read(ctl, sw)) < 0)
 		g_print("Unable to determine word clock status: %s\n", snd_strerror(err));
@@ -795,7 +795,7 @@
 	snd_ctl_elem_value_set_interface(internal_clock_default, SND_CTL_ELEM_IFACE_MIXER);
 	snd_ctl_elem_value_set_name(internal_clock_default, "Multi Track Internal Clock Default");
 
-	snd_ctl_elem_value_set_interface(word_clock_sync, SND_CTL_ELEM_IFACE_PCM);
+	snd_ctl_elem_value_set_interface(word_clock_sync, SND_CTL_ELEM_IFACE_MIXER);
 	snd_ctl_elem_value_set_name(word_clock_sync, "Word Clock Sync");
 
 	snd_ctl_elem_value_set_interface(rate_locking, SND_CTL_ELEM_IFACE_MIXER);
@@ -811,7 +811,7 @@
 		snd_ctl_elem_value_set_interface(spdif_input, SND_CTL_ELEM_IFACE_MIXER);
 		snd_ctl_elem_value_set_name(spdif_input, "Optical Digital Input Switch");
 	} else {
-	snd_ctl_elem_value_set_interface(spdif_input, SND_CTL_ELEM_IFACE_PCM);
+	snd_ctl_elem_value_set_interface(spdif_input, SND_CTL_ELEM_IFACE_MIXER);
 	snd_ctl_elem_value_set_name(spdif_input, "IEC958 Input Optical");
 	}
 
#4 lore raw
Quoted 14 lines · Takashi Iwai

At Sun, 27 Nov 2005 19:24:50 +0000,

Quoted 12 lines · John Rigg

When I start envy24control from xterm I get an endless stream of "Unable to determine wordclock status: No such file or directory" and "Unable to read word clock sync selection: No such file or directory" error messages.
These don't stop until I shut down envy24control. The same occurs regardless of what clock source I set in the GUI, or whether I link my two Delta1010s with SPDIF or wordclock in/out. It's the same with -c0, -c1 or both launched from separate xterms.
The messages appear to come from master_clock_status_timeout_callback() in envy24control/hardware.c (lines 160-175).

Quoted 6 lines
Quoted 3 lines

This is with alsa-tools-1.0.10 (also happens with rc2), alsa-lib-1.0.10, kernel 2.6.14-rt20 x86_64 SMP (alsa 1.0.10rc1 drivers). Anyone got any ideas?

Try the patch below.

That patch fixes the problem for me! (Debian sid/unstable, alsa-tools-gui 1.0.10-1)

- Pasi Kärkkäinen

Quoted 29 lines

Takashi

Index: alsa-tools/envy24control/hardware.c
===================================================================
RCS file: /home/iwai/cvs/alsa/alsa-tools/envy24control/hardware.c,v retrieving revision 1.13
diff -u -r1.13 hardware.c

envy24control/hardware.c +2 -2
@@ -165,7 +165,7 @@
 	if (card_eeprom.subvendor != ICE1712_SUBDEVICE_DELTA1010)
 		return FALSE;
 	snd_ctl_elem_value_alloca(&sw);
-	snd_ctl_elem_value_set_interface(sw, SND_CTL_ELEM_IFACE_PCM);
+	snd_ctl_elem_value_set_interface(sw, SND_CTL_ELEM_IFACE_MIXER);
 	snd_ctl_elem_value_set_name(sw, "Word Clock Status");
 	if ((err = snd_ctl_elem_read(ctl, sw)) < 0)
 		g_print("Unable to determine word clock status: %s\n", snd_strerror(err));
@@ -795,7 +795,7 @@
 	snd_ctl_elem_value_set_interface(internal_clock_default, SND_CTL_ELEM_IFACE_MIXER);
 	snd_ctl_elem_value_set_name(internal_clock_default, "Multi Track Internal Clock Default");
 
-	snd_ctl_elem_value_set_interface(word_clock_sync, SND_CTL_ELEM_IFACE_PCM);
+	snd_ctl_elem_value_set_interface(word_clock_sync, SND_CTL_ELEM_IFACE_MIXER);
 	snd_ctl_elem_value_set_name(word_clock_sync, "Word Clock Sync");
 
 	snd_ctl_elem_value_set_interface(rate_locking, SND_CTL_ELEM_IFACE_MIXER);

envy24control/hardware.c line 817

Quoted 8 lines
envy24control/hardware.c +1 -1
@@ -811,7 +811,7 @@
 		snd_ctl_elem_value_set_interface(spdif_input, SND_CTL_ELEM_IFACE_MIXER);
 		snd_ctl_elem_value_set_name(spdif_input, "Optical Digital Input Switch");
 	} else {
-	snd_ctl_elem_value_set_interface(spdif_input, SND_CTL_ELEM_IFACE_PCM);
+	snd_ctl_elem_value_set_interface(spdif_input, SND_CTL_ELEM_IFACE_MIXER);
 	snd_ctl_elem_value_set_name(spdif_input, "IEC958 Input Optical");
 	}
 

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click

#5 lore raw

At Mon, 28 Nov 2005 20:05:00 +0200,

Quoted 20 lines · Pasi Kärkkäinen
Quoted 18 lines · Takashi Iwai

At Sun, 27 Nov 2005 19:24:50 +0000,

Quoted 15 lines · John Rigg

When I start envy24control from xterm I get an endless stream of "Unable to determine wordclock status: No such file or directory" and "Unable to read word clock sync selection: No such file or directory" error messages.
These don't stop until I shut down envy24control. The same occurs regardless of what clock source I set in the GUI, or whether I link my two Delta1010s with SPDIF or wordclock in/out. It's the same with -c0, -c1 or both launched from separate xterms.
The messages appear to come from master_clock_status_timeout_callback() in envy24control/hardware.c (lines 160-175).

This is with alsa-tools-1.0.10 (also happens with rc2), alsa-lib-1.0.10, kernel 2.6.14-rt20 x86_64 SMP (alsa 1.0.10rc1 drivers). Anyone got any ideas?

Quoted 5 lines
Quoted 2 lines

Try the patch below.

That patch fixes the problem for me! (Debian sid/unstable, alsa-tools-gui 1.0.10-1)

Thanks for confirmation. I applied it to CVS, too.

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click

author
#6 lore raw
Quoted 14 lines · Takashi Iwai

At Mon, 28 Nov 2005 20:05:00 +0200,

Quoted 12 lines · Pasi Kärkkäinen
Quoted 9 lines · Takashi Iwai

At Sun, 27 Nov 2005 19:24:50 +0000,

Quoted 5 lines · John Rigg

When I start envy24control from xterm I get an endless stream of "Unable to determine wordclock status: No such file or directory" and "Unable to read word clock sync selection: No such file or directory" error messages.

Try the patch below.

Quoted 7 lines
Quoted 2 lines

That patch fixes the problem for me! (Debian sid/unstable, alsa-tools-gui 1.0.10-1)

Thanks for confirmation. I applied it to CVS, too.

Takashi

Just for further confirmation, it works here too. Now I can sync word clocks :)

Thanks,
John

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click