#ifdef DIAGNOSTIC
      if (scd->sc_in_rep_size != cc)
                printf("%s: bad input length %d != %d\n",USBDEVNAME(sc->sc_dev),
                       scd->sc_in_rep_size, cc);
#endif

A more correct fix is to change the line to something like this. It's
still not the most correct fix, but does it for me. Most of the "debug
statements" in uhidev.c are wrapped undef #DIAGNOSTICS anyway, but
this one was somehow left out.

-               printf("%s: bad input length %d != %d\n",USBDEVNAME(sc->sc_dev),
-                      scd->sc_in_rep_size, cc);
+               DPRINTF(("%s: bad input length %d != 
%d\n",USBDEVNAME(sc->sc_dev),
+                      scd->sc_in_rep_size, cc));

As stated before, the keyboard on ILOM seems to works just fine.

Reply via email to