remove the miscellaneous USB device from /dev
move functions and add comments