-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Comments
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. |
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. |
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. |
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.. |
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 |
Yes. programming Gemma is not possible with 1.6.3.
I am more then happy to compile myself, if I know what to change to get libusb to work again. |
Working on this atm |
Sent too early: an updated toolchain will be soon released |
What Arduino IDE will this upodated toolchain be released in? 1.6.4 I presume? |
Thanks to boards manager, we are going to release a 1.6.4 avr core very soon. May be even tomorrow CET morning |
1.6.4 core and tools (with libusb fix) available through boards manager |
@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 |
@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 |
@ffissore Thanks for the feedback, how do I get around that though? |
I don't know. It's an issue with stino |
Ok, thanks. Will keep looking. |
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
The text was updated successfully, but these errors were encountered: