From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raymond Yau Subject: Re: alsactl restore: unknown hardware: ymf724f Date: Thu, 1 Apr 2010 22:05:29 +0800 Message-ID: References: <4f3252891002251511p4605f104jdac236e589d01149@mail.gmail.com> <1267193154.29204.0.camel@localhost.localdomain> <4f3252891002271729p6eb66724v62ce97ea9a6eb577@mail.gmail.com> <4f3252891003280552y29015aeav7b68e9972371325b@mail.gmail.com> <4f3252891003281810r38e61306w83ebfe9ad2b8c69f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-pv0-f179.google.com (mail-pv0-f179.google.com [74.125.83.179]) by alsa0.perex.cz (Postfix) with ESMTP id 2986B1038A5 for ; Thu, 1 Apr 2010 16:05:31 +0200 (CEST) Received: by pvg12 with SMTP id 12so367051pvg.38 for ; Thu, 01 Apr 2010 07:05:30 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: ALSA Development Mailing List List-Id: alsa-devel@alsa-project.org 2010/3/29 Angel Tsankov > Raymond Yau wrote: > >> 2010/3/29 Angel Tsankov >> >> Raymond Yau wrote: >>> >>>> 2010/3/26 Angel Tsankov >>>> >>>> Hello again! >>>>> >>>>> I've recently had some time to investigate this problem further on and >>>>> here's what I've discovered: >>>>> >>>>> Raymond Yau wrote: >>>>> >>>>>> 2010/2/26 Pacho Ramos >>>>>> >>>>>> El vie, 26-02-2010 a las 13:57 +0200, Angel Tsankov escribi=F3: >>>>>>> >>>>>>>> Raymond Yau wrote: >>>>>>>> >>>>>>>>> 2010/2/25 Jaroslav Kysela >>>>>>>>> >>>>>>>>> On Thu, 25 Feb 2010, Angel Tsankov wrote: >>>>>>>>>> >>>>>>>>>> Jaroslav Kysela wrote: >>>>>>>>>>> >>>>>>>>>>>> On Thu, 25 Feb 2010, Angel Tsankov wrote: >>>>>>>>>>>> >>>>>>>>>>>> Hello, >>>>>>>>>>>>> >>>>>>>>>>>>> I run 'alsactl restore' on a machine with 2 sound cards -- a >>>>>>>>>>>>> >>>>>>>>>>>> built-in >>>>>>> >>>>>>>> Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller >>>>>>>>>>>>> >>>>>>>>>>>> (rev >>>>>>> >>>>>>>> 02) and a non-built-in Yamaha Corporation YMF-724F [DS-1 Audio >>>>>>>>>>>>> Controller] (rev 03) -- and get the following message: >>>>>>>>>>>>> >>>>>>>>>>>>> Unknown hardware: "YMF724F" "SigmaTel STAC9700,83,84" >>>>>>>>>>>>> >>>>>>>>>>>> "AC97a:83847600" >>>>>>> >>>>>>>> "0x1073" "0x000d" >>>>>>>>>>>>> Hardware is initialized using a guess method >>>>>>>>>>>>> >>>>>>>>>>>>> As a consequence the volume levels of the Yamaha card do not >>>>>>>>>>>>> get >>>>>>>>>>>>> restored to the levels stored in /etc/asound.state. The volu= me >>>>>>>>>>>>> >>>>>>>>>>>> levels >>>>>>> >>>>>>>> of the built-in card however are properly restored. The >>>>>>>>>>>>> >>>>>>>>>>>> asound.state >>>>>>> >>>>>>>> file has been created by executing 'alsactl store'. >>>>>>>>>>>>> >>>>>>>>>>>>> your problem is "alsactl restore" become "alsactl init" when >>>>>> the number >>>>>> >>>>> of >>>>> >>>>>> controls is more than those in state file. >>>>>> >>>>> I'm not quite sure that the case is this since 'alsactl restore' does >>>>> restore the values of the Yamaha sound card (and those of the other >>>>> card, too) and 'alsactl restore 1' seems to just initialize the Yamaha >>>>> card. This is with alsa-utils version 1.0.22. >>>>> >>>>> "Hardware is initialized using a guess method " is the message used >>>> by >>>> alsactl init >>>> >>>> >>>> >>> http://git.alsa-project.org/?p=3Dalsa-utils.git;a=3Dcommitdiff;h=3D9a74= 8178d1c9e783242f0cc794ab3efb27092f34;hp=3D0c02a4e3d23c7b5d03215f1bfaba9f70e= d11e9b7 >>> >>> I don't get what you mean. Could you explain a little bit more? >>> >>> post the output of alsa-info.sh after "alsactl init" >> >> and immeditate after the system boot >> > > I'm sending the requested output as an attachment. > > Angel Tsankov > As you can see the driver has 79 controls but only 48 controls saved in the asound.state that is why "alsactl restore" become "alsactl init" !!Amixer output !!------------- !!-------Mixer controls for card 0 [YMF724F] Card hw:0 'YMF724F'/'Yamaha DS-1 (YMF724F) at 0xfb000000, irq 5' Mixer name : 'SigmaTel STAC9700,83,84' Components : 'AC97a:83847600' Controls : 79 Simple ctrls : 31