From: "Zhao Forrest" Subject: Re: backlight mystery Date: Tue, 6 Mar 2007 15:58:01 +0800 Message-ID: References: <20070305233037.0c5727e7.akpm@linux-foundation.org> <20070306074312.GC23955@redhat.com> <20070305234812.d8b2b08d.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from wx-out-0506.google.com ([66.249.82.227]:36524 "EHLO wx-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933994AbXCFH6B (ORCPT ); Tue, 6 Mar 2007 02:58:01 -0500 Received: by wx-out-0506.google.com with SMTP id h31so1823610wxd for ; Mon, 05 Mar 2007 23:58:01 -0800 (PST) In-Reply-To: <20070305234812.d8b2b08d.akpm@linux-foundation.org> Content-Disposition: inline Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Andrew Morton Cc: Dave Jones , Richard Purdie , linux-acpi@vger.kernel.org On 3/6/07, Andrew Morton wrote: > On Tue, 6 Mar 2007 02:43:12 -0500 Dave Jones wrote: > > > On Mon, Mar 05, 2007 at 11:30:37PM -0800, Andrew Morton wrote: > > > > > > I always get stuff like this coming out when I boot my x86_64 machine: > > > > > > asus_acpi: Unknown symbol backlight_device_unregister > > > asus_acpi: Unknown symbol backlight_device_register > > > ibm_acpi: Unknown symbol backlight_device_unregister > > > ibm_acpi: Unknown symbol backlight_device_register > > > toshiba_acpi: Unknown symbol backlight_device_unregister > > > toshiba_acpi: Unknown symbol backlight_device_register > > > video: Unknown symbol backlight_device_unregister > > > video: Unknown symbol backlight_device_register > > > > > > This is a nocoma server, not a laptop. I'm not sure how those modules are > > > even getting loaded. The distro is FC4, which might be doing something > > > peculiar. > > > > I covered this on the list last week. There's no way to > > have a module autoload based on dmi strings or the like, > > (Which is the only sane way these modules can determine > > if they need to run). > > > > Given the absense of mechanism, there's a pretty gross hack > > in Fedora's rc.sysinit which loads every module in drivers/acpi/*/* > > that it finds. Shameful I know. > > > > Dave > > I thought it might be something like that. I'm a bit surprised that we > can't get at the DMI stuff from userspace, or export it from the kernel. > But whatever. I have a question: why can't we get at the DMI stuff from userspace since "dmidecode" is a tool in userspace? Thanks, Forrest