Oliver Neukum <oneukum@xxxxxxx> writes: > On Thursday 11 October 2012 11:05:05 Bjørn Mork wrote: >> So I guess that demonstrates the issue with pre and post_reset on >> devices keeping internal state pretty well: The effect is entirely >> device dependent. The device reset behaviour is not known, and we risk >> that the device changes some of its internal variables on reset. So >> adding reset support to class minidrivers is risky. Although my >> rndis_host test worked, there is no guarantee that other rndis devices >> will work the same way. > > On second thought we'd better tell user space that a reset has happened. > Any ideas on how? No, not really. I guess we need to trigger a rtnetlink message of some sort? Flash the carrier status maybe? But I don't know how to do that in a generic way. Bjørn -- 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