Linux Mint 17.2 and USBasp...

Hi All.
For a change I am trying to get along with Linux Mint 17.2 and while Arduino IDE 1.5.x and Ueide seem to work OK, including the FTDIxx module for programmimg the Pro mini I am having no luck at all using an USBasp programmer (this works fine under Win7-64).

Most of the time the fault seems to be it can't find the USBasp..

I have lots of spare USB ports but it never seems to find them, some folks say Linux/Mac has the drivers built-in? others say not and you need to do a bit in the terminal!

Please can someone give me an answer, or point me in the right direction..

Any ideas?

Regards

Mel.

What is USBasp ? Have you a link to it ?

I am using Linux (Puppy Linux).

...R

Hi Robin2,
Our paths cross again! do you answer every question on this forum?? It just seems like it, and good that you try.

USBasp is a simple programmer for Arduino and google will show many results..

It started here:USBasp - USB programmer for Atmel AVR controllers - fischl.de on this site it says:

Drivers
On Linux and MacOS X no kernel driver is needed. Windows requires a driver for USBasp:
usbasp-windriver.2011-05-28.zip (70 kB)

But there are many copies, including cheap Chinese one's guess which I got!!

Both the Arduino IDE and Uecide report that they can't find the device.

Regards

Mel.

I sort-of figure from what you say the USBasp is a piece of hardware that connects to a PC with USB and its other end connects to the Atmel chip to be programmed. (I had thought it was a piece of software)

If that is so, what do you see when you type lsusb at the console ?
and what do you see if you type dmesg immediately after you connect or disconnect the device from your PC

...R

You might need to add a udev rule that will allow you to access the device. Download the firmware package from: USBasp - USB programmer for Atmel AVR controllers - fischl.de you will find a udev rule under bin/linux-nonroot, or just use the rule below.

Plug in the USBasp, open a terminal and run the lsusb command.
Bus 004 Device 003: ID VendorID:ProductID VOTI USBasp AVR Programmer
See that the vendor and product ID's match the udev rule, if not, edit the rule.

99-USBasp.rules

Copy this file to /etc/udev/rules.d

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="16c0", SYSFS{idProduct}=="05dc", MODE="0666"

tf68:
You might need to add a udev rule

Your advice is almost certainly useful (not sure if it is essential, though it may be convenient)

But this is a wonderful example of the delights of Linux for newbies ....

...R