Look at the Line
idVendor=054c, idProduct=0268, bcdDevice= 1.00
in your "dmesg-Log"
On another Board it says that this is a SHANWAN PS3 GamePad even if it say "Product: PS3 Controller" and "Manufacturer: Sony" in the Log-File
So in the "recalbox.conf" File you must change the Line "controllers.ps3.driver=official" from "official to "shanwan"
and set "controllers.ps3.enabled=1"
You will find these Settings in the "recalbox.conf" File under "D1 - PS3 Controller"
If you don't know, you will find the "recalbox.conf" File in
Infos about PS3 Controller Drivers in Recalbox: