It seems like you're experiencing an issue with your Logitech MX devices on macOS Sonoma (an operating system version I'm not familiar with due to my knowledge cutoff in January 2022) when you open the Sound device settings. Here are some troubleshooting steps you can try:
1. **Check for Software Updates:** Ensure that your macOS and Logitech device drivers are up to date. Sometimes, software updates can resolve compatibility issues.
2. **Reset Bluetooth:** Go to your Mac's Bluetooth settings and remove the Logitech devices from the list of paired devices. Then, repair them by putting the Logitech devices in pairing mode and adding them again.
3. **Reset NVRAM/PRAM:** Resetting the NVRAM (non-volatile random-access memory) or PRAM (parameter RAM) can sometimes resolve issues. To do this, restart your Mac and immediately press and hold Option, Command, P, and R keys until you hear the startup chime twice.
4. **Logitech Driver/Software:** Check if Logitech offers updated drivers or software specifically designed for macOS Sonoma, as they may address compatibility issues.
5. **Check System Preferences:** In the Sound settings, make sure the Logitech devices are correctly configured as both input and output devices.
6. **Clamshell Mode Settings:** Review your Mac's settings for Clamshell mode to ensure there are no conflicts.
7. **Test on a Different Mac:** If possible, test the Logitech devices on another Mac running a different macOS version to see if the issue is specific to macOS Sonoma.
8. **Contact Support:** If the problem persists, reach out to both Apple Support and Logitech Support for assistance.
Since macOS Sonoma is beyond my last knowledge update in January 2022, there may have been updates or fixes addressing this issue that I'm not aware of. It's advisable to check for the latest information and solutions related to your specific macOS version.