According to you file, linux sees your pads as only one. It's why when you configure player 2, player 1 stopped to work.
/dev/input/event2: D_R_M JUYAO Dual Arcade
if you try an other linux system, with usbhid.quirks = 0x314: 0x328: 0x040, do you see 2 pads ?