Hi!
I recently bought a Arduino Leonardo board.
I am now trying to upload programs with the Arduino IDE (1.0.1) on Fedora 17, 64bit.
When I plug it in, dmesg reports this:
[144825.697050] usb 3-1: new full-speed USB device number 14 using uhci_hcd
[144825.870055] usb 3-1: New USB device found, idVendor=2341, idProduct=0036
[144825.870059] usb 3-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[144825.870061] usb 3-1: Product: Arduino Leonardo
[144825.870063] usb 3-1: Manufacturer: Arduino LLC
[144825.873088] cdc_acm 3-1:1.0: ttyACM1: USB ACM device
[144833.526083] usb 3-1: USB disconnect, device number 14
[144833.737054] usb 3-1: new full-speed USB device number 15 using uhci_hcd
[144833.899134] usb 3-1: New USB device found, idVendor=2341, idProduct=8036
[144833.899138] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[144833.899140] usb 3-1: Product: Arduino Leonardo
[144833.899142] usb 3-1: Manufacturer: Arduino LLC
[144833.902167] cdc_acm 3-1:1.0: This device cannot do calls on its own. It is not a modem.
[144833.902187] cdc_acm 3-1:1.0: ttyACM1: USB ACM device
[144833.909194] input: Arduino LLC Arduino Leonardo as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.2/input/input23
[144833.909565] hid-generic 0003:2341:8036.000A: input,hidraw3: USB HID v1.01 Mouse [Arduino LLC Arduino Leonardo] on usb-0000:00:1a.0-1/input2
In the IDE I chose /dev/ttyACM1 as serial port. I guess, that's correct.
When I open the seriel monitor in the IDE, it reseivces "TESTATA" on this port.
BUT, if I try to upload my program, I get this error:
processing.app.debug.RunnerException: Couldn’t find a Leonardo on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:150)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
at processing.app.Sketch.upload(Sketch.java:1706)
at processing.app.Sketch.exportApplet(Sketch.java:1662)
at processing.app.Sketch.exportApplet(Sketch.java:1634)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2373)
at java.lang.Thread.run(Thread.java:722)
I found that someone here:
http://arduino.cc/forum/index.php?topic=127009.0Has the same problem, but also didn't find a solution.
I also downloaded the Arduino IDE from the Arduino website and tried to it with it, but it also reported this error:
processing.app.debug.RunnerException: Couldn’t find a Leonardo on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:150)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
at processing.app.Sketch.upload(Sketch.java:1706)
at processing.app.Sketch.exportApplet(Sketch.java:1662)
at processing.app.Sketch.exportApplet(Sketch.java:1634)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2346)
at java.lang.Thread.run(Thread.java:722)
Could this be a udev problem? Because it seems to connect as a Mouse.
What am I doing wrong?
Thanks
Kind regards
Mebus