Slashdot Mirror


Panicking In Morse Code

An anonymous reader writes "When an i386 running Linux panics, a function in the kernel called 'panic_blink' causes the system's LEDs to blink. Andrew Rodland recently posted a creative patch to turn that steady blink into a useful message in morse code!"

3 of 218 comments (clear)

  1. I would rather have a POST code type system by frovingslosh · · Score: 5, Insightful
    This does seem somewhat bloated. The article claims it only adds a few hundred bytes, but isn't more specific. The encoding of the letters and numbers in Morse seems wasteful, but it can't be done by five bits in one byte the way Alan Cox suggested, since not all Morse characters are 5 symbols long. There would be space in a byte to store all of this information though if the remaining bits were used to store the number of encoded bits. But the real bloat comes in coding all of the potential panics anywhere they might occur. Overall I think I would prefer a system that simply passed a numeric panic number, much like the BIOS power on self test system beeps to inform a user of what failed. More limited, but reasonable for it's size. Or, if you think like Bill Gates and bloat isn't a promise but rather a blessing, then a nice text to speech system would let the computer say why it panicked.

    As to the question of flashing the LED because Morse on the speaker might be too annoying, I say go for the speaker. Those who do know Morse know it by sound, not by individual dots and dashes, and seeing it on an LED is a very different thing than listening to it. If the system has panicked I'm already annoyed, beeping isn't going to be a problem. Just the opposite, if I'm nearby but not looking at the computer I want the beeping to get my attention to the problem.

    And here's the really stupid question: What is this blinking system LED he's talking about???? I have a power LED on my PC, but it's not software controlled. Some PC's used to have a "turbo" LED, but that's been phased out. I sure hope he's not using the hard disk LED. Is he using a Keyboard LED or am I missing something really obvious here?

    --
    I'm an American. I love this country and the freedoms that we used to have.
  2. dahdididadit didadidadidah = /. by Pingo · · Score: 2, Insightful

    As an old army telgraphist and hamradio operator I would prefer morse to be sent via the PC speaker instead of some LED's. A human can attain much higher reception speed by using his eara as opposed to using his eys.

    Since I myself is capable of morse ear reception much faster than normal people are able to speak, I would really like to have a morse interface to my Linux boxes.

    Imagine also to get rid of the keyboard and use a simple morse key as input device. Ahhh nirvana at last. //Pingo

    --
    --- Linux or FreeBSD, it's like blondes or brunettes. I like both. ---
  3. A cool and excellent hack! by farrellj · · Score: 4, Insightful

    Thanx to the people to worked on it...it is silliness like this that make Linux well worth the effort to learn, understand and play with!

    ttyl
    Farrell

    --
    CAN-CON 2019 - Ottawa's only book oriented Science Fiction Convention! October 18-20, Sheraton Hotel, Ottawa, Canada h