Re: autosuspend for HID devices, take #4

Jiri Kosina <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Wed, 23 May 2007, Oliver Neukum wrote:

> > well, I remember to having this reported also against one of the very 
> > first versions of your patch - I still experience loss of events from 
> > the device that is being woken up shortly after it goes to suspend. 
> > I.e. as soon as the device goes to suspend, I type 'asdf' on the 
> > keyboard, it wakes up and reports only 'af' or something like that. It 
> > seems that this is not reproducible after some time (a few seconds) 
> > the device is suspended.
> > Are you able to reproduce this? I will try to figure out what is going on.
> No, sorry, but maybe I am just clumsy at hitting the keys at the correct
> time.

I hit the keys as soon as LED diods go off. Then the events get lost. If I 
wait for approximately two seconds, everything works fine (waiting one 
second is not enough, it still loses data).

I will debug. Maybe just this particular keyboard is clumsy. I will try 
with various different hardware. But if there are lots of HID hardware out 
there which expose this broken behavior, it would be bad.

-- 
Jiri Kosina
SUSE Labs

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.