quarta-feira, 28 de outubro de 2015

Installing and giving permission to JTAGICE mkII and others USB programmers on Linux

If you're receiving errors like these:
avrdude: usbdev_open(): cannot open device: Permission denied
avrdude: usbdev_open(): did not find any USB device "usb"


Maybe you have to give the right permission for your programmer.
In my case I'm using the JTAGICE mkII-CN on USB.

First of all, check if your JTAG was recognized:
  • Open the terminal and type lsusb 

Note that in my case was found on BUS 002 and DEVICE 004, so, let's check the permissions of this DEVICE:
  • On the terminal type: ls -l /dev/bus/usb/002/004
Note that in my case I don't have permission to this device. So, let's create a UDEV rules for a permanent permission:

  • Create a new file named 60-avrisp.rules on the folder /etc/udev/rules.d/ with this content:
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="avrisp_end"
# JTAGICE mkII
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2103", GROUP="dialout", MODE="0666"
# AVRISP mkII
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2104", GROUP="dialout", MODE="0666"
# Dragon
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2105", GROUP="dialout", MODE="0666"
LABEL="avrisp_end"

  • Now, let's reload the UDEV rules. Open the terminal and write:
sudo udevadm control --reload-rules
sudo service udev restart
sudo udevadm trigger

  •  Unplug the USB device and plug again
  •  Let's check our USB devices again typing lsusb


 Note that in my case now was found on BUS 002 and DEVICE 009 (changed from 004 to 009), so, let's check the permissions of this DEVICE again:
  • On the terminal type: ls -l /dev/bus/usb/002/009

 PERFECT!
 Now let's check if our user are in the "dialout" group
  • on the Terminal write groups and check if if you're at dialout group


If didn't appears the dialout group, add your user to this group typing on the Terminalsudo adduser yourusername dialout and reboot your computer

quarta-feira, 30 de setembro de 2015

Slic3r GUI Error OpenGL.so libglut.so Linux Ubuntu

If you're receiving a error message like this:

Can't load '/folder/Slic3r/lib/vrt/9e109cfe461eb9a764d58156ba7bc844/OpenGL.so' for module OpenGL: libglut.so.3: Não é possivel abrir arquivo de objetos compartilhado: Arquivo ou diretório não encontrado at /DynaLoader.pm line 157.
 at /folder/RepetierHost/Slic3r/lib/std/Slic3r/GUI/Plater/2DToolpaths.pm line 120
Compilation failed in require at /folder/Slic3r/lib/std/Slic3r/GUI/Plater/2DToolpaths.pm line 120.
BEGIN failed--compilation aborted at /folder/Slic3r/lib/std/Slic3r/GUI/Plater/2DToolpaths.pm line 120.
Compilation failed in require at /folder/Slic3r/lib/std/Slic3r/GUI.pm line 16.
BEGIN failed--compilation aborted at /folder/Slic3r/lib/std/Slic3r/GUI.pm line 16.
Compilation failed in require at (eval 71) line 1.



Just open you terminal and write:
  • sudo apt-get install freeglut3
  • Just say "Thanks" on Comments if worked for you :o) 

quarta-feira, 12 de agosto de 2015

Programa de RESET para impressora Epson TX430w

EPSON Adjustment Program (AdjProg.exe) é o programa responsável por fazer o RESET dos contadores da impressora EPSON TX430w.
Nesse post, estou documentando como eu fiz a limpeza das almofadas da impressora EPSON TX430w.

Minha impressora começou a mostrar a seguinte mensagem de erro:


  • As almofadas de tinta da impressora estão no fim da sua vida útil.
  • Uma almofada de tinta necessita manutenção. A almofada de tinta está no final da sua vida útil. Desligue o produto e entre em contato com a Epson para obter suporte.
  • Uma almofada de tinta está chegando ao fim da sua vida útil. Entre em contato com a Epson para obter suporte técnico.
  • Fim da vida útil de componentes.
  • É necessário á substituição de componentes interno.


No vídeo abaixo eu mostro como eu abri a minha impressora EPSON TX430w e limpei as almofadas de tinta.


Depois, foi necessário RESETAR os contadores e EEPROM da impressora, para que ela voltasse a funcionar com a almofada limpa.

Para isso, você precisa fazer download do programa de RESET da EEPROM da EPSON, chamado  EPSON Adjustment Program. 
Para os Modelos TX430w, o programa está disponível aqui: 

Download RESET TX430W (senha: nossorepositorio)

Com a IMPRESSORA LIGADA abra o programa e selecione a opção WASTE INK PAD COUNTER e clique em OK conforme figura abaixo:


Após clicar em OK, marque as opções MAIN PAD COUNTER e clique no botão INITIALIZATION conforme figura abaixo:


Desligue a impressora e após isso clique no botão FINISH.