IR driver for PS3 control using Logitech adapter.
Full control - including power on/off.
Note that much like the Sony Bluetooth remote, the adapter itself does not function in some few scenario's, mainly when Playing PS1/PS2 (disc)games, reading a disc just inserted, ejecting a disk, also very occasionally when loading movie menus or right as it's exiting a game or movie. As the driver is IR and one-way, this can occasionally cause a power off command to fail.
For best result on power off, STOP any PS1/2 games and wait a second or two.
As the power off is based on pulling up a menu (same as if you use a controller), and to cover all possible menu options, the power down is SLOW to execute - don't get impatient if it doesn't shut off right away.
Please see this thread for IR placement: