On Friday 13 October 2006 13:16, Oliver Neukum wrote:
> Am Freitag, 13. Oktober 2006 16:33 schrieb Alan Stern:
> > On Fri, 13 Oct 2006, Oliver Neukum wrote:
> > 
> > > Hi,
> > > 
> > > I've got a version that basically works but it has some race conditions
> > > left. Right now I do autosuspend on the following conditions:
> > > 1. Bound to hid-input
> > > 2. Not bound to hiddev
> > > 3. No interrupt out endpoints
> > > 
> > > Is there a generic way to test whether a device is a PID?
> > > I still have to make sure no suspension takes places while
> > > a transfer via the ctrl endpoint is taking place.
> > 
> > I don't know.  Dmitry is the person to ask.  (To recap this discussion:  
> > Oliver is working on adding autosuspend support to the USB HID core.  His
> > code uses an inactivity timeout.)
>

There is code in hid-pidff.c that detects whether a device is a PID or not
based on kind of reports device uses.
 
> Both there's agreement in principle that PID devices should not be subject
> to autosuspend based on inactivity?

Hmm, why?
 
> For what it's worth it sort of works now, however testing with an
> MS Intellimouse Explorer I found that I really needed to use a button
> to wake it up.

I am afraid that this is a showstopper... While it is accepted that button
press is needed to wake up from system suspend I doubt uses will like the
need to press button to wake up their mice ;(

-- 
Dmitry

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to