Ubuntu 18.04 doesn't recognize Kindle Paperwhite

It was a problem with the JBL USB cable. From what I realized this cable only serves to recharge devices and not to transfer files.