Hello.
I forgot to send the problem screen prints. Now I'm sending.
The problem both happens only by compiling or executing.
I read in the forum that to have access to USB port should use the following procedure
KERNEL == "hiddev [0-9]", SUBSYSTEM == "usb",
SYSFS {idProduct} == "2525", SYSFS {idVendor} == "04d8",
MODE == "0666"
If the MODE is "0666" it usually hangs the communication, I changed it to MODE = "0777", it rarely hangs now, I'm using libusb1.0.9
I followed all the procedures and requests for the installation of libusb1.0.21
Only that I installed on top of libusb1.0.9 I do not know if this could be what is causing the error messages. If a colleague confirms that it was successful, I will format the partition that is ubuntu Linux 16.04 LTS 64bit and perform a clean installation.