1) Register the device as char type.

2) Test has NOT passed. There is semengation fault.