At Sun, 06 Jul 2003 13:06:59 +0200, Dennis van der Meer wrote: > > Hi, > > I am sorry to bring this topic up again since I've asked several questions > about this card and the alsa drivers already but I'm still at a loss when it > comes to enabling the digital in/out on this card and actually playing sound > through this interface. > > When I was asked to include my asound.state I assumed that this file was > created during startup (when the card is initialised). After removing the file, > because I thought it contained old values, I found out that it wasn't coming > back. After some digging I found out that there's a tool alsactl that creates > this file with info from the card itself. > I have recreated this file with this tool and I found the IEC958 Playback > Switch. > With this switch I should be able to enable the digital out. After playing > around with this switch nothing seems to happen. > It seems that I need to switch a couple of bits around to enable this > interface I guess. Since I don't know the possible consequences of > changing some values in this file and writing it to the card I thought it would > be better to ask on this list. > So, could anyone tell me what values for which controls need to be changed > in order to enable the digital out?
in addition to IEC958 Playback Switch, there is a control which configures the IEC958 status bits. these bits give some important information such as sample rate, transfer mode, etc. the problem is that they are represented in byte arrays and pretty cryptic for end-users. so, i wrote a small utility to dump and modify these bits: http://www.alsa-project.org/~iwai/iecdump-0.1.tar.bz2 or ftp://ftp.suse.com/pub/people/tiwai/misc/iecdump-0.1.tar.bz2 (the latter will appear later due to sync) you can get the current status via iecdump and modify with iecset. you'll need to set up at least the correct sample rate to play back a file. (also don't forget to turn on "IEC958 Playback Switch" in addition.) Takashi ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user