For my lens the name in the lensfun-list didn't match the name in exiv2.
So Darktable didn't get the lens-correction.
Name in exiv2 is "Olympus M.Zuiko Digital ED 12-40mm F2.8 Pro"
Name in lensfun is "Olympus M.Zuiko Digital ED 12-40mm F2.8" (witout "Pro").
exiv2 -pt 0300.ORF | grep -ai lens
Exif.OlympusEq.LensType Byte
6 Olympus M.Zuiko Digital ED 12-40mm F2.8 Pro
Exif.OlympusEq.LensModel Ascii
32 OLYMPUS M.12-40mm F2.8
Exif.OlympusEq.LensProperties Short
1 49472
Exif.Photo.LensModel Ascii
32 OLYMPUS M.12-40mm F2.8
The following Patch works for me and Darktable does automatic lens-correction.
http://sourceforge.net/p/lensfun/code/ci/master/tree/data/db/mil-olympus.xml
On Ubuntu-Linux:
File: /usr/share/lensfun/mil-olympus.xml
Line: 600
Edit:
Last edit: Frank Jäger 2015-09-26