On Sun, Oct 10, 2010 at 3:19 PM, Raymond Yau <superquad.vortex2@xxxxxxxxx> wrote: > 2010/10/10 Mark Goldstein <goldstein.mark@xxxxxxxxx> > ... >> >> Now, I did another additional experiment. I installed latest git >> version of alsa driver from openSUSE 11.3 multimedia repository and >> got the same issue I had with 11.1 before: Line In control did not >> work while Front Mic control actually controls Line In. So at least >> this is consistent :-( >> > > Do you mean you have already tested this patch ? > > http://git.alsa-project.org/?p=alsa-kernel.git;a=commit;h=0c038a0767e71dcda4477479b9085853e6b4cd8b > It is possible. The binary RPM from openSUSE multimedia repository is called git20101007, that is dated by Oct 7th and this patch was committed on Oct 6th. I noticed one visible change: Input Source had "Rear Mic" instead of "Mic". > > Node 0x16 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In > Control: name="Master Front Playback Volume", index=0, device=0 > ControlAmp: chs=3, dir=In, idx=0, ofs=0 > Control: name="Master Front Playback Switch", index=0, device=0 > ControlAmp: chs=3, dir=In, idx=0, ofs=0 > Control: name="Mic Playback Volume", index=0, device=0 > ControlAmp: chs=3, dir=In, idx=1, ofs=0 > Control: name="Mic Playback Switch", index=0, device=0 > ControlAmp: chs=3, dir=In, idx=1, ofs=0 > Control: name="Line Playback Volume", index=0, device=0 > ControlAmp: chs=3, dir=In, idx=2, ofs=0 > Control: name="Line Playback Switch", index=0, device=0 > ControlAmp: chs=3, dir=In, idx=2, ofs=0 > Control: name="Front Mic Playback Volume", index=0, device=0 > ControlAmp: chs=3, dir=In, idx=3, ofs=0 > Control: name="Front Mic Playback Switch", index=0, device=0 > ControlAmp: chs=3, dir=In, idx=3, ofs=0 > Control: name="CD Playback Volume", index=0, device=0 > ControlAmp: chs=3, dir=In, idx=0, ofs=0 > Control: name="CD Playback Switch", index=0, device=0 > ControlAmp: chs=3, dir=In, idx=0, ofs=0 > Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 > Amp-In vals: [0x16 0x16] [0x19 0x19] [0x10 0x10] [0x1c 0x1c] [0x00 0x00] > [0x97 0x97] [0x97 0x97] > Power states: D0 D1 D2 D3 > Power: setting=D0, actual=D0 > Connection: 7 > 0x10 0x1f 0x1a 0x1b 0x1e 0x1d 0x25 > > > Node 0x17 [Audio Selector] wcaps 0x300501: Stereo > Control: name="Input Source", index=0, device=0 > Power states: D0 D1 D2 D3 > Power: setting=D0, actual=D0 > Connection: 6 > 0x1f 0x1a 0x1b 0x1e* 0x1d 0x16 > > > Simple mixer control 'Input Source',0 > Capabilities: cenum > Items: 'Stereo Mixer' 'Mic' 'Line' 'Front Mic' 'CD' > Item0: 'Front Mic' > > >> >> What is hda-emu you mentioned? I tried searching alsa site and got nothing. ... > > http://git.alsa-project.org/?p=alsa-kernel.git;a=blob;f=Documentation/sound/alsa/HD-Audio.txt > > hda-emu is a tool which just dumps the codec register changes and the > ALSA-driver internal changes at probing and operating the HD-audio driver > > You can easily know any difference in codec register changes in the working > version/non working version > > e.g. the codec read/write when you change "input source" from mic to front > mic or line in > Thanks, I downloaded it. Will read the document and try the hda-emu later. > > The driver deactivate "Headphone Playback Volume" and "Headphone Playback > Mute" control if "Independent HP" mode is OFF. > > > > http://git.alsa-project.org/?p=alsa-kernel.git;a=commit;h=0713efebfa1a1878feeeb17cbadc3d2d2c9e9ed2 > > control.13 { > iface MIXER > name 'Headphone Playback Volume' > value.0 33 > value.1 33 > comment { > access 'read write inactive' > type INTEGER > count 2 > range '0 - 42' > dbmin -6300 > dbmax 0 > dbvalue.0 -1350 > dbvalue.1 -1350 > } > } > control.14 { > iface MIXER > name 'Headphone Playback Switch' > value.0 true > value.1 true > comment { > access 'read write inactive' > type BOOLEAN > count 2 > } > } > > > Does alsamixer or amixer allow you to change the value of headphone > volume/switch when they are inactive ? No. The Headphone name is grayed and though it can be selected, the volume can't be changed. Thanks & regards, -- Mark Goldstein _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel