add get_default_device()

also add an example with read(),
without specifying a device -> default used

get_default_device() doesn't work on 64 bit Linux yet