add .gitignore
add device check via shell