Finally! udev rules seems to be the things I was looking for