From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754679Ab1KWQy6 (ORCPT ); Wed, 23 Nov 2011 11:54:58 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:41820 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752592Ab1KWQy5 (ORCPT ); Wed, 23 Nov 2011 11:54:57 -0500 MIME-Version: 1.0 In-Reply-To: References: <1321999366-23784-1-git-send-email-corentincj@iksaif.net> <1321999366-23784-9-git-send-email-corentincj@iksaif.net> Date: Wed, 23 Nov 2011 17:54:55 +0100 Message-ID: Subject: Re: [PATCH 08/15] samsung-laptop: add battery life extender support From: Corentin Chary To: David Herrmann Cc: platform-driver-x86@vger.kernel.org, Greg Kroah-Hartman , Randy Dunlap , Matthew Garrett , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > My BIOS provides this option, too. However, this driver does not > detect it on my machine. During initialization I get: > samsung_laptop: SABI command 0x0078 failed with completion flag 0xaa > > Maybe you can help debugging this. If there is something I can test > via debugfs, just tell me. Could you try to load the module with debug=1, type these commands $ cd /sys/kernel/debug/ $ echo 0x65 > command $ for i in d0 d1 d2 d3; echo 0 > $i; done $ echo 0x80 > d0 $ cat call and then show me the output of dmesg ? Thanks, -- Corentin Chary http://xf.iksaif.net