[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/sndstat





Ron Johnson wrote:
On 01/11/09 22:34, M. Lewis wrote:
Ron Johnson wrote:
On 01/11/09 21:55, M. Lewis wrote:


[snip]


No, but I can show you what mine look like. It's a Sid box running a hand-rolled kernel based on linux-source-2.6.28. (The machine is about 3 months old, so also worked with 2.6.24.)


$ lspci | grep Audio
00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)


$ lsmod | grep snd
snd_hda_intel         435324  3
snd_pcm                77896  1 snd_hda_intel
snd_seq                51376  1
snd_timer              21776  2 snd_pcm,snd_seq
snd_seq_device          7828  1 snd_seq
snd 60856 12 snd_hda_intel,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore               7952  1 snd
snd_page_alloc          9104  2 snd_hda_intel,snd_pcm


# cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.17 emulation code)
Kernel: Linux haggis 2.6.27smp64 #3 SMP Tue Dec 23 02:25:46 CST 2008 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA NVidia at 0xfe024000 irq 21

Audio devices: NOT ENABLED IN CONFIG

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers: NOT ENABLED IN CONFIG


Thanks Ron, that helps some. At least I know what a working one looks like.

A little bit more detail, which correlates /dev/sndstat to lspci :

$ lspci -v -s00:06.1
00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
        Subsystem: Foxconn International, Inc. Device 0d12
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
        Memory at fe024000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

See how the "Card config:" matches the lspci info.


moe:~# lspci -v -s14.2
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
        Subsystem: Giga-byte Technology Device a002
        Flags: slow devsel, IRQ 16
        Memory at fe024000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Kernel modules: snd-hda-intel


Do you happen to know what that fast devsel / slow devsel business is about?

Thanks,
Mike

--

 Any given program will expand to fill available memory.
  23:30:01 up  2:44,  1 user,  load average: 0.00, 0.00, 0.00

 Linux Registered User #241685  http://counter.li.org


Reply to: