Article View: comp.sys.sun
Article #7560Sun 4 kbd LEDs
From: Sandeep Mehta
Date: Wed, 24 Apr 1991 00:00
Date: Wed, 24 Apr 1991 00:00
19 lines
1089 bytes
1089 bytes
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
Technical Details
Message-ID:
<2604@brchh104.bnr.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: smehta@kwela.nynexst.com (Sandeep Mehta) Newsgroups: comp.sys.sun Subject: Sun 4 kbd LEDs Keywords: Miscellaneous Message-ID: <2604@brchh104.bnr.ca> Date: 24 Apr 91 00:00:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 20 Approved: Sun-Spots@rice.edu X-Original-Date: 19 Apr 91 18:07:48 X-Sun-Spots-Digest: Volume 10, Issue 86, message 21 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu