Devices and Desires is a 1989 detective novel by English writer P. D. James, the eighth book of her Adam Dalgliesh series. It takes place on Larksoken, a fictional isolated headland in Norfolk. From Wikipedia
The six-episode series adapts three PD James novels, with Bertie Carvel reprising his role as the enigmatic detective and stepping into the director's chair.