2007/8/29, Takashi Iwai tiwai@suse.de:
At Tue, 28 Aug 2007 21:41:32 +0300, Maxim Levitsky wrote:
About 3 (volume-knob), we'd need a bit more checks and tests. Does the volume knob widget work always as a mater control regardless whetehr the real hardware component exists or not? I.e. can we use it blindly?
According to datasheet, it works, also driver already assumes it there, and sets it to maximum volume see hda_verb stac922x_core_init, hda_verb d965_core_init, hda_verb stac927x_core_init,hda_verb stac9205_core_init
Interesting. So, writing to the volume knob widget actually works just like a normal mixer amp?
Yes, but volumeknob doesn't support standard verbs that amps do, thus I coded it as a custom control, but generally it is a amp
Tobin, Matt, could you test these patches, especially patch 3, with your hardwares? Anyone who has STAC92xx hardwares are welcome for testing it, too!
Thanks,
Takashi
Hi,
Thanks for review, I will fix all things you pointed out, but I am coding against latest linus' kernel tree, and snd_ctl_boolean_mono_info() isn't there, and thus I didn't use it, I will download latest alsa tree, and compile against it
But I have a question: can I only complile snd-hda-intel from that tree, and leave kernel's sound core modules?
If you build from alsa-driver tree, then yes, only modules.
You can get use kernel.git perex/alsa.git mm branch for the latest ALSA codes, too: http://git.kernel.org/?p=linux/kernel/git/perex/alsa.git;a=shortlog;h=mm
thanks,
Takashi
Hi, Thanks for information, I will send updated patches soon.
Best regards, Maxim Levitsky