Only in /usr/glenda/nusb/serial: cdc.c diff -ur /sys/src/cmd/nusb/serial/mkfile /usr/glenda/nusb/serial/mkfile --- /sys/src/cmd/nusb/serial/mkfile Fri Dec 13 00:31:34 2019 +++ /usr/glenda/nusb/serial/mkfile Mon Jun 8 18:00:33 2020 @@ -1,7 +1,7 @@ hasepintr && epintr == -1)) - return -1; + if(epin == -1 || epout == -1 || (ser->hasepintr && epintr == -1)){ + ifc++; + if(ifc > 1) + return -1; + goto TOPFINDEPS; + } + ifc = oifc; if(openeps(&ser->p[ifc], epin, epout, epintr) < 0) return -1; @@ -714,6 +722,7 @@ extern int slprobe(Serial *ser); extern int chprobe(Serial *ser); extern int uconsprobe(Serial *ser); +extern int cdcprobe(Serial *ser); void threadmain(int argc, char* argv[]) @@ -750,7 +759,8 @@ && ftprobe(ser) && slprobe(ser) && plprobe(ser) - && chprobe(ser)) + && chprobe(ser) + && cdcprobe(ser)) sysfatal("no serial devices found"); for(i = 0; i < ser->nifcs; i++){