Sound card problem

Sébastien Morand seb.morand at gmail.com
Tue Apr 8 08:53:14 UTC 2008


Hi,

I don't really ge an anwser to my own question, but I get a solution
to have my sound card working: use OSS and it's automatically
detected. My steps:
- Remove envy24ht from loader.conf
- Install oss (src required)
- Enable oss un rc.conf at boot time

dsp* devices are created, my sound card is dsp or dsp0. It's working
fine and I can manage the sound.

Sébastien

On Sun, Apr 6, 2008 at 8:45 PM, Sébastien Morand <seb.morand at gmail.com> wrote:
> Hi,
>
>  I have a problem using my soundcard:
>  I'm not able to hear anything and I can't change the volume :
>  [20:39:16] root at mellba:~
>  Mixer vol      is currently set to  75:75
>  Mixer treble   is currently set to   0:0
>  Mixer synth    is currently set to   0:0
>  Mixer pcm      is currently set to  75:75
>  Mixer speaker  is currently set to   0:0
>  Mixer line     is currently set to  75:75
>  Mixer mic      is currently set to   0:0
>  Mixer cd       is currently set to   0:0
>  Mixer mix      is currently set to   0:0
>  Recording source: mic
>  [20:39:18] root at mellba:~
>  # mixer speaker 50:50
>  Setting the mixer speaker from 0:0 to 50:50.
>  mixer: WRITE_MIXER: Device not configured
>
>  Here is my kldstat:
>  # kldstat
>  Id Refs Address    Size     Name
>   1   15 0xc0400000 906518   kernel
>   2    1 0xc0d07000 a634     reiserfs.ko
>   3    1 0xc0d12000 80c8     snd_envy24ht.ko
>   4    3 0xc0d1b000 4a5ac    sound.ko
>   5    2 0xc0d66000 2a58     snd_spicds.ko
>   6    1 0xc0d69000 6a32c    acpi.ko
>   7    1 0xc4c58000 3000     pflog.ko
>   8    1 0xc4c5b000 33000    pf.ko
>   9    1 0xc4ce1000 22000    linux.ko
>  10    1 0xc4d45000 4000     logo_saver.ko
>
>  The sound is correctly detected:
>  # cat /dev/sndstat
>  FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
>  Installed devices:
>  pcm0: <Envy24HT audio (Generic)> at io 0xa000:32,0xa400:128 irq 18 [GIANT]
> (1p:4v/5r:4v channels duplex default)
>  [20:40:43] root at mellba:~
>  # dmesg | grep pcm0
>  pcm0: <Envy24HT audio (Generic)> port 0xa000-0xa01f,0xa400-0xa47f irq 18 at
> device 6.0 on pci5
>  pcm0: [GIANT-LOCKED]
>  pcm0: [ITHREAD]
>  pcm0: system configuration
>  pcm0: unregister: mixer busy
>
>  I don't understand the mixer busy stuff, and I assume it where my problem
> is.
>  I can't unload the module:
>  kldunload: can't unload file: Device busy
>
>  Hope you will be able to help me
>
>  Sébastien
>


More information about the freebsd-questions mailing list