By “driver” I assumed native or python daemon that actually uses existing linux drivers for USB dongle. I suppose that most USB dongles will show up as ttySxx device. Then you can use udev rules to symlink your dongle VID:PID to specific device names that you can later enumerate from daemon.
Modifying kernel is not supported or encouraged.