libmtp has functions to get/set the friendly name of a device, but no example program includes this functionality. I added mtp-name which prints the name of the first device (when no arguments are given) or sets it (when a single argument is given).
Please pull from
git://github.com/Mortal/libmtp.git master
or apply the attached patch to get the changes.
Anonymous