I can connect and program JTAG devices using my JTAGICE-mk2 via Studio4 or CodeVision.
But when I try to use:
avrdude -p m128 -c jtagmkii -v -P usb
I just get an error: Avrdude: usbdev_open() did not find any USB device "usb"
I have also tried (serial# is 00B00000346F):
avrdude -p m128 -c jtagmkii -v -P usb:34:6f
I have no trouble with a mk1 clone on usb (appears as com6):
avrdude -p m128 -c jtagmki -v -P com6
I have been messing around with LUFA devices, and I do not know whether I may have upset some registry.
avrdude is version 5.6cvs
The JTAG2 seems fine for debugging via Studio.