Re: [linux-usb-devel] USB: on suspend to ram/disk all usb devices are replugged

2007-04-06 Thread Nigel Cunningham
Hi. On Mon, 2007-04-02 at 21:36 +0200, Pavel Machek wrote: > Hi! > > > > But you're still likely to run into trouble if you unplug a storage > > > device, move it to another system and write on it, then plug it back into > > > the original system. The PLVM would somehow have to recognize that th

[linux-usb-devel] Re: [linux-pm] [patch/rft 2.6.17-rc2] swsusp resume must not device_suspend()

2006-04-27 Thread Nigel Cunningham
Hi. On Friday 28 April 2006 05:21, David Brownell wrote: > On Thursday 27 April 2006 9:55 am, Patrick Mochel wrote: > > On Thu, Apr 27, 2006 at 10:34:16AM -0400, Alan Stern wrote: > > > During swsusp the system is > > > supposed to be completely off, with no suspend power available. Hen

[linux-usb-devel] Re: [linux-pm] [patch/rft 2.6.17-rc2] swsusp resume must not device_suspend()

2006-04-26 Thread Nigel Cunningham
Hi. On Thursday 27 April 2006 00:24, Alan Stern wrote: > A little behind the current head of the thread, but better late than > never... :) > On Wed, 26 Apr 2006, Nigel Cunningham wrote: > > > (7) (without your change) swsusp calls .suspend() for all device > > >

[linux-usb-devel] Re: [linux-pm] [patch/rft 2.6.17-rc2] swsusp resume must not device_suspend()

2006-04-26 Thread Nigel Cunningham
Hi. On Wednesday 26 April 2006 13:32, David Brownell wrote: > On Tuesday 25 April 2006 6:16 pm, Nigel Cunningham wrote: > > Hi. > > > > On Wednesday 26 April 2006 09:55, David Brownell wrote: > > > On Tuesday 25 April 2006 3:18 pm, Nigel Cunningham wrote: > >

[linux-usb-devel] Re: [linux-pm] [patch/rft 2.6.17-rc2] swsusp resume must not device_suspend()

2006-04-25 Thread Nigel Cunningham
Hi. On Wednesday 26 April 2006 09:55, David Brownell wrote: > On Tuesday 25 April 2006 3:18 pm, Nigel Cunningham wrote: > > I saw the 2 suspends, 1 resume comment in another part of the thread, but > > don't believe a driver would be able to detect that 2 suspends and 1 >

[linux-usb-devel] Re: [linux-pm] [patch/rft 2.6.17-rc2] swsusp resume must not device_suspend()

2006-04-25 Thread Nigel Cunningham
Hi. On Wednesday 26 April 2006 08:06, Rafael J. Wysocki wrote: > On Tuesday 25 April 2006 23:03, Nigel Cunningham wrote: > > On Wednesday 26 April 2006 06:53, Rafael J. Wysocki wrote: > > > On Tuesday 25 April 2006 22:28, Nigel Cunningham wrote: > > > > On Wednesday

[linux-usb-devel] Re: [linux-pm] [patch/rft 2.6.17-rc2] swsusp resume must not device_suspend()

2006-04-25 Thread Nigel Cunningham
Hi. On Wednesday 26 April 2006 06:53, Rafael J. Wysocki wrote: > Hi, > > On Tuesday 25 April 2006 22:28, Nigel Cunningham wrote: > > On Wednesday 26 April 2006 04:56, Rafael J. Wysocki wrote: > > > You're saying that (9) is wrong, so could you please suggest w

[linux-usb-devel] Re: [linux-pm] [patch/rft 2.6.17-rc2] swsusp resume must not device_suspend()

2006-04-25 Thread Nigel Cunningham
Hi. On Wednesday 26 April 2006 04:56, Rafael J. Wysocki wrote: > You're saying that (9) is wrong, so could you please suggest what to do > instead of it? 'scuse me for butting in, but here's my suggested modified version: > Well, suppose we have a modular driver that's not loaded before resume.

[linux-usb-devel] Re: [linux-pm] [patch/rft 2.6.17-rc2] swsusp resume must not device_suspend()

2006-04-25 Thread Nigel Cunningham
Hi. On Tuesday 25 April 2006 08:47, David Brownell wrote: > On Monday 24 April 2006 2:47 pm, Rafael J. Wysocki wrote: > > I agree with this change but I think it'll cause some strange things to > > happen for some time. > > Let's see. :) I think it's less likely to be drivers with broken > shutd

[linux-usb-devel] Re: [linux-pm] [patch/rft 2.6.17-rc2] swsusp resume must not device_suspend()

2006-04-24 Thread Nigel Cunningham
Hi David. On Tuesday 25 April 2006 07:29, David Brownell wrote: > I've noticed a bunch of problem reports that go like this: > > - boot system with some USB devices attached > - echo disk > /sys/power/state > - ... later resume ... > - now those USB devices don't work right > - unplug them/re

Re: [linux-usb-devel] 2.6.15-rc5 and later: USB mouse IRQ post kills the computer post resume.

2005-12-22 Thread Nigel Cunningham
Hi again. Three replies to one message! Oh dear! I often suggest people try swsusp when they have a problem with Suspend2. It helps discern whether Suspend2 is broken or the driver is doing something wrong. I don sack cloth and ashes as I confess that I failed to take my own medicine. I tried sws

Re: [linux-usb-devel] 2.6.15-rc5 and later: USB mouse IRQ post kills the computer post resume.

2005-12-22 Thread Nigel Cunningham
Hi again. On Thu, 2005-12-22 at 13:49, Alan Stern wrote: > On Thu, 22 Dec 2005, Nigel Cunningham wrote: > > > Hi Ben. > > > > On Thu, 2005-12-22 at 09:15, Benjamin Herrenschmidt wrote: > > > On Thu, 2005-12-22 at 08:04 +1000, Nigel Cunningham wrote: > > &

Re: [linux-usb-devel] 2.6.15-rc5 and later: USB mouse IRQ post kills the computer post resume.

2005-12-21 Thread Nigel Cunningham
Hi Alan. On Thu, 2005-12-22 at 13:49, Alan Stern wrote: > On Thu, 22 Dec 2005, Nigel Cunningham wrote: > > > Hi Ben. > > > > On Thu, 2005-12-22 at 09:15, Benjamin Herrenschmidt wrote: > > > On Thu, 2005-12-22 at 08:04 +1000, Nigel Cunningham wrote: > > &

Re: [linux-usb-devel] 2.6.15-rc5 and later: USB mouse IRQ post kills the computer post resume.

2005-12-21 Thread Nigel Cunningham
On Thu, 2005-12-22 at 12:05, Benjamin Herrenschmidt wrote: > > > It's a suspend to disk cycle or to ram ? Do you get those IRQs when you > > > move the mouse or all the time ? What is irq 99 normally on your > > > system ? > > Well, I'm not sure what that "vector 99" thing is, it's x86 world, migh

Re: [linux-usb-devel] 2.6.15-rc5 and later: USB mouse IRQ post kills the computer post resume.

2005-12-21 Thread Nigel Cunningham
Hi Ben. On Thu, 2005-12-22 at 09:15, Benjamin Herrenschmidt wrote: > On Thu, 2005-12-22 at 08:04 +1000, Nigel Cunningham wrote: > > Hi. > > > > Originally sent to LKML, but Greg said this is the place... > > > > I have a HT box with USB mouse support built as m

[linux-usb-devel] 2.6.15-rc5 and later: USB mouse IRQ post kills the computer post resume.

2005-12-21 Thread Nigel Cunningham
Hi. Originally sent to LKML, but Greg said this is the place... I have a HT box with USB mouse support built as modules. Beginning with 2.6.15-rc5 (maybe slightly earlier) a suspend/resume cycle makes the USB mouse get in an invalid state, such that I get a gazillion messages in the logs saying "

[linux-usb-devel] Re: [linux-pm] Re: [PATCH] PCI: Add pci shutdown ability

2005-04-26 Thread Nigel Cunningham
if we can say "I'm rebooting rather than powering off." > So in theory, with cpufreq, we could stop userspace, ->halt every device > (drivers won't do anything if they know it's not necessary), change the > frequency, and then resume operation. That looks like a

[linux-usb-devel] [PATCH] pm_message_t corrections still missing from 2.6.12-rc2

2005-04-08 Thread Nigel Cunningham
i_set_power_state(chip->pci, PCI_D0); pci_set_master(chip->pci); snd_atiixp_aclink_reset(chip); diff -ruNp 840-combined-pm_message_t-patch.patch-old/sound/pci/atiixp_modem.c 840-combined-pm_message_t-patch.patch-new/sound/pci/atiixp_modem.c --- 840-combined-pm_message_t-patch.

Re: [linux-usb-devel] failure of usb mouse after resumption from swsusp

2005-01-08 Thread Nigel Cunningham
eek. > It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt > ___ > linux-usb-devel@lists.sourceforge.net > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel -- Nigel