On Fri, Jul 4, 2008 at 12:18 AM, William L. Maltby CentOS4Bill@triad.rr.com wrote:
On Thu, 2008-07-03 at 07:57 -0500, Alex White wrote:
<snip>
Not entirely sure what one would glean from /proc other than that the card is present and drivers are loaded for it. There's lengthy output for my sound device. I won't paste all of it, but everything is located in /proc/asound. My device is also listed under /proc/devices as one would expect.
/proc delivers the *truth*. And for some things, settings can be changed there that are not easily addressed through utilities. ..... After this, I'll pop in Mark Knoppfler's "Shangri-La" and diff the two files. # cd /proc/asound # find . -type f -exec echo {} ; -exec cat {} ; >/tmp/asound
I guess alsa and /proc are all fine on my machine, but I've got a blank result on /proc/asound running following find, no sure if that was significant:
[asound]$ find . -type f -exec echo {} ; -exec cat {} ; > /tmp/asound
$ rpm -qa | grep -i alsaalsa-utils-1.0.14-3.rc4.el5 alsa-lib-devel-1.0.14-1.rc4.el5 alsa-lib-1.0.14-1.rc4.el5
]$ rpm --verify alsa-lib-1.0.14-1.rc4.el5.i386 alsa-utils-1.0.14-3.rc4.el5.i386 | echo $? 0
[asound]$ ls card0 cards devices Intel modules oss pcm seq timers version
[asound]$ pwd && cat modules && cat cards /proc/asound 0 snd_hda_intel 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xf0500000 irq 66
I've also tried to ls in /proc/asound/Intel:
$ ls codec#0 codec#1 id oss_mixer pcm0c pcm0p pcm2c
Seems, all drivers there, is there any command such as cat to verify low level drivers by playing a sound?
Thank you.
Jim