* Re: [Discuss] What is causing C2? / USB autosuspension? [not found] ` <4820DABA.3000700@student.cs.york.ac.uk> @ 2008-05-07 12:57 ` Oliver Neukum [not found] ` <200805071457.16069.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Oliver Neukum @ 2008-05-07 12:57 UTC (permalink / raw) To: alan-jenkins, linux-input; +Cc: discuss Am Mittwoch 07 Mai 2008 00:24:58 schrieb Alan Jenkins: > I think I've worked out how to avoid the lost key-presses. Sometimes > they get lost; sometimes they don't. The difference seems to how long I > wait after the keyboard suspends. If I wait a few seconds after it's > suspended (as shown by the LEDs), then it resumes flawlessly. It should > be possible to reduce the impact of the hardware misfeature by > increasing the timeout. The longer the keyboard has been idle already, > the lower the probability it'll be used in the next few seconds. This suggests a possible work around. Keyboards known to be buggy in this way could be reawoken periodically before the critical amount of time is over. How long is that time? What percentage of time does a keyboard need to be suspended for a positive energy balance? Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <200805071457.16069.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>]
* Re: What is causing C2? / USB autosuspension? [not found] ` <200805071457.16069.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org> @ 2008-05-07 13:17 ` Alan Jenkins 2008-05-07 13:41 ` [Discuss] " Oliver Neukum 0 siblings, 1 reply; 3+ messages in thread From: Alan Jenkins @ 2008-05-07 13:17 UTC (permalink / raw) To: Oliver Neukum Cc: discuss-csvQSjAa8IAgsBAKwltoeQ, linux-input-u79uwXL29TY76Z2rM5mHXA Oliver Neukum wrote: > Am Mittwoch 07 Mai 2008 00:24:58 schrieb Alan Jenkins: > >> I think I've worked out how to avoid the lost key-presses. Sometimes >> they get lost; sometimes they don't. The difference seems to how long I >> wait after the keyboard suspends. If I wait a few seconds after it's >> suspended (as shown by the LEDs), then it resumes flawlessly. It should >> be possible to reduce the impact of the hardware misfeature by >> increasing the timeout. The longer the keyboard has been idle already, >> the lower the probability it'll be used in the next few seconds. >> > > This suggests a possible work around. Keyboards known to be buggy in this > way could be reawoken periodically before the critical amount of time is over. > How long is that time? What percentage of time does a keyboard need to be > suspended for a positive energy balance? > Sorry, I didn't explain that very clearly. The problem happens if the keyboard resumes _immediately after_ it's autosuspended. If I start typing as soon as the LED goes off, it loses some of the keypresses. If I instead wait a few seconds before typing, it works flawlessly. Since it's the keyboard that's resuming itself I don't think you could fix this. Unless it's your code that's buggy and not the keyboard :-). What I was trying to say was that I can mitigate this problem by increasing the autosuspend timeout from the default of 2 seconds. I will quite often pause for periods of about 2 seconds while typing. But if the keyboard is only suspended after 60 seconds of inactivity or longer, then it's far less likely that I will start typing immediately afterwards. Alan ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Discuss] What is causing C2? / USB autosuspension? 2008-05-07 13:17 ` Alan Jenkins @ 2008-05-07 13:41 ` Oliver Neukum 0 siblings, 0 replies; 3+ messages in thread From: Oliver Neukum @ 2008-05-07 13:41 UTC (permalink / raw) To: alan-jenkins; +Cc: linux-input, discuss Am Mittwoch 07 Mai 2008 15:17:27 schrieb Alan Jenkins: > The problem happens if the keyboard resumes _immediately after_ it's > autosuspended. If I start typing as soon as the LED goes off, it loses OK, I misunderstood you. Yes, there's nothing I can do. Your hardware is broken. Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-07 13:41 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1015f9200805021702n1558873es72ac798ccdc06966@mail.gmail.com> [not found] ` <200805062212.31947.oliver@neukum.org> [not found] ` <4820DABA.3000700@student.cs.york.ac.uk> 2008-05-07 12:57 ` [Discuss] What is causing C2? / USB autosuspension? Oliver Neukum [not found] ` <200805071457.16069.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org> 2008-05-07 13:17 ` Alan Jenkins 2008-05-07 13:41 ` [Discuss] " Oliver Neukum
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).