Skip to content

Avrdude on Linux64 is compiled whitout libusb #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ffissore opened this issue Apr 10, 2015 · 17 comments
Closed

Avrdude on Linux64 is compiled whitout libusb #23

ffissore opened this issue Apr 10, 2015 · 17 comments

Comments

@ffissore
Copy link
Contributor

From @eni23 on April 9, 2015 20:5

arduino: 1.6.3 release from arduino-website
os: debian wheezy amd64

the avrdude-binary is not compiled with libusb, which means no usb-serial adapters are supported. since most arduino-boards depend on usb-communication this is a quite big impact.
workaround: compile avrdude 6.0.1 on your own and replace broken binary's

Copied from original issue: arduino/Arduino#2952

@ffissore
Copy link
Contributor Author

From @mschlenker on April 10, 2015 6:57

USB serial adapters usually are supported by the linux kernels drivers, not userland drivers. Those userland drivers are usually just needed for more exotic programmers.

Could you please post the USB IDs of the USB serial adapter (lsusb output) and the kernel version you are using (uname -a). Then after plugging in the usb serial adapter take a look at the last lines in the out put of dmesg.

@ffissore
Copy link
Contributor Author

From @matthijskooijman on April 10, 2015 7:15

Agreed that libusb isn't needed for usb-serial adapaters, but not having libusb is still a problem for non-serial programmers like the JTAGICE3 and some others.

@ffissore
Copy link
Contributor Author

I've checked the logs, and indeed since we switched to static compiling, avrdude is not linking to libusb anymore. Problem is without static, gcc fails with a missing LTO plugin.

@eni23
Copy link

eni23 commented Apr 10, 2015

u i was a little bit in a hurry i meant isp programmers and not uart-adapters. but anyway, it should be possible to compile it static with libusb..

@tdicola
Copy link
Contributor

tdicola commented Apr 12, 2015

If it helps, here's a similar issue I raised about this where USBtinyISP programming (for boards like Trinket, Gemma, or the real USBtinyISP programmer) doesn't work because of the static link missing libusb issue: #22

@larsemil
Copy link

Yes. programming Gemma is not possible with 1.6.3.

avrdude was compiled without usb support.

I am more then happy to compile myself, if I know what to change to get libusb to work again.

@ffissore
Copy link
Contributor Author

Working on this atm

@ffissore
Copy link
Contributor Author

@ffissore
Copy link
Contributor Author

Sent too early: an updated toolchain will be soon released

@matthijskooijman
Copy link
Collaborator

What Arduino IDE will this upodated toolchain be released in? 1.6.4 I presume?

@ffissore
Copy link
Contributor Author

Thanks to boards manager, we are going to release a 1.6.4 avr core very soon. May be even tomorrow CET morning

@ffissore
Copy link
Contributor Author

1.6.4 core and tools (with libusb fix) available through boards manager

@shimanyi
Copy link

@ffissore Any quick fixes on this? I am embarrassingly new in this, I get the error mentioned /bin/avrdude: not found but I can't get any fixes on this. Please give me pointers. I just need to upload from sublime.

Thanks

@ffissore
Copy link
Contributor Author

@shimanyi your issue has nothing to do with this one. This is about missing support to libusb. Your issue is about a non existent /bin/avrdude

@shimanyi
Copy link

@ffissore Thanks for the feedback, how do I get around that though?

@ffissore
Copy link
Contributor Author

I don't know. It's an issue with stino

@shimanyi
Copy link

Ok, thanks. Will keep looking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants