On Wed, 7 Feb 2007, Oliver Neukum wrote: > Am Mittwoch, 7. Februar 2007 10:54 schrieb Frederic Riss: > > 2007/2/7, Oliver Neukum <[EMAIL PROTECTED]>: > > > Am Dienstag, 6. Februar 2007 21:39 schrieb Frédéric RISS: > > > > Hi, > > > > > > > > Is there any way to debug the remote wakeup functionality of usb > > > > devices? I'm trying to wake my MacMini up using the built-in IR > > > > Receiver. This device is seen as an raw HID device. > > > [...] > > > Having the capability is not enough. Per default it is switched off. > > > Devices without drivers can't do remote wakeup. Which driver is this > > > device > > > bound to? > > > > As I wrote it's seen by Linux as a raw HID device, thus it's bound to > > the usbhid driver. IIRC there're 2 sorts of HID devices, input ones > > and 'raw' ones. This one isn't recognized as an input device, its data > > is simply sent to /dev/hiddev0. > > Usually, but not necessarily. We've seen devices which bind to neither > driver. > > > I've USB debugging enabled and I get no "won't remote wakeup" > > You won't. There's no message for that.
Yes there is. It's right in the hub_port_suspend() routine: if (status) dev_dbg(&udev->dev, "won't remote wakeup, status %d\n", status); > > messages. Moreover, I had verified that the sysfs wakup attribute is > > set. > > If the device is not bound to a driver, that is ignored. Not so. The attribute is checked for every device that gets suspended. Of course, the device itself may choose not to report wakeup events. If it isn't configured, for instance, it won't report anything. Alan Stern ------------------------------------------------------------------------- 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