Device types and char device registering.