* [gentoo-user] kernel 3.2->3.5 upgrade unusable: keyboard borked @ 2012-12-02 3:05 Grant Edwards 2012-12-02 6:39 ` Yohan Pereira 0 siblings, 1 reply; 17+ messages in thread From: Grant Edwards @ 2012-12-02 3:05 UTC (permalink / raw To: gentoo-user I'm trying to upgrade from a 3.2 kernel to 3.5.7, but the 3.5.7 kernel is unusable because it always puts the keyboard into a mode where it maps the numeric keypad to the right-hand home position (J->1, K->2, L->3, U->4, etc.). After sshing into the machine and booting back into 3.2, everything is fine again. There must have been a new kernel setting that I missed when I did a "make oldconfig" which defaults to an unusable settings. I haven't been able to come up with a Google search that provides anything remotely relevent. Does anybody recognize this problem? -- Grant Edwards grant.b.edwards Yow! I represent a at sardine!! gmail.com ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 3:05 [gentoo-user] kernel 3.2->3.5 upgrade unusable: keyboard borked Grant Edwards @ 2012-12-02 6:39 ` Yohan Pereira 2012-12-02 8:06 ` Mick 2012-12-02 20:03 ` Grant Edwards 0 siblings, 2 replies; 17+ messages in thread From: Yohan Pereira @ 2012-12-02 6:39 UTC (permalink / raw To: gentoo-user On Sunday 02 Dec 2012 3:05:21 Grant Edwards wrote: > I'm trying to upgrade from a 3.2 kernel to 3.5.7, but the 3.5.7 kernel > is unusable because it always puts the keyboard into a mode where it > maps the numeric keypad to the right-hand home position (J->1, K->2, > L->3, U->4, etc.). After sshing into the machine and booting back > into 3.2, everything is fine again. > > There must have been a new kernel setting that I missed when I did a > "make oldconfig" which defaults to an unusable settings. I haven't > been able to come up with a Google search that provides anything > remotely relevent. > > Does anybody recognize this problem? Is this a laptop? with no num pad? On my laptop the numpad is mapped to the keys like you described, so when Num Lock is toggled those keys function as the num pad. -- - Yohan Pereira The difference between a Miracle and a Fact is exactly the difference between a mermaid and a seal. -- Mark Twain ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 6:39 ` Yohan Pereira @ 2012-12-02 8:06 ` Mick 2012-12-02 11:23 ` covici 2012-12-02 15:27 ` [gentoo-user] " Bruce Hill 2012-12-02 20:03 ` Grant Edwards 1 sibling, 2 replies; 17+ messages in thread From: Mick @ 2012-12-02 8:06 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: Text/Plain, Size: 1098 bytes --] On Sunday 02 Dec 2012 06:39:16 Yohan Pereira wrote: > On Sunday 02 Dec 2012 3:05:21 Grant Edwards wrote: > > I'm trying to upgrade from a 3.2 kernel to 3.5.7, but the 3.5.7 kernel > > is unusable because it always puts the keyboard into a mode where it > > maps the numeric keypad to the right-hand home position (J->1, K->2, > > L->3, U->4, etc.). After sshing into the machine and booting back > > into 3.2, everything is fine again. > > > > There must have been a new kernel setting that I missed when I did a > > "make oldconfig" which defaults to an unusable settings. I haven't > > been able to come up with a Google search that provides anything > > remotely relevent. > > > > Does anybody recognize this problem? > > Is this a laptop? with no num pad? On my laptop the numpad is mapped to the > keys like you described, so when Num Lock is toggled those keys function as > the num pad. You can check if rc-update -s -v | grep numlock (or rc-status -s | grep numlock) shows it being set, otherwise add it to see if this makes a difference. -- Regards, Mick [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 8:06 ` Mick @ 2012-12-02 11:23 ` covici 2012-12-02 15:19 ` Bruce Hill ` (2 more replies) 2012-12-02 15:27 ` [gentoo-user] " Bruce Hill 1 sibling, 3 replies; 17+ messages in thread From: covici @ 2012-12-02 11:23 UTC (permalink / raw To: gentoo-user Mick <michaelkintzios@gmail.com> wrote: > On Sunday 02 Dec 2012 06:39:16 Yohan Pereira wrote: > > On Sunday 02 Dec 2012 3:05:21 Grant Edwards wrote: > > > I'm trying to upgrade from a 3.2 kernel to 3.5.7, but the 3.5.7 kernel > > > is unusable because it always puts the keyboard into a mode where it > > > maps the numeric keypad to the right-hand home position (J->1, K->2, > > > L->3, U->4, etc.). After sshing into the machine and booting back > > > into 3.2, everything is fine again. > > > > > > There must have been a new kernel setting that I missed when I did a > > > "make oldconfig" which defaults to an unusable settings. I haven't > > > been able to come up with a Google search that provides anything > > > remotely relevent. > > > > > > Does anybody recognize this problem? > > > > Is this a laptop? with no num pad? On my laptop the numpad is mapped to the > > keys like you described, so when Num Lock is toggled those keys function as > > the num pad. > > You can check if rc-update -s -v | grep numlock (or rc-status -s | grep > numlock) shows it being set, otherwise add it to see if this makes a > difference. I think numlock is on by default in newer kernels -- just turn it off with the key -- I am pretty sure even your laptop has such a simulated key. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 11:23 ` covici @ 2012-12-02 15:19 ` Bruce Hill 2012-12-02 18:36 ` covici 2012-12-02 20:05 ` [gentoo-user] " Grant Edwards 2012-12-02 20:15 ` Grant Edwards 2 siblings, 1 reply; 17+ messages in thread From: Bruce Hill @ 2012-12-02 15:19 UTC (permalink / raw To: gentoo-user On Sun, Dec 02, 2012 at 06:23:52AM -0500, covici@ccs.covici.com wrote: > > I think numlock is on by default in newer kernels -- just turn it off > with the key -- I am pretty sure even your laptop has such a simulated > key. Where do you get numlock as a kernel option? It is a BIOS option, but afaik not a kernel module. -- Happy Penguin Computers >') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ support@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 15:19 ` Bruce Hill @ 2012-12-02 18:36 ` covici 0 siblings, 0 replies; 17+ messages in thread From: covici @ 2012-12-02 18:36 UTC (permalink / raw To: gentoo-user Bruce Hill <daddy@happypenguincomputers.com> wrote: > On Sun, Dec 02, 2012 at 06:23:52AM -0500, covici@ccs.covici.com wrote: > > > > I think numlock is on by default in newer kernels -- just turn it off > > with the key -- I am pretty sure even your laptop has such a simulated > > key. > > Where do you get numlock as a kernel option? > > It is a BIOS option, but afaik not a kernel module. All I know is, that when I boot with kernel 3.6 or above, numlock is on and I have to turn it off, whereas with my 3.4 kernel I do not have to do this. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com ^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 11:23 ` covici 2012-12-02 15:19 ` Bruce Hill @ 2012-12-02 20:05 ` Grant Edwards 2012-12-02 20:34 ` covici 2012-12-02 20:46 ` Mark Knecht 2012-12-02 20:15 ` Grant Edwards 2 siblings, 2 replies; 17+ messages in thread From: Grant Edwards @ 2012-12-02 20:05 UTC (permalink / raw To: gentoo-user On 2012-12-02, covici@ccs.covici.com <covici@ccs.covici.com> wrote: > Mick <michaelkintzios@gmail.com> wrote: >>> Is this a laptop? with no num pad? On my laptop the numpad is mapped to the >>> keys like you described, so when Num Lock is toggled those keys function as >>> the num pad. >> >> You can check if rc-update -s -v | grep numlock (or rc-status -s | grep >> numlock) shows it being set, otherwise add it to see if this makes a >> difference. > > I think numlock is on by default in newer kernels That pretty much sucks. Is that configurable sowewhere? > -- just turn it off with the key The Numlock key doesn't work with the 3.5 kernel. > -- I am pretty sure even your laptop has such a simulated key. My keyboard does have a numlock key, but it doesn't turn numlock on/off with the 3.5 kernel. -- Grant ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 20:05 ` [gentoo-user] " Grant Edwards @ 2012-12-02 20:34 ` covici 2012-12-02 20:46 ` Mark Knecht 1 sibling, 0 replies; 17+ messages in thread From: covici @ 2012-12-02 20:34 UTC (permalink / raw To: gentoo-user Grant Edwards <grant.b.edwards@gmail.com> wrote: > On 2012-12-02, covici@ccs.covici.com <covici@ccs.covici.com> wrote: > > Mick <michaelkintzios@gmail.com> wrote: > > >>> Is this a laptop? with no num pad? On my laptop the numpad is mapped to the > >>> keys like you described, so when Num Lock is toggled those keys function as > >>> the num pad. > >> > >> You can check if rc-update -s -v | grep numlock (or rc-status -s | grep > >> numlock) shows it being set, otherwise add it to see if this makes a > >> difference. > > > > I think numlock is on by default in newer kernels > > That pretty much sucks. Is that configurable sowewhere? > > > -- just turn it off with the key > > The Numlock key doesn't work with the 3.5 kernel. > > > -- I am pretty sure even your laptop has such a simulated key. > > My keyboard does have a numlock key, but it doesn't turn numlock on/off > with the 3.5 kernel. At least with 3.6 kernel and above, the numlock key does work -- I am using a desktop with the regular keyboard. So I wonder if you go to 3.6 will it be any better? -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 20:05 ` [gentoo-user] " Grant Edwards 2012-12-02 20:34 ` covici @ 2012-12-02 20:46 ` Mark Knecht 2012-12-02 21:08 ` Grant Edwards 1 sibling, 1 reply; 17+ messages in thread From: Mark Knecht @ 2012-12-02 20:46 UTC (permalink / raw To: Gentoo User On Sun, Dec 2, 2012 at 12:05 PM, Grant Edwards <grant.b.edwards@gmail.com> wrote: > On 2012-12-02, covici@ccs.covici.com <covici@ccs.covici.com> wrote: <SNIP> >> I think numlock is on by default in newer kernels > > That pretty much sucks. Is that configurable sowewhere? > This is not my experience. I'm using 3.5.* everywhere and haven't had this problem on any machine to date. numlock is off by default on all machines as best I can tell. /etc/init.d/numlock on/off will change the state of the lights on my keyboard. Have you tried that? I didn't know that OpenRC had added numlock control but it's there and documented in a Gentoo Wiki. HTH, Mark ^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 20:46 ` Mark Knecht @ 2012-12-02 21:08 ` Grant Edwards 2012-12-02 23:21 ` Mark Knecht 2012-12-03 0:09 ` Neil Bothwick 0 siblings, 2 replies; 17+ messages in thread From: Grant Edwards @ 2012-12-02 21:08 UTC (permalink / raw To: gentoo-user On 2012-12-02, Mark Knecht <markknecht@gmail.com> wrote: > On Sun, Dec 2, 2012 at 12:05 PM, Grant Edwards ><grant.b.edwards@gmail.com> wrote: >> On 2012-12-02, covici@ccs.covici.com <covici@ccs.covici.com> wrote: ><SNIP> >>> I think numlock is on by default in newer kernels >> >> That pretty much sucks. Is that configurable sowewhere? >> > > This is not my experience. I'm using 3.5.* everywhere and haven't had > this problem on any machine to date. numlock is off by default on all > machines as best I can tell. Armed with the clue that the change happened at 3.4 rather than 3.5, I found the thread in the kernel dev list where it was discussed. Before 3.4, numlock defaulted to off. Starting in 3.4, numlock defaults to whatever the BIOS configuration is. I change the numlock setting in my BIOS (didn't know it had one), and everything's cool. > /etc/init.d/numlock on/off will change the state of the lights on my > keyboard. Have you tried that? On my system it's start/stop rather than on/off. You can also just use the setleds utility directly, but either is hard to do, keyboard doesn't allow you to enter the letters u,i,o,p,j,k,l,m :) > I didn't know that OpenRC had added numlock control but it's there > and documented in a Gentoo Wiki. OK, I understand how to enable numlock for various run states, but just for curiousity's sake, how do you get the script called with the "stop" paramter instead of the "start" parameter during startup? Do other people's "numlock" keys still work with 3.4 and 3.5 kernels? When running 3.5, my "numlock" key functions as a shift lock. -- Grant Edwards grant.b.edwards Yow! I have many CHARTS at and DIAGRAMS.. gmail.com ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 21:08 ` Grant Edwards @ 2012-12-02 23:21 ` Mark Knecht 2012-12-03 0:09 ` Neil Bothwick 1 sibling, 0 replies; 17+ messages in thread From: Mark Knecht @ 2012-12-02 23:21 UTC (permalink / raw To: Gentoo User On Sun, Dec 2, 2012 at 1:08 PM, Grant Edwards <grant.b.edwards@gmail.com> wrote: > On 2012-12-02, Mark Knecht <markknecht@gmail.com> wrote: <SNIP> > >> /etc/init.d/numlock on/off will change the state of the lights on my >> keyboard. Have you tried that? > > On my system it's start/stop rather than on/off. You can also just use > the setleds utility directly, but either is hard to do, Yes, of course you're right about start/stop. I was just writing a response from memory and stupidly not testing anything. Anyway, you got the idea. Glad you found the kernel dev thread and reported the info back. Thanks! Cheers, Mark ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 21:08 ` Grant Edwards 2012-12-02 23:21 ` Mark Knecht @ 2012-12-03 0:09 ` Neil Bothwick 2012-12-03 1:50 ` Grant Edwards 1 sibling, 1 reply; 17+ messages in thread From: Neil Bothwick @ 2012-12-03 0:09 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 320 bytes --] On Sun, 2 Dec 2012 21:08:23 +0000 (UTC), Grant Edwards wrote: > You can also just use > the setleds utility directly, but either is hard to do, > > keyboard doesn't allow you to enter the letters u,i,o,p,j,k,l,m :) set[tab][tab][tab]... :) -- Neil Bothwick Top Oxymorons Number 25: New York culture [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-03 0:09 ` Neil Bothwick @ 2012-12-03 1:50 ` Grant Edwards 0 siblings, 0 replies; 17+ messages in thread From: Grant Edwards @ 2012-12-03 1:50 UTC (permalink / raw To: gentoo-user On 2012-12-03, Neil Bothwick <neil@digimed.co.uk> wrote: > On Sun, 2 Dec 2012 21:08:23 +0000 (UTC), Grant Edwards wrote: > >> You can also just use the setleds utility directly, but either is >> hard to do [when the] keyboard doesn't allow you to enter the letters >> u,i,o,p,j,k,l,m :) > > set[tab][tab][tab]... :) Logging in is the tricky part -- no tab completion... -- Grant ^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 11:23 ` covici 2012-12-02 15:19 ` Bruce Hill 2012-12-02 20:05 ` [gentoo-user] " Grant Edwards @ 2012-12-02 20:15 ` Grant Edwards 2 siblings, 0 replies; 17+ messages in thread From: Grant Edwards @ 2012-12-02 20:15 UTC (permalink / raw To: gentoo-user On 2012-12-02, covici@ccs.covici.com <covici@ccs.covici.com> wrote: > I think numlock is on by default in newer kernels -- just turn it off > with the key -- I am pretty sure even your laptop has such a simulated > key. I booted back into 3.5, and the "NumLk" doesn't toggle num-lock like it does in 3.2. In 3.5, the "NumLk" key toggles shift-lock. Is there some kernel setting to disable the new brokeness where num-lock is enabled at starup with no way to turn it off? -- Grant ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 8:06 ` Mick 2012-12-02 11:23 ` covici @ 2012-12-02 15:27 ` Bruce Hill 2012-12-02 20:33 ` [gentoo-user] " Grant Edwards 1 sibling, 1 reply; 17+ messages in thread From: Bruce Hill @ 2012-12-02 15:27 UTC (permalink / raw To: gentoo-user On Sun, Dec 02, 2012 at 08:06:43AM +0000, Mick wrote: > > You can check if rc-update -s -v | grep numlock (or rc-status -s | grep > numlock) shows it being set, otherwise add it to see if this makes a > difference. > -- > Regards, > Mick Though there is no /etc/conf.d/numlock, Mick's post caused me to read /etc/init.d/numlock ... interesting. So if your "rc-update -s -v | grep numlock" shows numlock but no runlevel, you can determine from the aforementioned file how it got turned on. -- Happy Penguin Computers >') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ support@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting ^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 15:27 ` [gentoo-user] " Bruce Hill @ 2012-12-02 20:33 ` Grant Edwards 0 siblings, 0 replies; 17+ messages in thread From: Grant Edwards @ 2012-12-02 20:33 UTC (permalink / raw To: gentoo-user On 2012-12-02, Bruce Hill <daddy@happypenguincomputers.com> wrote: > On Sun, Dec 02, 2012 at 08:06:43AM +0000, Mick wrote: >> >> You can check if rc-update -s -v | grep numlock (or rc-status -s | grep >> numlock) shows it being set, otherwise add it to see if this makes a >> difference. > > Though there is no /etc/conf.d/numlock, Mick's post caused me to read > /etc/init.d/numlock ... interesting. So if your "rc-update -s -v | grep > numlock" shows numlock but no runlevel, The numlock "service" is not enabled for any runlevel. > you can determine from the aforementioned file how it got turned on. Can you explain a bit? I've looked at that file, and I still don't see how it's getting turned on. I can ssh into the machine and use "setleds" to turn it off to get the keyboard back into a usable state. I suppose I could create an "unnumlock" rc script and enable that for all runlevels. But I'd much rather the keyboard's default state was usable... I've grep'ed the 3.5.7 kernel .config file for numlock, numeric, keypad, and a half-dozen other similar strings, and have found nothing. -- Grant Edwards grant.b.edwards Yow! Did an Italian CRANE at OPERATOR just experience gmail.com uninhibited sensations in a MALIBU HOT TUB? ^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: kernel 3.2->3.5 upgrade unusable: keyboard borked 2012-12-02 6:39 ` Yohan Pereira 2012-12-02 8:06 ` Mick @ 2012-12-02 20:03 ` Grant Edwards 1 sibling, 0 replies; 17+ messages in thread From: Grant Edwards @ 2012-12-02 20:03 UTC (permalink / raw To: gentoo-user On 2012-12-02, Yohan Pereira <yohan.pereira@gmail.com> wrote: > On Sunday 02 Dec 2012 3:05:21 Grant Edwards wrote: >> I'm trying to upgrade from a 3.2 kernel to 3.5.7, but the 3.5.7 kernel >> is unusable because it always puts the keyboard into a mode where it >> maps the numeric keypad to the right-hand home position (J->1, K->2, >> L->3, U->4, etc.). After sshing into the machine and booting back >> into 3.2, everything is fine again. [...] >> Does anybody recognize this problem? > > Is this a laptop? with no num pad? No, it's a PS2 keyboard with no num pad (IBM spacesaver II). > On my laptop the numpad is mapped to the keys like you described, so > when Num Lock is toggled those keys function as the num pad. That's how it works with the 3.2 kernel. With 3.5, the numlock light is on, and the numlock key doesn't turn it off like it does with 3.2. -- Grant ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2012-12-03 1:53 UTC | newest] Thread overview: 17+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-12-02 3:05 [gentoo-user] kernel 3.2->3.5 upgrade unusable: keyboard borked Grant Edwards 2012-12-02 6:39 ` Yohan Pereira 2012-12-02 8:06 ` Mick 2012-12-02 11:23 ` covici 2012-12-02 15:19 ` Bruce Hill 2012-12-02 18:36 ` covici 2012-12-02 20:05 ` [gentoo-user] " Grant Edwards 2012-12-02 20:34 ` covici 2012-12-02 20:46 ` Mark Knecht 2012-12-02 21:08 ` Grant Edwards 2012-12-02 23:21 ` Mark Knecht 2012-12-03 0:09 ` Neil Bothwick 2012-12-03 1:50 ` Grant Edwards 2012-12-02 20:15 ` Grant Edwards 2012-12-02 15:27 ` [gentoo-user] " Bruce Hill 2012-12-02 20:33 ` [gentoo-user] " Grant Edwards 2012-12-02 20:03 ` Grant Edwards
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox