public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kristen Accardi <kristen.c.accardi@intel.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: dtor_core@ameritech.net, linux-kernel@vger.kernel.org,
	greg@kroah.com, pcihpd-discuss@lists.sourceforge.net,
	len.brown@intel.com, linux-acpi@vger.kernel.org
Subject: Re: [Pcihpd-discuss] Re: [patch 0/4] Hot Dock/Undock support
Date: Thu, 19 Jan 2006 17:27:33 -0800	[thread overview]
Message-ID: <1137720453.13079.22.camel@whizzy> (raw)
In-Reply-To: <20060118145116.GA2757@ucw.cz>

On Wed, 2006-01-18 at 14:51 +0000, Pavel Machek wrote:
> Hi!
> 
> > > > Hope this helps.
> > > >                                               Pavel
> > >
> > >
> > > so the problem that I see is that this dsdt defines two separate dock
> > > devices, one outside the scope of pci, and one within it.  The one
> > > outside the scope of pci defines the _EJ0 and _DCK methods.  So, when
> > > acpiphp loads, it scans the pci slots for ejectable slots, finds none
> > > (because _EJ0 is defined in the dock device that is outside the scope of
> > > pci) and exits.  This dsdt is different from the others I've used in
> > > that most of them define all methods related to docking under the actual
> > > dock bridge (within the scope of pci).  perhaps some acpi people can
> > > shed some light on the best way to handle this - otherwise I'm sure I
> > > can hack something up that will be less than acceptable :).
> > >
> > 
> > ACPI has (had?) a braindamage - it drops devices that do not present
> > when initially scanning ACPI namespace. So if you boot undocked - too
> > bad. Driver won't ever see your docking station.
> 
> I think I booted docked....
> 

Yeah, that's not the problem here.  The problem is that I assumed that
all _DCK methods would be defined under the actual pci dock bridge
device.  It seems that was a bad assumption.  I am redoing this patch so
as to not assume that anymore.  I'll repost it as soon as I'm done with
a little bit of testing.


  reply	other threads:[~2006-01-20  1:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-18  0:56 [patch 0/4] Hot Dock/Undock support Kristen Accardi
2006-01-18 12:16 ` Pavel Machek
2006-01-18 13:04 ` Pavel Machek
2006-01-18 18:42   ` [Pcihpd-discuss] " Kristen Accardi
2006-01-18 19:45     ` Pavel Machek
2006-01-18 21:06       ` Kristen Accardi
2006-01-18 21:47         ` Matthew Garrett
2006-01-18 22:08           ` Pavel Machek
2006-01-18 22:23         ` Pavel Machek
2006-01-19  0:06           ` Kristen Accardi
2006-01-19 15:23             ` Dmitry Torokhov
2006-01-18 14:51               ` Pavel Machek
2006-01-20  1:27                 ` Kristen Accardi [this message]
2006-01-18 20:42     ` Pavel Machek
2006-01-18 21:43       ` Kristen Accardi
2006-01-18 21:11     ` Pavel Machek

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=1137720453.13079.22.camel@whizzy \
    --to=kristen.c.accardi@intel.com \
    --cc=dtor_core@ameritech.net \
    --cc=greg@kroah.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=pcihpd-discuss@lists.sourceforge.net \
    /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