[LAU] Terratec EWS88D (ice1712) optical stuck on ADAT (no IEC958 optical i/o)

From: Niels Mayer <nielsmayer@email-addr-hidden>
Date: Mon Sep 13 2010 - 18:55:48 EEST

I just scored a nice Terratec EWS88D for $20.00. :-) (
http://nielsmayer.com/envy24control/EWS88D_Board_L.jpg missing midi cable
though (*))
It works nicely with Linux and http://mudita24.googlecode.com , although
it's missing some important controls to turn off the ADAT parts of the card.
Alas, it wouldn't help to support them in mudita24, as I cannot get them to
change values through standard ALSA tools like amixer(1) and alsamixer(1).

Therefore, the question: is what is it about snd-ice1712 that prevents the
mixer control values detailed below from changing, and is there anything I
can do to fix it? (sometimes you want to use this card in it's dual IEC958
optical + spdif I/O config, other times, you want to use the optical for
ADAT and the spdif for IEC958, which is the only configuration I can get
currently.)

The results from amixer(1):
  http://nielsmayer.com/envy24control/terratec-ews88d-amixer.txt
Results of "cat /proc/asound/EWS88D/ice1712":
  http://nielsmayer.com/envy24control/terratec-ews88d-ice1712.txt

My attempts at changing optical port from ADAT to IEC958. Nothing happens:

///// ///// ///// ///// ///// ///// ///// /////
coggie-7-~> foreach i ( 'IEC958 Input Optical' 'IEC958 Input Optical' 'ADAT
External Master Clock' 'ADAT Output Optical' 'ADAT Through' 'Enable ADAT' )
foreach? amixer cget iface=MIXER,name="$i"
foreach? end
numid=95,iface=MIXER,name='IEC958 Input Optical'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=95,iface=MIXER,name='IEC958 Input Optical'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=97,iface=MIXER,name='ADAT External Master Clock'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=96,iface=MIXER,name='ADAT Output Optical'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=99,iface=MIXER,name='ADAT Through'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=98,iface=MIXER,name='Enable ADAT'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
coggie-10-~> amixer cset iface=MIXER,name='Enable ADAT' off
numid=98,iface=MIXER,name='Enable ADAT'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
coggie-11-~> amixer cset iface=MIXER,name='Enable ADAT' false
numid=98,iface=MIXER,name='Enable ADAT'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
coggie-12-~> amixer cset iface=MIXER,name='Enable ADAT' off
numid=98,iface=MIXER,name='Enable ADAT'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
coggie-13-~> amixer cset iface=MIXER,name='Enable ADAT' 0
numid=98,iface=MIXER,name='Enable ADAT'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
coggie-14-~> amixer cset iface=MIXER,name='IEC958 Input Optical' on
numid=95,iface=MIXER,name='IEC958 Input Optical'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
coggie-15-~> amixer cset iface=MIXER,name='IEC958 Input Optical' true
numid=95,iface=MIXER,name='IEC958 Input Optical'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
coggie-16-~> amixer cset iface=MIXER,name='IEC958 Input Optical' 1
numid=95,iface=MIXER,name='IEC958 Input Optical'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
///// ///// ///// ///// ///// ///// ///// /////

FYI, for more info on this board:
  ftp://ftp.terratec.de/Audio/EWS/88D/Manual/EWS88D_Manual_GB.pdf
  ftp://ftp.terratec.de/Audio/EWS/88D/TechnicalData/EWS88D_GB.pdf

Relevant snd-ice1712 sources:

http://git.alsa-project.org/?p=alsa-kernel.git;a=blob_plain;f=sound/pci/ice1712/ews.c;hb=HEAD

http://git.alsa-project.org/?p=alsa-kernel.git;a=blob_plain;f=sound/pci/ice1712/ice1712.c;hb=HEAD

Also, I'm running on Fedora12 ( 2.6.32.21-166.fc12.x86_64 ) which seems to
have a somewhat odd mix of ALSA drivers and runtime:

coggie-17-~> drumstick-sysinfo
ALSA Sequencer System Info, version: 0.5.0
Compiled ALSA library: 1.0.23
Runtime ALSA library: 1.0.23
Runtime ALSA drivers: 1.0.21.
Numeric ALSA compiled library: 10017
Numeric ALSA runtime library: 10017
Numeric ALSA runtime driver: 10015

Will Fedora13 or "runtime ALSA drivers: 1.0.23" remedy this situation?
(Probably not EWS88D is a pretty old card and I don't see any changes
related to it recently). The target machine for this card will actually be
running Fedora13, however, that machine hasn't been decommissioned, wiped,
or setup for that purpose yet....

Niels
http://nielsmayer.com

PS: (*) Anybody know where to find/build a 9-pin MIDI cable for the EWS88D?
Will the RME HDSP9652 cable fit/work?
http://www.bananasmusic.com/productdetail.asp/pid_3970/productname_RME-BOHDSP9652MIDI-MIDI-Breakout-Cable

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Sep 13 20:15:05 2010

This archive was generated by hypermail 2.1.8 : Mon Sep 13 2010 - 20:15:05 EEST