On Thu, Jun 22, 2006 at 08:37:57PM +0200, Marcel Holtmann wrote: > Hi Frederic, > > > > + ep_dev->desc = &endpoint->desc; > > > + ep_dev->udev = udev; > > > + ep_dev->dev.devt = MKDEV(442, minor); // FIXME fake number... > > > + ep_dev->dev.class = ep_class->class; > > > + ep_dev->dev.parent = parent; > > > + ep_dev->dev.release = ep_device_release; > > > + snprintf(ep_dev->dev.bus_id, BUS_ID_SIZE, "usbdev%d.%d_ep%02x", > > > + udev->bus->busnum, udev->devnum, > > > + endpoint->desc.bEndpointAddress); > > > + retval = device_register(&ep_dev->dev); > > > > I think this one broke suspend for me. I haven't investigated much > > yet, but it seems verify_suspended called by usb_generic_suspend > > will notice the endpoint device is still PM_EVENT_ON. Indeed, I see > > no way for the endpoint device to change to PM_EVENT_FREEZE. > > same for me. Suspend fails with latest USB updates.
Actually it's a different change to the USB core that caused it, this endpoint patch only caused it to show up :) See the linux-kernel and linux-pm thread about this for details. thanks, greg k-h 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