Pentax lens info decoding
It looks like decoding of Pentax lenses info is broken for newer K10d firmware. The Exif.Pentax.LensType value used to be 2 bytes, and now is 3 bytes (the last is 0 for now). I have no idea how to adjust decoding to handle both record types.
And attached simple patch adds one missing Pentax lens record.