8U2 firmware version on linux

I want to check for needing firmware update of my Atmega8U2 on the Mega2560 rev.1 Board.

http://arduino.cc/en/Hacking/DFUProgramming8U2 give only an instruction for Windows and Mac OSX.

"lsusb" can give me only small informations.

Eventually following can give more informations but I don't know what is the relevant number for this firmware version (see my attachment).

udevadm info -a -p $(udevadm info -q path -n /dev/ttyACM1)

Thanks in advance, Thomas

udevadm_output.txt (3.52 KB)

It's the bcdDevice attribute that shows the firmware version on the 8U2.
Yours says 0000 which means you need to upgrade.
Version 0001 would be ok. I don't know if there are any newer versions.

Thank you very much!

Eventually better code for linux check:

udevadm info -a -p $(udevadm info -q path -n /dev/ttyACM0)|grep bcdDevice
 ATTRS{bcdDevice}=="0000"
 ATTRS{bcdDevice}=="0307"