Comedi mark_buffer_read is not working as expected