I've almost managed to incorporate the dragon as a ISP to the ide. files are at https://github.com/macsimski/dragon.
There is one issue that i'm unable to burn a bootloader directly from within the IDE.
/home/simon/aawork/Arduino/arduino-1.6.5-r5/hardware/tools/avr/bin/avrdude -C/home/simon/aawork/Arduino/arduino-1.6.5-r5/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -cdragon_isp -Pusb -Uflash:w:/home/simon/aawork/Arduino/arduino-1.6.5-r5/hardware/arduino/avr/bootloaders/optiboot/optiboot_atmega328.hex:i -Ulock:w:0x0F:m avrdude: Version 6.0.1, compiled on Apr 14 2015 at 19:04:16 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "/home/simon/aawork/Arduino/arduino-1.6.5-r5/hardware/tools/avr/etc/avrdude.conf" User configuration file is "/home/simon/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : usb Using Programmer : dragon_isp avrdude: usbdev_open(): did not find any USB device "usb" Error while burning bootloader.
but when i copy the command above and put it in a terminal, it runs fine.
my environment: Ubuntu 14.04 AMD64 running IDE 1.6.5 as normal user.