linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Holger Macht <hmacht@suse.de>
To: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>,
	Len Brown <lenb@kernel.org>,
	linux-acpi@vger.kernel.org, ibm-acpi-devel@lists.sourceforge.net,
	linux-ide@vger.kernel.org
Subject: Re: CONFIG_IBM_BAY
Date: Tue, 20 Mar 2007 16:53:21 +0100	[thread overview]
Message-ID: <20070320155321.GA6079@homac2.suse.de> (raw)
In-Reply-To: <20070319110412.ea6f4363.kristen.c.accardi@intel.com>

On Mon 19. Mar - 11:04:12, Kristen Carlson Accardi wrote:
> On Sun, 18 Mar 2007 19:55:30 +0100
> Holger Macht <hmacht@suse.de> 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

  reply	other threads:[~2007-03-20 15:53 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                             ` Holger Macht [this message]
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                                   ` CONFIG_IBM_BAY Holger Macht
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=20070320155321.GA6079@homac2.suse.de \
    --to=hmacht@suse.de \
    --cc=hmh@hmh.eng.br \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=kristen.c.accardi@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-ide@vger.kernel.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).