All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Neukum <oliver@neukum.org>
To: Marcel Holtmann <marcel@holtmann.org>, linux-usb@vger.kernel.org
Cc: Matthew Garrett <mjg59@srcf.ucam.org>,
	Mario Limonciello <mario_limonciello@dell.com>,
	linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Explicitly disable BT radio using rfkill interface on suspend
Date: Tue, 19 May 2009 08:27:52 +0200	[thread overview]
Message-ID: <200905190827.52541.oliver@neukum.org> (raw)
In-Reply-To: <1242710064.3147.4.camel@localhost.localdomain>

Am Dienstag, 19. Mai 2009 07:14:24 schrieb Marcel Holtmann:
> > > When coming out of S3 if the killswitch isn't activated, the logical
> > > USB mouse isn't coldplugged again preventing the udev rule from being
> > > matched upon.  You can manually run hid2hci and the device will switch
> > > modes.
> >
> > Ok. I don't think the right way to implement this is forcing dell-laptop
> > to simulate an unplug. The HCI driver should be responsible for saving
> > and restoring state of the device in its suspend/resume method.
>
> what do you expect the generic USB driver to do? I don't see anything we
> can do about it, if the device gets removed from underneath us.

In order to do this we'd have to put hid2hci into usbcore and maintain
a list of devices it should operate on.

	Regards
		Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Oliver Neukum <oliver@neukum.org>
To: Marcel Holtmann <marcel@holtmann.org>, linux-usb@vger.kernel.org
Cc: Matthew Garrett <mjg59@srcf.ucam.org>,
	Mario Limonciello <mario_limonciello@dell.com>,
	linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Explicitly disable BT radio using rfkill interface on suspend
Date: Tue, 19 May 2009 08:27:52 +0200	[thread overview]
Message-ID: <200905190827.52541.oliver@neukum.org> (raw)
In-Reply-To: <1242710064.3147.4.camel@localhost.localdomain>

Am Dienstag, 19. Mai 2009 07:14:24 schrieb Marcel Holtmann:
> > > When coming out of S3 if the killswitch isn't activated, the logical
> > > USB mouse isn't coldplugged again preventing the udev rule from being
> > > matched upon.  You can manually run hid2hci and the device will switch
> > > modes.
> >
> > Ok. I don't think the right way to implement this is forcing dell-laptop
> > to simulate an unplug. The HCI driver should be responsible for saving
> > and restoring state of the device in its suspend/resume method.
>
> what do you expect the generic USB driver to do? I don't see anything we
> can do about it, if the device gets removed from underneath us.

In order to do this we'd have to put hid2hci into usbcore and maintain
a list of devices it should operate on.

	Regards
		Oliver


  reply	other threads:[~2009-05-19  6:27 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-18 20:12 [PATCH] Explicitly disable BT radio using rfkill interface on suspend Mario Limonciello
2009-05-18 21:02 ` Matthew Garrett
2009-05-18 21:36   ` Mario Limonciello
2009-05-19  5:03     ` Matthew Garrett
2009-05-19  5:14       ` Marcel Holtmann
2009-05-19  6:27         ` Oliver Neukum [this message]
2009-05-19  6:27           ` Oliver Neukum
2009-05-19  6:45           ` Marcel Holtmann
2009-05-19  7:36             ` Oliver Neukum
2009-05-19  9:06         ` Matthew Garrett
2009-05-19 12:47           ` Oliver Neukum
2009-05-19 12:58             ` Matthew Garrett
2009-05-19 16:30               ` Mario Limonciello
2009-05-19 16:33                 ` Matthew Garrett
2009-05-19 16:52                   ` Mario Limonciello
2009-05-19 19:58                     ` Oliver Neukum
2009-05-19 20:36                       ` Mario Limonciello
2009-05-19 21:26                         ` Oliver Neukum
2009-05-19 21:26                           ` Oliver Neukum
2009-05-19 21:47                           ` Mario Limonciello
     [not found]                             ` <4A1328D6.5090404-8PEkshWhKlo@public.gmane.org>
2009-05-19 22:16                               ` Oliver Neukum
2009-05-19 22:16                                 ` Oliver Neukum
     [not found]                                 ` <200905200016.49110.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
2009-05-19 22:19                                   ` Mario Limonciello
2009-05-19 22:19                                     ` Mario Limonciello
2009-05-20  2:17                                 ` Alan Stern
2009-05-20  2:17                                   ` Alan Stern
2009-05-20 12:29                                   ` Oliver Neukum
2009-05-20 12:29                                     ` Oliver Neukum
     [not found]                                     ` <200905201429.06113.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
2009-05-20 14:17                                       ` Alan Stern
2009-05-20 14:17                                         ` Alan Stern
2009-05-20 17:52                                         ` Mario Limonciello
     [not found]                                           ` <4A144347.80303-8PEkshWhKlo@public.gmane.org>
2009-05-20 18:31                                             ` Alan Stern
2009-05-20 18:31                                               ` Alan Stern
  -- strict thread matches above, loose matches on Subject: below --
2009-06-30 22:02 [PATCH] Explicitly disable BT radio using rfkill interface on Mario Limonciello
2009-07-01  3:53 ` [PATCH] Explicitly disable BT radio using rfkill interface on suspend Mario_Limonciello
2009-07-01 13:13 ` Mario_Limonciello

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=200905190827.52541.oliver@neukum.org \
    --to=oliver@neukum.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=mario_limonciello@dell.com \
    --cc=mjg59@srcf.ucam.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.