>> >> I have a crazy thought (and absolutely no idea how this can be done) >> like composite driver registering all possible configurations (with >> different functions) and modify cdev->config list to expost first >> configuration based on user input. > > Or based on a module parameter. That would be easy to modify when the > driver is loaded (or at bootup if the driver is compiled in) and at any > time later. > Is it possible to alter the config list at run time? i.e composite driver at bootup /module load time registers 4 configurations and when user selects a different configuration (via module param sysfs entry) from device UI, composite layer should reset the present configuration (just like disconnect) and when it re-enumerates it should send the desired config as a first entry in config descriptors list. Thanks, Pavan -- 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