same code : serial_dev, draw_dev