Skip to content

Avrdude on Linux64 is compiled whitout libusb #2952

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
eni23 opened this issue Apr 9, 2015 · 5 comments
Closed

Avrdude on Linux64 is compiled whitout libusb #2952

eni23 opened this issue Apr 9, 2015 · 5 comments

Comments

@eni23
Copy link

eni23 commented Apr 9, 2015

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

@mschlenker
Copy link
Contributor

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.

@matthijskooijman
Copy link
Collaborator

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

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.

@ffissore
Copy link
Contributor

This issue was moved to arduino/toolchain-avr#23

@ffissore
Copy link
Contributor

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

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

4 participants