Greg,

2006/6/22, Greg KH <[EMAIL PROTECTED]>:
> +       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.

Am I missing something?

Fred.

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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