> what happens, then, if e.g. device has usb charging and > devicde starts > to boot when you connect usb cable. Then, by the time link > (in this case > musb) probes it will have lost the VBUS notification from phy. That should be trivial: enter the B-mode OTG stage machine and set the relevant flags, as well as updating the OTG state. Remember it doesn't care about the notification, just the OTG state. The transceiver/phy driver can do that. Link needs to know about that somehow. It can see that the otg_transceiver's default_a flag is clear. Probably doesn't want to switch on all the default-b states, for simplicity. - Dave -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html