linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Holger Macht <hmacht-l3A5Bk7waGM@public.gmane.org>
To: Kristen Carlson Accardi
	<kristen.c.accardi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	ibm-acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Henrique de Moraes Holschuh
	<hmh-N3TV7GIv+o9fyO9Q7EP/yw@public.gmane.org>,
	Len Brown <lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Subject: Re: CONFIG_IBM_BAY
Date: Tue, 20 Mar 2007 17:34:53 +0100	[thread overview]
Message-ID: <20070320163453.GA4058@homac2.suse.de> (raw)
In-Reply-To: <20070320091932.f61bbdcc.kristen.c.accardi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>


On Tue 20. Mar - 09:19:32, Kristen Carlson Accardi wrote:
> On Tue, 20 Mar 2007 16:53:21 +0100
> Holger Macht <hmacht-l3A5Bk7waGM@public.gmane.org> wrote:
> 
> > On Mon 19. Mar - 11:04:12, Kristen Carlson Accardi wrote:
> > > On Sun, 18 Mar 2007 19:55:30 +0100
> > > Holger Macht <hmacht-l3A5Bk7waGM@public.gmane.org> wrote:
> > > 
> > > > On Sun 18. Mar - 15:36:52, Henrique de Moraes Holschuh wrote:
> > > > > On Sun, 18 Mar 2007, Holger Macht wrote:
> > > > > > those ThinkPads where it is needed. Afterwards it does the corresponding
> > > > > > dock/undock request on ibm_acpi. And this works reliably good what I can
> > > > > > see from the feedback I already got. But for this to work, userspace would
> > > > > 
> > > > > It should work with the generic bay device too, but I have no ideas about
> > > > > dock.  But you'll need to deal with udev with the new bay device, something
> > > > > I am not too happy about.  These things are ACPI events, they should remain
> > > > > so unless all other ACPI events are going to become uevents.
> > > > 
> > > > It doesn't work, I've already tried. The bay driver only emits an event if
> > > > you really try to remove the bay, but not on docking/undocking.
> > > > 
> > > > Regards,
> > > > 	Holger
> > > > 
> > > 
> > > this *should* work.  The Bay driver registers with the dock driver to get
> > > dock events:
> > > 
> > >         /* if we are on a dock station, we should register for dock
> > >          * notifications.
> > >          */
> > >         if (bay_is_dock_device(handle)) {
> > >                 bay_dprintk(handle, "Is dependent on dock\n");
> > >                 register_hotplug_dock_device(handle, bay_notify, new_bay);
> > >         }
> > >  
> > 
> > But is_dock_device(...) for both the bay and for the parent handle return
> > false. I'm using an X60 here, so bay_notify is never registered. I
> > couldn't find the reason in the short time I was looking at it, though.
> > 
> > Regards,
> > 	Holger
> > 
> 
> Works for me on my X60 - have you tested on the latest rc kernel?  Also,
> let me know what your BIOS sets your SATA controller to.  I can try to 
> duplicate your issue and get it to work.

Tried with Linus' git tree from today. SATA is set to AHCI if that's the
information you're asking for.

Thanks,
  Holger

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  parent reply	other threads:[~2007-03-20 16:34 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <11736588493609-git-send-email-hmh@hmh.eng.br>
     [not found] ` <20070315031015.GA6292@khazad-dum.debian.net>
     [not found]   ` <20070315031251.GB6292@khazad-dum.debian.net>
     [not found]     ` <200703150206.05811.lenb@kernel.org>
     [not found]       ` <20070315133900.GC26862@khazad-dum.debian.net>
     [not found]         ` <20070315080644.c73db24a.kristen.c.accardi@intel.com>
     [not found]           ` <20070315175505.GB6596@khazad-dum.debian.net>
     [not found]             ` <20070315110156.09e80b99.kristen.c.accardi@intel.com>
     [not found]               ` <20070315193123.GB14394@khazad-dum.debian.net>
2007-03-15 19:50                 ` CONFIG_IBM_BAY Kristen Carlson Accardi
2007-03-18  5:38                   ` CONFIG_IBM_BAY Tejun Heo
2007-03-18  8:27                     ` CONFIG_IBM_BAY Holger Macht
2007-03-18 18:36                       ` CONFIG_IBM_BAY Henrique de Moraes Holschuh
2007-03-18 18:55                         ` CONFIG_IBM_BAY Holger Macht
2007-03-18 19:00                           ` CONFIG_IBM_BAY Henrique de Moraes Holschuh
2007-03-19 18:04                           ` CONFIG_IBM_BAY Kristen Carlson Accardi
2007-03-20 15:53                             ` CONFIG_IBM_BAY Holger Macht
2007-03-20 16:19                               ` CONFIG_IBM_BAY Kristen Carlson Accardi
     [not found]                                 ` <20070320091932.f61bbdcc.kristen.c.accardi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2007-03-20 16:34                                   ` Holger Macht [this message]
2007-03-19 18:17                         ` CONFIG_IBM_BAY Kristen Carlson Accardi
2007-03-19 13:22                       ` CONFIG_IBM_BAY Matthew Garrett
     [not found]                         ` <20070319132243.GA2869-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2007-03-19 13:48                           ` CONFIG_IBM_BAY Holger Macht
2007-03-19 14:04                             ` CONFIG_IBM_BAY Matthew Garrett
2007-03-19 14:37                               ` CONFIG_IBM_BAY Holger Macht
     [not found]                                 ` <20070319143746.GC4885-tB0uoaAy/Z1bpigZmTR7Iw@public.gmane.org>
2007-03-19 18:11                                   ` CONFIG_IBM_BAY Kristen Carlson Accardi
2007-03-20 16:07                                     ` CONFIG_IBM_BAY Holger Macht
     [not found]                                       ` <20070320160707.GB6079-tB0uoaAy/Z1bpigZmTR7Iw@public.gmane.org>
2007-03-20 16:16                                         ` CONFIG_IBM_BAY Holger Macht
     [not found]                               ` <20070319140403.GA3697-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2007-03-19 15:36                                 ` CONFIG_IBM_BAY Henrique de Moraes Holschuh
2007-03-19 15:47                                   ` CONFIG_IBM_BAY Holger Macht
     [not found]                                   ` <20070319153659.GB15942-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org>
2007-03-19 16:41                                     ` CONFIG_IBM_BAY Shem Multinymous
     [not found]                                       ` <41840b750703190941p77fc4a64k49361b678dd6aa90-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-03-19 23:04                                         ` CONFIG_IBM_BAY Henrique de Moraes Holschuh
2007-03-20 14:18                                           ` [ibm-acpi-devel] CONFIG_IBM_BAY Shem Multinymous
2007-03-20 15:12                                             ` Henrique de Moraes Holschuh
2007-03-19 18:00                         ` CONFIG_IBM_BAY Kristen Carlson Accardi
     [not found]                     ` <45FCD062.3050001-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2007-03-18 18:26                       ` CONFIG_IBM_BAY Henrique de Moraes Holschuh

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=20070320163453.GA4058@homac2.suse.de \
    --to=hmacht-l3a5bk7wagm@public.gmane.org \
    --cc=hmh-N3TV7GIv+o9fyO9Q7EP/yw@public.gmane.org \
    --cc=ibm-acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=kristen.c.accardi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=lenb-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-ide-u79uwXL29TY76Z2rM5mHXA@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;
as well as URLs for NNTP newsgroup(s).