my $emc_device = substr($inq, (length($inq) - 3)/2, 3);