add some define about device
add kdb(not finished)