Char device registration