I've recently bought my first Arduino (MEGA 2560) from RS and I'm having issues connecting to it.
I'm trying to connect on Linux Mint 20.2 Cinnamon but have also tried it on a windows 10 machines with similar issues.
When plugged in the MEGA is detected but doesn't assign a port. In the IDE the tools_Port menu is greyed out.
I get the following from terminal commands, can anybody help?
$ lsusb
Bus 001 Device 020: ID 03eb:2fef Atmel Corp. atmega16u2 DFU bootloader
$ dmesg
[ 490.794949] usb 1-6.2: new full-speed USB device number 20 using xhci_hcd
[ 490.897571] usb 1-6.2: New USB device found, idVendor=03eb, idProduct=2fef, bcdDevice= 0.00
[ 490.897577] usb 1-6.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 490.897581] usb 1-6.2: Product: ATmega16u2 DFU
[ 490.897584] usb 1-6.2: Manufacturer: ATMEL
$ usb-devices
T: Bus=01 Lev=02 Prnt=03 Port=01 Cnt=01 Dev#= 20 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=00 MxPS=32 #Cfgs= 1
P: Vendor=03eb ProdID=2fef Rev=00.00
S: Manufacturer=ATMEL
S: Product=ATmega16u2 DFU
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 0 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
$ lsusb -v
Bus 001 Device 019: ID 03eb:2fef Atmel Corp. atmega16u2 DFU bootloader
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 1
bDeviceProtocol 0
bMaxPacketSize0 32
idVendor 0x03eb Atmel Corp.
idProduct 0x2fef atmega16u2 DFU bootloader
bcdDevice 0.00
iManufacturer 1 ATMEL
iProduct 2 ATmega16u2 DFU
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0012
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 0
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)
$ sudo lshw
*-usb:0 UNCLAIMED
description: Generic USB device
product: ATmega16u2 DFU
vendor: ATMEL
physical id: 2
bus info: usb@1:6.2
version: 0.00
capabilities: usb-2.00
configuration: maxpower=100mA speed=12Mbit/s