public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Ionescu <paul-f7LjuT9/YZU@public.gmane.org>
To: Alex Williamson <alex.williamson-VXdhtT5mjnY@public.gmane.org>,
	acpi
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [RFC] filling in ACPI files in sysfs
Date: Sat, 10 Apr 2004 14:36:01 +0300	[thread overview]
Message-ID: <1081596961.23299.24.camel@t40> (raw)
In-Reply-To: <1081537087.2694.8.camel-Wmjt7DDUnIVxnVILBQAtiA@public.gmane.org>

Hi Alex,

I found this in scan.c:
/*
 * If the device is present, enabled, and functioning then
 * parse its scope (depth-first).  Note that we need to
 * represent absent devices to facilitate PnP notifications
 * -- but only the subtree head (not all of its children,
 * which will be enumerated when the parent is inserted).
 *
 * TBD: Need notifications and other detection mechanisms
 *      in place before we can fully implement this.
 */

This can be the reason I don't see the subdevices in DOCK but only the
DOCK, when the dock is not active. So till someone does the TBD, this is
the normal behaviour, ie subdevices don't show up unless the parent is
active at scan time.

What do you think ?



On Fri, 2004-04-09 at 21:58, Alex Williamson wrote:
> On Fri, 2004-04-09 at 12:48, Paul Ionescu wrote:
> > Hi Alex,
> > 
> > Do you have any ideea why I don't have IDE1, CBS2 and CBS3 in the tree
> > even if they are present in the DSDT ?
> > They appear only when I boot in the dock.
> 
>    No, I don't.  You can try adding chunks of code like this in the scan
> file:
> 
> {
>         char pathname[ACPI_PATHNAME_MAX] = {0};
>         struct acpi_buffer buffer = {0, NULL};
>         buffer.length = sizeof(pathname);
>         buffer.pointer = pathname;
>         acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer);
>         printk("%s() - [%s]\n", __FUNCTION__, pathname);
> }
> 
> *Fix the handle pointer to be appropriate, everything else should be
> self contained
> 
> I'd start with adding it inside the while loop at the top of 
> drivers/acpi/scan.c:acpi_bus_scan().  It's possible it's in the DSDT,
> but not activated for some reason.  I'll be interested to hear why it's
> not showing up.  Thanks,
> 
> 	Alex



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

  parent reply	other threads:[~2004-04-10 11:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-07 21:36 [RFC] filling in ACPI files in sysfs Paul Ionescu
     [not found] ` <1081373781.23176.30.camel-LjAuIDrFwz0@public.gmane.org>
2004-04-07 22:13   ` Alex Williamson
     [not found]     ` <1081376023.2748.15.camel-Wmjt7DDUnIVxnVILBQAtiA@public.gmane.org>
2004-04-08  5:56       ` Paul Ionescu
2004-04-08 15:46       ` Paul Ionescu
     [not found]         ` <1081439217.23176.70.camel-LjAuIDrFwz0@public.gmane.org>
2004-04-08 16:41           ` Alex Williamson
2004-04-08 16:53       ` Paul Ionescu
2004-04-08 17:25       ` Matthew Wilcox
     [not found]         ` <20040408172548.GH18329-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2004-04-08 17:33           ` Alex Williamson
     [not found]             ` <1081536801.26073.120.camel@t40>
     [not found]               ` <1081537175.2694.11.camel@patsy.fc.hp.com>
     [not found]                 ` <1081537175.2694.11.camel-Wmjt7DDUnIVxnVILBQAtiA@public.gmane.org>
2004-04-10 10:03                   ` Paul Ionescu
     [not found]             ` <1081536489.23178.113.camel@t40>
     [not found]               ` <1081537087.2694.8.camel@patsy.fc.hp.com>
     [not found]                 ` <1081537087.2694.8.camel-Wmjt7DDUnIVxnVILBQAtiA@public.gmane.org>
2004-04-10 11:36                   ` Paul Ionescu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-04-08  8:14 Paul Ionescu
     [not found] ` <20040408081455.52935.qmail-BuYeCebq3BaA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-04-08 14:36   ` Alex Williamson
2004-04-06 15:56 Alex Williamson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1081596961.23299.24.camel@t40 \
    --to=paul-f7ljut9/yzu@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=alex.williamson-VXdhtT5mjnY@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox