Some success!
I found a post on the Ubuntu forums which was very useful. - http://ubuntuforums.org/showthread.php?t=2226702
I followed the various steps and found some of them to be unnecessary.
I didn’t need to install libmtp-common mtp-tools libmtp-dev libmtp-runtime or libmtp9 as my Ubuntu Mate installation already had the latest versions of these.
My version of fuse.conf was already the same as the one recommended in the post on Ubuntu forums.
With the undetected device plugged in, I ran lsusb from a terminal and saw a line representing my HTC One. The line will look something like the following:
Bus 002 Device 004: ID 0bb4:0dea M7_UL [HTC One]
The Bus and Device numbers will depend on the USB bus your device is connected to and the ID numbers, which are in the format Vendor:Device will depend on the actual device. The Vendor 0bb4 is HTC and the device 0dea is the M7_UL [HTC One].
Next thing is to add a line in the file /etc/udev/rules.d/51-android.rules. This will look like the following:
ATTR{idVendor}==“0bb4”, ATTR{idProduct}==“0dea”, MODE==“0666”
The numbers for Vendor and device will differ, depending on the device.
Create a 69-mtp.rules file (or edit it if it already exists). The file should be in /lib/udev/rules.d/69-mtp.rules
Add a couple of lines like the following (again the vendor and device numbers should match your device):
(the first line is simply a comment to remind you what the following line is for
# HTC One M7_UL
ATTR{idVendor}==“0bb4”, ATTR{idProduct}==“0dea”, SYMLINK+=“libmtp-%k”, ENV{ID_MTP_DEVICE}=“1”, ENV{ID_MEDIA_PLAYER}=“1”
Restart to udev service with: sudo service udev restart
When you next connect the device it should show up.
I’ve managed to connected my Amazon Fire HD 8 (2015 edition) also. You just need additional lines in the two files mentioned above.
When the Fire connects, you can either connect in MTP mode or in PTP mode (photographs). This is selected on the Fire screen (pull down from top when you connect).
There is a database of USB ids at http://www.linux-usb.org/usb.ids
If anyone finds devices not already in this database, they should submit them for inclusion.
Hopefully others will find this useful. Thanks to write_mem on Ubuntu forums for the original.