From: Takashi Iwai Subject: Re: [PATCH] ALS300(+) Date: Thu, 16 Feb 2006 19:53:35 +0100 Message-ID: References: <20060131170846.859D21CE306@ws1-6.us4.outblaze.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20060131170846.859D21CE306@ws1-6.us4.outblaze.com> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Ash Willis Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 31 Jan 2006 12:08:44 -0500, Ash Willis wrote: > > Hi, sorry for the slow response. > > > BTW, could you try the patch below whether the suspend/resume works? > > If your machine isn't a laptop, try the following: > > > > # echo 3 > /sys/device/pci*/$YOUR-ALS300/power/state > > (it's a pseudo suspend on the given device) > > > > # echo 0 > /sys/device/pci*/$YOUR-ALS300/power/state > > (it's a pseudo resume on the given device) > > Your pm patch, for me at least, seems to result in the same behaviour that Giuliano Pochini has described regarding the echo driver. The pm callbacks never seem to get called. Maybe i'm doing something wrong, i've never touched power management before. > Reading the power/state file always gives a value of 0. I don't know if this is correct behaviour. > > Anything i should do to make sure power management is all set up properly? It turned out that the right command sequence is echo -n 3 > /sys/.... The sysfs interface doesn't accept the linefeed. Sigh. Takashi ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642