gphoto2 fails after update to 13.1

No need to compile from source. It’s available as a RPM package. You need to install ‘gphoto’ eg

zypper in gphoto

The camera is there, and is seen by the USB subsystem. dmesg gives this:

 3041.775253] usb 1-4.1.3: new high-speed USB device number 11 using ehci-pci
 3041.862749] usb 1-4.1.3: New USB device found, idVendor=04a9, idProduct=3227
 3041.862759] usb 1-4.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 3041.862766] usb 1-4.1.3: Product: Canon Digital Camera
 3041.862772] usb 1-4.1.3: Manufacturer: Canon Inc.

That output looks okay to me.