Hi. I'm David, and I'm happy to help you.
The pop-up "Which device did you plug in?" is usually from the audio manager included with the audio driver.
I know you've already checked that the driver is up-to-date through Device Manager. But in some cases, the latest drivers provided by the computer manufacturer are not available to be updated by the Device Manager.
Therefore, I suggest you download the latest audio driver available from the support area of your device manufacturer's website, uninstall the current driver, restart your computer and install the driver you downloaded.
You should be able to uninstall the current Realtek driver in "Settings > Apps > Apps & features". It should be named "Realtek Audio Driver" or "Realtek High Definition Audio".
Preferably, look for the audio driver for Windows 11. But if it's not available, download the latest one for Windows 10.
If you can't find the correct driver or uninstall it, let me know the manufacturer and model of your computer.
Feel free to ask back any questions.