From: hawk on
I'm finally getting around to playing with sound (largely because dosbox
choked over its absnce when I went to play an ancient game :)

Anyway, this is a Compaq Presario F767NR--a basic disposable sub $500.
(For anyone searching for this model, the wifi works with Sam's updated
HAL, and the binary driver for X installs easily.)

Anyway, I checked the hardware list at
http://www.freebsd.org/releases/7.0R/hardware.html
and it appears that snd_hda is the appropriate choice, but

redtail ttyp2:/root# kldload /boot/kernel/snd_hda.ko
redtail ttyp2:/root# kldstat
Id Refs Address Size Name
1 12 0xc0400000 63bdc0 kernel
2 1 0xc0a3c000 711edc nvidia.ko
3 2 0xc114e000 28494 linux.ko
4 1 0xc1177000 6a2b4 acpi.ko
5 1 0xc61f6000 14000 snd_hda.ko
redtail ttyp2:/root# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: <NVidia MCP67 High Definition Audio Controller> at memory
0xf6480000 irq 21 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v
channels duplex default)
redtail ttyp2:/root# ls /dev/dsp /dev/pcm*
ls: No match.

The hda driver is indicated for nVida MCP65A and MCP65B, as well has
generic chipsets supporting hda.

Oh, and from dmesg,

pcm0: <NVidia MCP67 High Definition Audio Controller> mem
0xf6480000-0xf6483fff irq 21 at device 7.0 on pci0
pcm0: [ITHREAD]
pcm0: <HDA Codec: Conexant (Unknown)>
pcm0: <HDA Driver Revision: 20080420_0052>

For the kernel config, I've added,

# sound
device sound
device snd_hda

Am I missing something obvious again?

thanks

hawk
From: Lowell Gilbert on
hawk(a)eyry.org writes:

> I'm finally getting around to playing with sound (largely because dosbox
> choked over its absnce when I went to play an ancient game :)
>
> Anyway, this is a Compaq Presario F767NR--a basic disposable sub $500.
> (For anyone searching for this model, the wifi works with Sam's updated
> HAL, and the binary driver for X installs easily.)
>
> Anyway, I checked the hardware list at
> http://www.freebsd.org/releases/7.0R/hardware.html
> and it appears that snd_hda is the appropriate choice, but
>
> redtail ttyp2:/root# kldload /boot/kernel/snd_hda.ko
> redtail ttyp2:/root# kldstat
> Id Refs Address Size Name
> 1 12 0xc0400000 63bdc0 kernel
> 2 1 0xc0a3c000 711edc nvidia.ko
> 3 2 0xc114e000 28494 linux.ko
> 4 1 0xc1177000 6a2b4 acpi.ko
> 5 1 0xc61f6000 14000 snd_hda.ko
> redtail ttyp2:/root# cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> Installed devices:
> pcm0: <NVidia MCP67 High Definition Audio Controller> at memory
> 0xf6480000 irq 21 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v
> channels duplex default)
> redtail ttyp2:/root# ls /dev/dsp /dev/pcm*
> ls: No match.
>
> The hda driver is indicated for nVida MCP65A and MCP65B, as well has
> generic chipsets supporting hda.
>
> Oh, and from dmesg,
>
> pcm0: <NVidia MCP67 High Definition Audio Controller> mem
> 0xf6480000-0xf6483fff irq 21 at device 7.0 on pci0
> pcm0: [ITHREAD]
> pcm0: <HDA Codec: Conexant (Unknown)>
> pcm0: <HDA Driver Revision: 20080420_0052>
>
> For the kernel config, I've added,
>
> # sound
> device sound
> device snd_hda
>
> Am I missing something obvious again?

I haven't read this closely, but one thing worth checking is whether
loading snd_driver will show you that another driver can attach to the
device.

--
Lowell Gilbert, embedded/networking software engineer
http://be-well.ilk.org/~lowell/
From: hawk on
In article <44ljumfn0s.fsf(a)be-well.ilk.org>,
Lowell Gilbert <lgusenet(a)be-well.ilk.org> wrote:
>hawk(a)eyry.org writes:

>> Anyway, this is a Compaq Presario F767NR--a basic disposable sub $500.

>I haven't read this closely, but one thing worth checking is whether
>loading snd_driver will show you that another driver can attach to the
>device.

That's how I found snd_hda.

After unloading everything, it seems to be what comes back:

redtail ttyp2:/root# kldload snd_driver
redtail ttyp2:/root# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: <NVidia MCP67 High Definition Audio Controller> at memory
0xf6480000 irq 21 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v
channels duplex default)

hawk
From: Lowell Gilbert on
hawk(a)eyry.org writes:

> In article <44ljumfn0s.fsf(a)be-well.ilk.org>,
> Lowell Gilbert <lgusenet(a)be-well.ilk.org> wrote:
>>hawk(a)eyry.org writes:
>
>>> Anyway, this is a Compaq Presario F767NR--a basic disposable sub $500.
>
>>I haven't read this closely, but one thing worth checking is whether
>>loading snd_driver will show you that another driver can attach to the
>>device.
>
> That's how I found snd_hda.
>
> After unloading everything, it seems to be what comes back:
>
> redtail ttyp2:/root# kldload snd_driver
> redtail ttyp2:/root# cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> Installed devices:
> pcm0: <NVidia MCP67 High Definition Audio Controller> at memory
> 0xf6480000 irq 21 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v
> channels duplex default)

Okay, good. What exactly is the problem?

--
Lowell Gilbert, embedded/networking software engineer
http://be-well.ilk.org/~lowell/
From: hawk on
In article <44y6ykaj43.fsf(a)lowell-desk.lan>,
Lowell Gilbert <lgusenet(a)be-well.ilk.org> wrote:
>hawk(a)eyry.org writes:

>> That's how I found snd_hda.
>>
>> After unloading everything, it seems to be what comes back:
>>
>> redtail ttyp2:/root# kldload snd_driver
>> redtail ttyp2:/root# cat /dev/sndstat
>> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
>> Installed devices:
>> pcm0: <NVidia MCP67 High Definition Audio Controller> at memory
>> 0xf6480000 irq 21 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v
>> channels duplex default)
>
>Okay, good. What exactly is the problem?

The lack of /dev/dsp or anything else that I can recognize as an audio
device. According to the handbook, it should be there.

hawk