Re: Fedora FC4 kernel 2.6.12 Ogle 0.9.2 . Starting then failing

Bj|rn Englund <[email protected]> Mon, 5 Sep 2005 12:13:34 +0200
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
Tue Aug 23 2005, Clive at Rational wrote:
> 

> and I can't find something that looks like
> 
> hw:0,0
> 
> What value am I looking for and in which file do I
> find it?
> 
I'm no expert on alsa but this is what I think you can do.
If you do 'cat /proc/asound/devices' you get something like this:
cat /proc/asound/devices
  1:       : sequencer
 18: [0- 2]: digital audio playback
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer

the values inside [] are the hardware (hw) device numbers.
Look for the lines 'digital audio playback'
In my case this is [0-2] and [0-0] which would result in the device names
hw:0,2 and hw:0,0. 
You can look around a bit more in the /proc/asound files to find out
what the difference is between the audio playback devices.
For instance hw:0,2 is the iec958/spdif digital output device on my card
and 0,0 is the normal analog device. Though I have to use hw:0,0
even if I want to get the digital output from my card, so I don't know
exactly how alsa handles this.

/Bj|rn