Character device driver