Delete unused code
Sync with protocal type
Add avalon2 usb cleanup