Re: Re: Hotplug events during sleep transition

Pavel Machek
2006-01-05T19:05:02Z

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

On Thu 05-01-06 11:07:52, Alan Stern wrote:
> On Thu, 5 Jan 2006, Pavel Machek wrote:
> > On St 28-12-05 21:18:38, Alan Stern wrote:
> > > On Wed, 28 Dec 2005, Rafael J. Wysocki wrote:
> >
> > ...for reasonable buses, like usb. For something like ps/2, .resume is
> > the place to check, I'm afraid.
>
> It's _a_ place to check. On the other hand, since there's no checking
> anywhere else, why does there need to be a check in .resume?

You are not normally sending commands to ps/2 mouse, except
when initializing it. And you have to re-initialize it during
.resume. You'll notice that commands time out...

...well, you *could* just ignore the timeouts :-).

--
Thanks, Sharp!