NetBSD-Users archive

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

Re: OSS audio results in noise (when playing bass-heavy music)



On Sat, Apr 16, 2016 at 05:02:29PM +0200, Timo Buhrmester wrote:
> > I can't control the mixer levels in NetBSD. I don't even have
> > 'outputs.master' in mixerctl, probably because I use Intel HD audio.
> I'm currently investigating an unrelated sound issue and found that
> 'inputs.dac' controls my master output volume, maybe the mapping between
> mixerctl knobs and what they control is messed up for you too.
> 
> FWIW my audio hardware is (from dmesg):
> | hdaudio1 at pci0 dev 20 function 2: HD Audio Controller
> | hdaudio1: interrupting at ioapic0 pin 16
> | hdafg1 at hdaudio1: vendor 1106 product 0397
> | hdafg1: DAC00 8ch: Speaker [Jack], HP Out [Jack]
> | hdafg1: ADC01 2ch: CD [Built-In], Line In [Jack], Mic In [Jack]
> | hdafg1: DIG02 2ch: Digital Out [Jack]
> | hdafg1: DIG03 2ch: SPDIF Out [Jack]
> | hdafg1: 8ch/2ch 48000Hz PCM16*
> | audio0 at hdafg1: full duplex, playback, capture, mmap, independent

hi, unfortunately I don't have these controls in mixerctl either, and
I've tried all the other numerical ones and they seem to have no effect.

the dmesg output is pretty ridiculous:

hdaudio0 at pci4 dev 0 function 1: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 17
hdafg0 at hdaudio0: vendor 10de product 0040
hdafg0: DP00 8ch: Digital Out [Jack]
hdafg0: DP01 8ch: Digital Out [Jack]
hdafg0: DP02 8ch: Digital Out [Jack]
hdafg0: DP03 8ch: Digital Out [Jack]
hdafg0: 8ch/0ch 48000Hz PCM16*
hdaudio1 at pci0 dev 27 function 0: HD Audio Controller
hdaudio1: interrupting at ioapic0 pin 22
hdafg1 at hdaudio1: vendor 1102 product 0011
hdafg1: DAC00 2ch: Speaker [Jack]
hdafg1: DIG01 2ch: SPDIF Out [Jack]
hdafg1: DAC02 2ch: HP Out [Jack]
hdafg1: ADC03 2ch: Line In [Jack]
hdafg1: ADC04 2ch: Mic In [Jack]
hdafg1: 2ch/2ch 48000Hz PCM16*
audio0 at hdafg1: full duplex, playback, capture, mmap, independent

I assume the first part is for my graphics card. I can't use it with
my headphones.

mixerctl -a looks as follows:

inputs.reclvl=0,0
inputs.reclvl2=0,0
inputs.line=0,0
record.mic=0,0
inputs.beep=248,248
inputs.beep.mute=off
outputs.dacsel=DAC00,DIG01,DAC02
record.source=ADC03,ADC04

It's very silly, I've got all these audio ports and only DAC00 works,
and I have to be careful not to reboot my machine instead of powering
off and starting again, because then audio will cease to work.

The same behaviour exists in Linux.

Thanks for the suggestion!


Home | Main Index | Thread Index | Old Index