Hello Jean-Michaël, On Fri, Oct 04, 2024 at 09:59:00AM -0400, Jean-Michaël Celerier wrote: > Thanks, my understanding is then that it is not really possible as of now > to instantiate this driver with hot-plug USB devices, right ? Not 100% sure. It's possible to add information for pci devices to the device tree, too, even though that bus is hotpluggable and usually autodetected. > I'd gladly look into contributing a patch but have never contributed to the > kernel and would have no clue as to where to start. For the generic solution you would need to create a sysfs file similar to the "new_device" property for i2c (implemented in drivers/i2c/i2c-core-base.c:new_device_store()). Instead of creating a i2c device you'd create a platform device then. But the details are different enough that this isn't an easy task for a kernel newcomer. Best regards Uwe
Attachment:
signature.asc
Description: PGP signature