diff --git a/plugins/comedi/comedi.c b/plugins/comedi/comedi.c
index 8755b23f3daac399baed83e9b90bf46dd78533dd..499e6cd87d84faf5fd2e51bd7479fa849ea56ab8 100644
--- a/plugins/comedi/comedi.c
+++ b/plugins/comedi/comedi.c
@@ -344,14 +344,14 @@ static struct moberg_status channel_open(struct moberg_channel *channel)
     if (0 > comedi_dio_config(channel->context->device->comedi.handle,
                               channel->context->descriptor.subdevice,
                               channel->context->descriptor.subchannel,
-                              0)) {
+                              0) && errno != ENOENT) {
       goto err_errno;
     }
   } else if (channel->kind == chan_DIGITALOUT) {
     if (0 > comedi_dio_config(channel->context->device->comedi.handle,
                               channel->context->descriptor.subdevice,
                               channel->context->descriptor.subchannel,
-                              1)) {
+                              1) && errno != ENOENT) {
       goto err_errno;
     }
   }