Re: umsc(4) no longer works since t2k17 hackathon

2017-10-04 Thread Paul de Weerd
On Wed, Oct 04, 2017 at 12:59:45PM -0700, Philip Guenther wrote: | > - if (!umcs_get_reg(sc, UMCS_GPIO, &data)) { | > + printf("%s: data before umcs_get_reg: %d\n", DEVNAME(sc), data); | > + umcs_get_reg(sc, UMCS_GPIO, &data); | > + printf("%s: data after umcs_get_reg: %d\n", DEVNAME(sc), d

Re: umsc(4) no longer works since t2k17 hackathon

2017-10-04 Thread Philip Guenther
On Wed, 4 Oct 2017, Paul de Weerd wrote: ... > which bumps dev/usb/umcs.c to revision 1.5 with commit message: > > "Deactivate the device if I/O fails in attach. > > Coverity CID 1453399; ok deraadt@" > > reverting this makes the device work again, but since there's a > Coverity CID attached, th

umsc(4) no longer works since t2k17 hackathon

2017-10-04 Thread Paul de Weerd
Hi all, I have a 4-port ST Lab umsc(4) device that used to work quite well for serial access to a set of machines. Unfortunately, after upgrading to 6.2-ish, it stopped working with the error: umcs0: unable to get number of ports Bisecting through a set of snapshot kernels, I found the problem