Let me repeat what @popey said in a previous post : did you reboot afterwards ?
Because I did experience a “hardware undetected” problem too (under different, repeating circumstances though), that would be resolved by rebooting, except I didn’t want to reboot each and every time it happened. I found it was related to the concerned snap’s namespace being outdated regarding current hardware configuration, and removing the namespace (which is recreated accordingly upon next snap app execution) solved the problem.
More precisely, you would have to :
- Quit the affected snaps
- Identify affected snap namespaces that are mounted :
mount | grep nsfs
- Unmount affected snap namespaces (in the case of Firefox :
umount /run/snapd/ns/firefox.mnt
)
If the problem is namespace-related, that should do it (but again, as rebooting would). If that’s not the problem, it may very well be AppArmor, as @seb128 mentioned.