QtSixA is the Sixaxis Joystick Manager
It can connect PS3 hardware (Sixaxis/DualShock3 and Keypads) to a Linux-compatible machine.
Currently it supports Sixaxis buttons, axis, accelerometers and LEDs.
(rumble support is available in the latest beta version)
QtSixA also registers the Sixaxis and Keypad's MAC/ID in the joystick name (ex: "PLAYSTATION(R)3 Controller (00:XX:X0:0X:XX)".