Re: [linux-usb-devel] USB mouse autosuspend

2007-07-06 Thread David Brownell
On Tuesday 03 July 2007, Alan Stern wrote: > In the end, we may be forced not to autosuspend keyboards and mice. > There are lots of problems. One is broken hardware, as we see here. This is unfortunate, but I suspect you're right. We may need a userspace database of devices which are known n

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-05 Thread Alan Stern
On Thu, 5 Jul 2007, Robert Marquardt wrote: > Alan Stern schrieb: > > > Does Windows ever actually suspend the keyboard at all? > > I do not know. I prefer switching off my computer. > The main differences i see for HID devices with the OS running is that > Windows constantly sends Keep Alive p

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-04 Thread Robert Marquardt
Alan Stern schrieb: > Does Windows ever actually suspend the keyboard at all? I do not know. I prefer switching off my computer. The main differences i see for HID devices with the OS running is that Windows constantly sends Keep Alive packets and that it polls the devices always. Linux only po

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-04 Thread Alan Stern
On Wed, 4 Jul 2007, Jiri Kosina wrote: > On Wed, 4 Jul 2007, Kay Sievers wrote: > > > It's a recent standard and cheap Logitec mouse. If you can't reproduce > > it, let me know if I should try to capture the traffic. > > Hi Kay and Alan, > > actually I found a random logitech optical mouse her

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-04 Thread Alan Stern
On Wed, 4 Jul 2007, Robert Marquardt wrote: > Jiri Kosina schrieb: > > > It could be that only the light goes on for a few seconds (Alan, are you > > sure that the power would not suffice?), but the mouse is not issuing any > > wakeup request. > > If a USB device suspends because te bus goes i

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-04 Thread Jiri Kosina
On Wed, 4 Jul 2007, Kay Sievers wrote: > It's a recent standard and cheap Logitec mouse. If you can't reproduce > it, let me know if I should try to capture the traffic. Hi Kay and Alan, actually I found a random logitech optical mouse here (VID:PID 046d:c019) and can observe precisely the sam

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-03 Thread Robert Marquardt
Jiri Kosina schrieb: > It could be that only the light goes on for a few seconds (Alan, are you > sure that the power would not suffice?), but the mouse is not issuing any > wakeup request. If a USB device suspends because te bus goes idle then it is allowed to draw 2.5 mA if it is a 500 mA de

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-03 Thread Kay Sievers
On Tue, 2007-07-03 at 18:54 +0200, Jiri Kosina wrote: >On Tue, 3 Jul 2007, Alan Stern wrote: > >> It's totally bogus! With no driver loaded, the mouse won't be enabled >> for remote wakeup. Consequently it should never be resumed, no matter >> what you do to it. If it does send a wakeup reques

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-03 Thread Kay Sievers
Alan Stern wrote: >On Tue, 3 Jul 2007, Jiri Kosina wrote: >> On Tue, 3 Jul 2007, Alan Stern wrote: >> >> > It's totally bogus! With no driver loaded, the mouse won't be enabled >> > for remote wakeup. Consequently it should never be resumed, no matter >> > what you do to it. If it does send a

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-03 Thread Alan Stern
On Tue, 3 Jul 2007, Oliver Neukum wrote: > Am Dienstag, 3. Juli 2007 schrieb Jiri Kosina: > > OK, it seems that vendors of usb keyboards probably rely too much on fact > > that the keyboards could be quite slow and flaky without anyone > > complaining under normal load, and therefore implement t

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-03 Thread Alan Stern
On Tue, 3 Jul 2007, Jiri Kosina wrote: > On Tue, 3 Jul 2007, Alan Stern wrote: > > > It's totally bogus! With no driver loaded, the mouse won't be enabled > > for remote wakeup. Consequently it should never be resumed, no matter > > what you do to it. If it does send a wakeup request then th

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-03 Thread Oliver Neukum
Am Dienstag, 3. Juli 2007 schrieb Jiri Kosina: > OK, it seems that vendors of usb keyboards probably rely too much on fact > that the keyboards could be quite slow and flaky without anyone > complaining under normal load, and therefore implement the things very > badly. Oliver, I currently think

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-03 Thread Jiri Kosina
On Tue, 3 Jul 2007, Alan Stern wrote: > It's totally bogus! With no driver loaded, the mouse won't be enabled > for remote wakeup. Consequently it should never be resumed, no matter > what you do to it. If it does send a wakeup request then the mouse is > buggy. Conversely, if the mouse does

Re: [linux-usb-devel] USB mouse autosuspend

2007-07-03 Thread Alan Stern
On Tue, 3 Jul 2007, Kay Sievers wrote: > > During a lunch at OLS you mentioned something about watching the LED on > > your USB mouse turn on and off as it autosuspended and resumed. I > > don't remember the details, but it sounded peculiar. Can you explain > > what you were referring to? >