device file access problem solved