You are not logged in.

#1 2010-03-08 10:40:19

omgwtfbyobbq
Member
Registered: 2006-07-04
Posts: 226

Question about segfaults [solved]

I have a backlit keyboard that I couldn't get to function w/ linux, however it works well w/ windows. I figured it just couldn't be activated in *nix, however I was futzing around w/ a laptop HD in my desktop and after a segfault (Couldn't find the root disk) the whole keyboard started flashing on and off. What causes the flashing during a segfault? I figure I should be able to use that to turn on the keyboard illumination, but I don't have any idea where to start looking.

Last edited by omgwtfbyobbq (2010-03-09 03:36:33)

Offline

#2 2010-03-08 14:10:40

crankyadmin
Member
Registered: 2009-09-27
Posts: 117
Website

Re: Question about segfaults [solved]

Had the machine locked up then the K/B was flashing?


:: Github :: My AUR :: Coreboot ::

Offline

#3 2010-03-08 20:12:15

omgwtfbyobbq
Member
Registered: 2006-07-04
Posts: 226

Re: Question about segfaults [solved]

Yes. It spit out some debug output (?) and was totally frozen.

Last edited by omgwtfbyobbq (2010-03-08 20:13:50)

Offline

#4 2010-03-08 21:42:51

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Question about segfaults [solved]

https://answers.launchpad.net/ubuntu/+question/5529 wrote:

/*
* i8042_panic_blink() will flash the keyboard LEDs and is called when
* kernel panics. Flashing LEDs is useful for users running X who may
* not see the console and will help distingushing panics from "real"
* lockups.
*
* Note that DELAY has a limit of 10ms so we will not get stuck here
* waiting for KBC to free up even if KBD interrupt is off
*/

That was from a 2007 post, but I'd look at that function in the kernel source. It sounds as if you had a kernel panic and usually kernel panics will cause the leds on the keyboard to flash.


Website - Blog - arch-home
Arch User since March 2005

Offline

#5 2010-03-09 03:36:14

omgwtfbyobbq
Member
Registered: 2006-07-04
Posts: 226

Re: Question about segfaults [solved]

That's it! Thanks a bunch pyther.

Offline

Board footer

Powered by FluxBB