Char device driver for linux