I have the snd_hda driver which creates /dev/dsp0.0 and /dev/sndstat but
I get no sound when I do cat /bin/sh > /dev/dsp0.0.
I know I need to change device hints etc. but I'm not sure to which ones.
/dev/sndstat attached with verbose level 3

FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: <HDA Realtek ALC888 PCM #0 Analog> at cad 0 nid 1 on hdac0 kld
snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
        [pcm0:play:dsp0.p0]: spd 48000, fmt 0x10000010, flags 0x00101000,
0x00000020
        interrupts 218, underruns 0, feed 218, ready 0
[b:4096/2048/2|bs:4096/2048/2]
        {userland} -> feeder_vchan(0x10000010) -> feeder_volume(0x10000010) ->
{hardware}
        pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 8000/48000, fmt
0x00000008/0x10000010, flags 0x10000000, 0x00000008
        interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:4096/128/32]
        {userland} -> feeder_root(0x00000008) -> feeder_8to16(0x00000008 ->
0x00000080) -> feeder_rate(8000 -> 48000) ->
feeder_monotostereo16(0x00000080 -> 0x10000080) ->
feeder_sign16(0x10000080 -> 0x10000010) -> {hardware}
        [pcm0:record:dsp0.r0]: spd 48000, fmt 0x10000010, flags 0x00101000,
0x00000000
        interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096
[b:4096/2048/2|bs:4096/2048/2]
        {hardware} -> feeder_root(0x10000010) -> feeder_vchan(0x10000010) ->
{userland}
        pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 0, fmt
0x00000000/0x00000008, flags 0x10000000, 0x00000000
        interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]
        {hardware} -> feeder_root(0x00000000) -> {userland}
pcm1: <HDA Realtek ALC888 PCM #1 Analog> at cad 0 nid 1 on hdac0 kld
snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex)
        [pcm1:play:dsp1.p0]: spd 48000, fmt 0x10000010, flags 0x00101000,
0x00000020
        interrupts 0, underruns 0, feed 0, ready 0 
[b:4096/2048/2|bs:4096/2048/2]
        {userland} -> feeder_vchan(0x10000010) -> feeder_volume(0x10000010) ->
{hardware}
        pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp0]: spd 0, fmt
0x00000000/0x00000008, flags 0x10000000, 0x00000000
        interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]
        {userland} -> feeder_root(0x00000000) -> {hardware}
        [pcm1:record:dsp1.r0]: spd 48000, fmt 0x10000010, flags 0x00101000,
0x00000000
        interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096
[b:4096/2048/2|bs:4096/2048/2]
        {hardware} -> feeder_root(0x10000010) -> feeder_vchan(0x10000010) ->
{userland}
        pcm1:record:dsp1.r0[pcm1:virtual:dsp1.vr0]: spd 0, fmt
0x00000000/0x00000008, flags 0x10000000, 0x00000000
        interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]
        {hardware} -> feeder_root(0x00000000) -> {userland}
pcm2: <HDA Realtek ALC888 PCM #2 Digital> at cad 0 nid 1 on hdac0 kld
snd_hda [MPSAFE] (1p:1v/0r:0v channels)
        [pcm2:play:dsp2.p0]: spd 48000, fmt 0x10000010, flags 0x00101000,
0x00000000
        interrupts 0, underruns 0, feed 0, ready 0 
[b:4096/2048/2|bs:4096/2048/2]
        {userland} -> feeder_vchan(0x10000010) -> {hardware}
        pcm2:play:dsp2.p0[pcm2:virtual:dsp2.vp0]: spd 0, fmt
0x00000000/0x00000008, flags 0x10000000, 0x00000000
        interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]
        {userland} -> feeder_root(0x00000000) -> {hardware}

File Versions:
$FreeBSD$
$FreeBSD$
-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to