On 10/16/06, Oliver Neukum <[EMAIL PROTECTED]> wrote: > Am Montag, 16. Oktober 2006 05:54 schrieben Sie: > > > Both there's agreement in principle that PID devices should not be subject > > > to autosuspend based on inactivity? > > > > Hmm, why? > > It was my understanding that a PID effect is started with a command > describing the effect and its duration. Thus hid core cannot tell whether > a pid device is performing an effect. >
Hmm, you could add hooks into input_ff_upload() and input_ff_erase() and maybe in input_ff_events() to handle autocenter and gain cases... And then say that device that does not have any effects uploaded to it can be autosuspended... And you use input_dev->ff to check whjether device supports force-feedback or not. I am CCing Anssi Hannula as he recently overhauled entire FF support. > > > 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 ;(;( > > For this particular marque of mouse it is. For the general case not > necessarily so. Do you have mice that do not require button push to wake up? -- 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