[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #41357] OS X: Avrdude messes with the usb stack?
From: |
Joerg Wunsch |
Subject: |
[avrdude-dev] [bug #41357] OS X: Avrdude messes with the usb stack? |
Date: |
Sun, 26 Jan 2014 20:59:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; FreeBSD i386) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36 |
Follow-up Comment #1, bug #41357 (project avrdude):
Can you recompile your AVRDUDE version yourself?
In usb_libusb.c, there's the following piece of code:
#if !( defined(__FreeBSD__) ) // || ( defined(__APPLE__) && defined(__MACH__)
) )
/*
* Without this reset, the AVRISP mkII seems to stall the second
* time we try to connect to it. This is not necessary on
* FreeBSD.
*/
usb_reset(udev);
#endif
As you can see, opinions varied over time whether the
usb_reset() were needed for OSX or not. It seems to be
needed for Linux, where this code originates from, and it's
for sure not needed on FreeBSD, as FreeBSD's initial libusb
implementation implemented usb_reset() only as a stub without
any action, yet it works there.
Try removing the comment mark in the #if line. Well, maybe
we should actually change the #if into an #ifdef __linux__
if Linux is the only system that needs this.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?41357>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avrdude-dev] [bug #41357] OS X: Avrdude messes with the usb stack?, Juergen Eckert, 2014/01/26
- [avrdude-dev] [bug #41357] OS X: Avrdude messes with the usb stack?,
Joerg Wunsch <=
- [avrdude-dev] [bug #41357] OS X: Avrdude messes with the usb stack?, Juergen Eckert, 2014/01/26
- Re: [avrdude-dev] [bug #41357] OS X: Avrdude messes with the usb stack?, Joerg Wunsch, 2014/01/26
- [avrdude-dev] [bug #41357] OS X: Avrdude messes with the usb stack?, Juergen Eckert, 2014/01/26
- [avrdude-dev] [bug #41357] OS X: Avrdude messes with the usb stack?, Joerg Wunsch, 2014/01/26
- [avrdude-dev] [bug #41357] OS X: Avrdude messes with the usb stack?, Juergen Eckert, 2014/01/27
- [avrdude-dev] [bug #41357] OS X: Avrdude messes with the usb stack?, Joerg Wunsch, 2014/01/27