School project - Serial driver on linux