Contributed by grey on from the cool shit dept.
"Well, there you have your Soekris box, running OpenBSD-current, with GPIO drivers enabled, and the Error LED is still idle? Don't despair!" gpioflicker lets your selectively use the error light to flash when pf logs something to pflog0. The default values are suitable for a Soekris Net4501. For other boxen, you may need to use the -d and -p switches, and possibly do some initialization with gpioctl
(Comments are closed)
By Anonymous Coward (66.131.206.50) on
By Anonymous Coward (24.19.191.108) on
I have not tired it yet, but would this compile on an older version of OpenBSD than -current, say 3.4 or so?
And, no I am not looking a gift horse in the mouth, any chance of a mod to allow turning the light on/off directly? I could see that being useful in a script where the light might come on during execution or something. Unfortunately my C skills are rusty to the point of nearly nothing by now... :-(
Thanks!!
Comments
By Anonymous Coward (66.44.2.39) on
It looks like you can activate it with pkill -USR1 gpioflicker and de-activate it with pkill -USR2 gpioflicker. I don't have this piece of hardware; that's just based on the webpage, where it says "Signals".
By Anonymous Coward (84.44.246.43) on
By Chris (24.76.117.234) on
Comments
By Fábio Olivé Leite (15.235.153.99) fabio.olive@gmail.com on http://fabioolive.blogspot.com/
Comments
By Anonymous Coward (67.71.178.100) on
It doesn't matter what ESR says. This is the English language and the plural for box is boxes.
Comments
By Jason (142.179.203.230) on
This is actually an exceptionally common piece of slang amongst people I know.
-Jason
Comments
By Nate (65.94.102.65) on
Boxen for computers, Charlie for the daemon, referring to Linux as an operating system, saying wtf, lol or anything else l33t (most especially pwned) are all on the list of fist-to-face sayings.
Comments
By Anonymous Coward (195.224.109.30) on
By Chris (24.76.117.234) on
By tedu (64.173.147.27) on
or is it axen? :)
Comments
By Anonymous Coward (213.118.35.56) on
By martin (62.178.75.222) martin@ on
By Chris (24.76.117.234) on
By Martin Hein (81.19.245.10) on
Comments
By Martin Hein (81.19.245.10) on
Comments
By Gimlet (128.252.11.235) on
By Chris (24.76.117.234) on
A lot of people say "Where is your house at?" too.
Comments
By Fábio Olivé Leite (15.235.153.99) on
Why is it so difficult to accept that most people like using the specific dialect of the social group they are currently interacting with?
When you refer to a group of eight binary digits (gee, I almost typed bits), do you use the word byte, or octet? Octet was there in the English language when someone just came up with byte, yet most people use byte anyway, even though it may have meant more than eight binary digits in some minicomputers of the past (OK, french people use octet, but they tend to have a less dynamic use of language).
Comments
By Chris (24.76.117.234) on
I'd expect the people of this technical community at least to care about correctness in language. Be it in man pages, code, or written communication, clarity matters. There's nothing more irritating in written communication that to have to stop and take that millisecond to figure out what someone is talking about because they're using an abortion of a word like "boxen" (or just as bad, "cute" spellings like Micro$oft).
Comments
By Fábio Olivé Leite (200.182.145.118) on
"Cute" spellings such as Micro$oft also convey more meaning than the plain "correct" word they represent, since the modifications used to make it "cute" express additional ideas the writer has about the subject, in a very compact form.
If you have to take extra milliseconds to understand these "enhanced" forms of communication (or dialects, if you will), it's clear that you are not part of the subculture that uses them. Now you only have two options: decide you want to be a part of this subculture, learn the dialect and stop whining; or decide you don't want to be a part of this subculture, go away and stop whining. :)
Comments
By Chris (24.76.117.234) on
What does boxen give you that "machine" or "computer" or even "workstation" doesn't? It's used so indescriminantly that people are hanging adjectives off it now: Windows boxen, Redhat boxen, etc.
Cutesy spelling is completely indefensible. I've never seen a usage that doesn't look juvenile. That's the main reason why you don't see that kind of spelling where anyone is trying to be taken seriously (that and that tired old warhorse, clarity).
Comments
By Fábio Olivé Leite (15.235.153.99) on
By xFred (24.47.180.14) on
Was hoping it would give me the same functionality as on a soekris, but OTOH you can still turn on/off lights via these commands:
#turn on first light (left > right)
gpioctl -c 2 pp out
#turn off first light
gpioctl -c 2 tri
Light 2 is -c 3, light 3 is -c 18.
Gonna take a look at the source for this and see if its something i am capable of hacking to work with the WRAP.