Current-Users archive

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

hdaudio(4) & mixerctl(1) strangeness ...



Hi,

While looking into sound support status for my Sony VAIO VGN-BZ12VN
running -current, i noticed that mixerctl(1) report some strange
256 values for some outputs.master volume deltas.

njoly@nicodeme [~]> mixerctl -av
inputs.reclvl=64,64 volume delta=8
inputs.reclvl.mute=off  [ off on ]
inputs.record=184,184 volume delta=8
inputs.record.mute=off  [ off on ]
inputs.beep=184,184 volume delta=8
inputs.beep.mute=off  [ off on ]
inputs.beep2=184,184 volume delta=8
inputs.beep2.mute=off  [ off on ]
outputs.master=240,240 volume delta=8
outputs.master2=0,0 volume delta=256
outputs.master2.mute=off  [ off on ]
outputs.master3=0,0 volume delta=256
outputs.master3.mute=off  [ off on ]
outputs.master4=0,0 volume delta=256
outputs.master4.mute=off  [ off on ]
outputs.master5=0,0 volume delta=256
outputs.master5.mute=off  [ off on ]
record.mic=0,0 volume delta=64
outputs.dacsel=DAC00  { DAC00 }
record.source=ADC01  { ADC01 }

The mixerctl man page states that the volume values are restricted to
the 0-255 range ... I fail to see what's a delta value of 256 will do
here, but it seems to have an unexpected behaviour here :

njoly@nicodeme [~]> mixerctl -w outputs.master2++
outputs.master2: 0,0 -> 128,128
njoly@nicodeme [~]> mixerctl -w outputs.master2++
outputs.master2: 128,128 -> 128,128

Any idea what's going on there ?

hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0: vendor 0x10ec product 0x0262 nid 0x01 (firmware 
configuration)
hdafg0: DAC0:02, Analog Speaker: Fixed Function (Unknown, 14)
hdafg0: DAC0:02, Analog HP Out: Jack (Black, 15)
hdafg0: ADC1:09, Analog Mic In: Jack (Red, 18)
hdafg0: ADC1:09, Analog Mic In: Fixed Function (Unknown, 12)
hdafg0: 2ch/2ch 44100Hz-192000Hz 16/16 20/32 24/32
audio0 at hdafg0: full duplex, playback, capture, independent
hdvsmfg at hdaudio0: vendor 0x14f1 product 0x2c06 nid 0x02 not configured

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index