misc: add function combine_dev_type
device: fix somethings
shell & handler: change device id