On Thu, 19 Feb 2004, Ludwig Schwardt wrote: > > I see in the envy24control code that only the Delta 1010 is allowed to > have a word clock option as Master Clock. I have the Delta 1010-LT and > according to the documentation it definitely supports a word clock. Is > this restriction in envy24control an ALSA ice1712 driver thing (as I > don't see such options with amixer either), or can the option simply be > enabled for my card as well?
It's envy24control bug. Here is the patch: Index: hardware.c =================================================================== RCS file: /cvsroot/alsa/alsa-tools/envy24control/hardware.c,v retrieving revision 1.12 diff -u -r1.12 hardware.c --- hardware.c 3 Nov 2003 18:20:53 -0000 1.12 +++ hardware.c 19 Feb 2004 10:43:42 -0000 @@ -45,7 +45,8 @@ if ((err = snd_ctl_elem_read(ctl, internal_clock)) < 0) g_print("Unable to read Internal Clock state: %s\n", snd_strerror(err)); - if (card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010) { + if (card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010 || + card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010LT) { if ((err = snd_ctl_elem_read(ctl, word_clock_sync)) < 0) g_print("Unable to read word clock sync selection: %s\n", snd_strerror(err)); } @@ -78,7 +79,8 @@ { int err; - if (card_eeprom.subvendor != ICE1712_SUBDEVICE_DELTA1010) + if (card_eeprom.subvendor != ICE1712_SUBDEVICE_DELTA1010 && + card_eeprom.subvendor != ICE1712_SUBDEVICE_DELTA1010LT) return; snd_ctl_elem_value_set_boolean(word_clock_sync, 0, on ? 1 : 0); if ((err = snd_ctl_elem_write(ctl, word_clock_sync)) < 0) @@ -169,7 +171,8 @@ if ((err = snd_ctl_elem_read(ctl, internal_clock)) < 0) g_print("Unable to read Internal Clock state: %s\n", snd_strerror(err)); - if (card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010) { + if (card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010 || + card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010LT) { if ((err = snd_ctl_elem_read(ctl, word_clock_sync)) < 0) g_print("Unable to read word clock sync selection: %s\n", snd_strerror(err)); } Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel