Sun 4 kbd LEDs

Sandeep Mehta smehta at kwela.nynexst.com
Wed Apr 24 10:00:00 AEST 1991


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 at nynexst.Com




More information about the Comp.sys.sun mailing list