smehta@kwela.nynexst.com (Sandeep Mehta) (04/24/91)
I need to use the Sun 4 keybd LEDs as a diag for an application that I'm running. I tried using ioctl(kbfd, KIOCSLED,LED_CAPS_LOCK); and so on for others, but it don't get the any response. If I push the "kb" STREAMS module using ioctl(kbfd, I_PUSH, "kb"); before I do KIOCSLED then I get all 4 LEDs blinking more than once before a) my keybd hangs or b) the machine halts!! I think I'm messing/missing the order of necessary ioctl's. Any help/code appreciated. Please respond by email. Thanks. smehta@nynexst.Com