Support detect dev id when start cgminer