I'm running a Toshiba M6 laptop with the '82801G (ICH7 Family) High Definition Audio' chip [as reported by pciconf]. I'm running FreeBSD 6.4-stable, ports were updated today, and oss built today [4.1-build1050].
I have disabled any native FreeBSD drivers, and osscore.ko and oss_hdaudio.ko are loaded.
I can run ossinfo, ossdetect, and osstest. They all print out messages as though everything works. However, there is no sound.
Here are the relevant bits:
During boot:
Code: Select all
oss_hdaudio: Unknown HDA codec 0x11c13026
oss_hdaudio: Unknown HDA codec 0x11c13026
oss_hdaudio0: <Intel> mem 0xffd3c000-0xffd3ffff irq 22 at device 27.0 on pci0
Ossinfo:
Code: Select all
Version info: OSS 4.1 (b 1050/200812151834) (0x00040100) BSD
Platform: FreeBSD/i386 6.4-STABLE FreeBSD 6.4-STABLE #0: Tue Dec 2 16:25:00 CST
2008 root@icclaptop:/usr/obj/usr/src/sys/ICC_8 (icclaptop)
Number of audio devices: 10
Number of audio engines: 10
Number of mixer devices: 1
Device objects
0: oss_hdaudio0 Intel HD Audio interrupts=2433 (2433)
HD Audio controller Intel HD Audio
Vendor ID 0x808627d8
Subvendor ID 0x11790001
Codec 0: AD1981 (0x11d41981/0x11790311)
Codec 1: Unknown (0x11c13026)
Mixer devices
0: High Definition Audio AD1981 (Mixer 0 of device object 0)
Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer1
Priority: 10
Caps:
Audio devices
HD Audio play play /dev/oss/oss_hdaudio0/pcm0 (device index 0)
Legacy device /dev/dsp6
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: Available for use
Out engine 2: Available for use
Out engine 3: Available for use
Out engine 4: Available for use
Out engine 5: Available for use
Out engine 6: Available for use
Out engine 7: Available for use
Out engine 8: Available for use
Out engine 9: Available for use
HD Audio play (null) /dev/oss/oss_hdaudio0/pcm1 (device index 1)
Legacy device /dev/dsp7
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: Available for use
HD Audio play play (vmix) /dev/oss/oss_hdaudio0/pcm2 (device index 2)
Legacy device /dev/dsp8
Caps: TRIGGER MMAP VIRTUAL
Modes: OUTPUT
Out engine 1: Available for use
Out engine 2: Available for use
Out engine 3: Available for use
Out engine 4: Available for use
Out engine 5: Available for use
Out engine 6: Available for use
Out engine 7: Available for use
Out engine 8: Available for use
HD Audio play play (vmix) /dev/oss/oss_hdaudio0/pcm3 (device index 3)
Legacy device /dev/dsp9
Caps: TRIGGER MMAP VIRTUAL
Modes: OUTPUT
Out engine 1: Available for use
Out engine 2: Available for use
Out engine 3: Available for use
Out engine 4: Available for use
Out engine 5: Available for use
Out engine 6: Available for use
Out engine 7: Available for use
HD Audio play play (vmix) /dev/oss/oss_hdaudio0/pcm4 (device index 4)
Legacy device /dev/dsp10
Caps: TRIGGER MMAP VIRTUAL
Modes: OUTPUT
Out engine 1: Available for use
Out engine 2: Available for use
Out engine 3: Available for use
Out engine 4: Available for use
Out engine 5: Available for use
Out engine 6: Available for use
HD Audio play play (vmix) /dev/oss/oss_hdaudio0/pcm5 (device index 5)
Legacy device /dev/dsp11
Caps: TRIGGER MMAP VIRTUAL
Modes: OUTPUT
Out engine 1: Available for use
Out engine 2: Available for use
Out engine 3: Available for use
Out engine 4: Available for use
Out engine 5: Available for use
HD Audio play play (vmix) /dev/oss/oss_hdaudio0/pcm6 (device index 6)
Legacy device /dev/dsp12
Caps: TRIGGER MMAP VIRTUAL
Modes: OUTPUT
Out engine 1: Available for use
Out engine 2: Available for use
Out engine 3: Available for use
Out engine 4: Available for use
HD Audio play play (vmix) /dev/oss/oss_hdaudio0/pcm7 (device index 7)
Legacy device /dev/dsp13
Caps: TRIGGER MMAP VIRTUAL
Modes: OUTPUT
Out engine 1: Available for use
Out engine 2: Available for use
Out engine 3: Available for use
HD Audio play play (vmix) /dev/oss/oss_hdaudio0/pcm8 (device index 8)
Legacy device /dev/dsp14
Caps: TRIGGER MMAP VIRTUAL
Modes: OUTPUT
Out engine 1: Available for use
Out engine 2: Available for use
HD Audio play play (vmix) /dev/oss/oss_hdaudio0/pcm9 (device index 9)
Legacy device /dev/dsp15
Caps: TRIGGER MMAP VIRTUAL
Modes: OUTPUT
Out engine 1: Available for use
For the devices that toss errors in the following snippet, this is also printed to the console:
Code: Select all
oss_hdaudio: No suitable rate found!
oss_hdaudio: No suitable rate found!
osscore: internal format error 2
osstest:
Code: Select all
Sound subsystem and version: OSS 4.1 (b 1050/200812151834) (0x00040100)
Platform: FreeBSD/i386 6.4-STABLE FreeBSD 6.4-STABLE #0: Tue Dec 2 16:25:00 CST 2008 roo
*** Scanning sound adapter #-1 ***
/dev/oss/oss_hdaudio0/pcm0 (audio engine 0): HD Audio play play
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/oss_hdaudio0/pcm1 (audio engine 1): HD Audio play (null)
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/oss_hdaudio0/pcm2 (audio engine 2): HD Audio play play (vmix)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/oss_hdaudio0/pcm3 (audio engine 3): HD Audio play play (vmix)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/oss_hdaudio0/pcm4 (audio engine 4): HD Audio play play (vmix)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/oss_hdaudio0/pcm5 (audio engine 5): HD Audio play play (vmix)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/oss_hdaudio0/pcm6 (audio engine 6): HD Audio play play (vmix)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/oss_hdaudio0/pcm7 (audio engine 7): HD Audio play play (vmix)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/oss_hdaudio0/pcm8 (audio engine 8): HD Audio play play (vmix)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/oss_hdaudio0/pcm9 (audio engine 9): HD Audio play play (vmix)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
*** Some errors were detected during the tests ***
ossdetect -v
Code: Select all
Detected Intel High Definition Audio (ICH7)
If we're just not quite there yet and this thing doesn't work, it doesn't work. I'm OK with that. But, if there is something I've missed [this is my first foray into OSS, been a FreeBSD user/abuser for ~9 years] and can get this working, that would be loverly.
Thanks!