Bug #1369

New lens Yongnuo 50mm f/1.8 II for Canon

Added by Michal Fapso about 3 years ago. Updated about 3 years ago.

Target version:
Start date:
01 Oct 2018
Due date:
% Done:


Estimated time:
1.00 h


Please, add this lens to Canon lenses:

Exif.CanonCs.LensType Short 1 (8434)
Exif.CanonCs.Lens Short 3 50.0 mm
Exif.Canon.LensModel Ascii 70 YN50mD f/1.8 II
Exif.Photo.LensSpecification Rational 4 50/1 50/1 0/0 0/0
Exif.Photo.LensModel Ascii 70 YN50mD f/1.8 II
Exif.Photo.LensSerialNumber Ascii 12 0000220d5f

Manufacturer link:

Thanks a lot!



Updated by Robin Mills about 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Robin Mills
  • Target version set to 0.27
  • % Done changed from 0 to 50
  • Estimated time set to 1.00 h


You can deal with this for yourself by updating the file ~/.exiv2. Please read this issue report:



Updated by Michal Fapso about 3 years ago

Thanks, Robin, for your quick reply. I have just found out, that my darktable build uses exiv2 v0.25 which doesn't support the config file yet.

Here is a link to the Darktable Release PPA:
and to the Unstable PPA:

both containing the exiv2 v 0.25

It is not a big issue for me, since this is the only lens I have which is not identified properly :)


Updated by Robin Mills about 3 years ago

  • Category changed from lens to not-a-bug
  • Status changed from Assigned to Closed
  • % Done changed from 50 to 100

That's the same situation that was reported yesterday in #1368. I added the ~/.exiv2 feature in v0.26 because I get many requests to add new lens recognition. I didn't really understand the discussion here:

I'm working to release v0.27 RC1 at the moment and hope we'll get the v0.27 GM by Christmas. I expect the Linux distros will publish that in 2019 and darktable (and other applications such as GIMP, digiKam, GwenView, Shotwell) will release versions next year that use Exiv2 v0.27. Of course, you'll have to wait for this to appear and that shows the value of the ~/.exiv2 feature. Once you have that, you won't need to wait months/years to add a new lens.

Thanks for using darktable and Exiv2.


Updated by Michal Fapso about 3 years ago

Sure, that makes a lot of sense. Thank you for working on exiv2!

Also available in: Atom PDF