* Linux keycodes and left cursor on Pismo
@ 2000-09-22 14:00 Michel Dänzer
0 siblings, 0 replies; 13+ messages in thread
From: Michel Dänzer @ 2000-09-22 14:00 UTC (permalink / raw)
To: linuxppc-dev
After switching to Linux keycodes (and Debian's i386 us keymap), the left
cursor key doesn't generate a keycode anymore. Interestingly, it works in X
with Xkb, but not without.
Anyone else sees this?
Also, what is the key combination for the Magic Sysrq on a Pismo?
Michel
--
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86 and The DRI Project
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Linux keycodes and left cursor on Pismo
@ 2000-09-22 20:25 Henry Worth
2000-09-22 21:49 ` Martin Costabel
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Henry Worth @ 2000-09-22 20:25 UTC (permalink / raw)
To: linuxppc-dev
Michel Ddnzer <daenzerm@student.ethz.ch> wrote:
>After switching to Linux keycodes (and Debian's i386 us keymap), the left
>cursor key doesn't generate a keycode anymore. Interestingly, it works in
>X
>with Xkb, but not without.
>
>Anyone else sees this?
>
Check the dev and user archives, I think this has been discussed a
few times since the new input layer backport went in.
>
>Also, what is the key combination for the Magic Sysrq on a Pismo?
>
For xmon it's <cmd><Power>. I'm not sure the Linux SysReq facility
is supported for PPC, I've never seen it enabled in Ben's .config
files and there is no sign of it in the archives.
However, invoking xmon once X (at least Xpmac 10) is running
will result in a microscopic xmon text session replicated 4 times
across the screen (even if you switch back to a text VT first).
Henry
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Linux keycodes and left cursor on Pismo
2000-09-22 20:25 Henry Worth
@ 2000-09-22 21:49 ` Martin Costabel
2000-09-23 4:07 ` Henry Worth
2000-09-23 14:14 ` Michel Dänzer
2000-09-25 0:23 ` Michel Dänzer
2 siblings, 1 reply; 13+ messages in thread
From: Martin Costabel @ 2000-09-22 21:49 UTC (permalink / raw)
To: Henry Worth; +Cc: linuxppc-dev
Henry Worth wrote:
>
> Michel Dänzer <daenzerm@student.ethz.ch> wrote:
> >Also, what is the key combination for the Magic Sysrq on a Pismo?
> >
>
> For xmon it's <cmd><Power>. I'm not sure the Linux SysReq facility
> is supported for PPC, I've never seen it enabled in Ben's .config
> files and there is no sign of it in the archives.
F13 (keycode 0x69) works for me as MagicSysRq (ADB keyboard, kernels
2.2.x or 2.4.0-x).
> However, invoking xmon once X (at least Xpmac 10) is running
> will result in a microscopic xmon text session replicated 4 times
> across the screen (even if you switch back to a text VT first).
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Linux keycodes and left cursor on Pismo
@ 2000-09-22 22:56 Iain Sandoe
0 siblings, 0 replies; 13+ messages in thread
From: Iain Sandoe @ 2000-09-22 22:56 UTC (permalink / raw)
To: Henry Worth, linuxppc-dev
>>Also, what is the key combination for the Magic Sysrq on a Pismo?
>>
>
> For xmon it's <cmd><Power>.
Hmmm. <cmd> <power> is the xmon interrupt key (certainly on the G3 (ADB
Kbd)) - it isn't, however, the magic SysRq key.
>I'm not sure the Linux SysReq facility is supported for PPC, I've never seen it
enabled in Ben's .config files and there is no sign of it in the archives.
SysRq is supported under PPC linux.
SysRq works fine on G3 and it is <cmd> or <alt> <f13> (duh... I forget which
and am not on that machine right now)...
if you grep for it in the kernel tree you can find the code (and change it
if you like).
Iain.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Linux keycodes and left cursor on Pismo
2000-09-22 21:49 ` Martin Costabel
@ 2000-09-23 4:07 ` Henry Worth
0 siblings, 0 replies; 13+ messages in thread
From: Henry Worth @ 2000-09-23 4:07 UTC (permalink / raw)
To: linuxppc-dev
Martin Costabel wrote:
>
> F13 (keycode 0x69) works for me as MagicSysRq (ADB keyboard, kernels
> 2.2.x or 2.4.0-x).
>
Ah, well no F13 or equiv. combo on a Pismo. Grepping through
the sources it doesn't appear there is any bootparm or /proc
entry to change it... So changing it to 0x6f in
/arc/ppc/kernel/pmac_setup.c and rebuilding it should
give you F12 instead.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Linux keycodes and left cursor on Pismo
2000-09-22 20:25 Henry Worth
2000-09-22 21:49 ` Martin Costabel
@ 2000-09-23 14:14 ` Michel Dänzer
2000-09-25 0:23 ` Michel Dänzer
2 siblings, 0 replies; 13+ messages in thread
From: Michel Dänzer @ 2000-09-23 14:14 UTC (permalink / raw)
To: Henry Worth; +Cc: linuxppc-dev
Henry Worth schrieb:
>
> Michel Ddnzer <daenzerm@student.ethz.ch> wrote:
>
> >After switching to Linux keycodes (and Debian's i386 us keymap), the left
> >cursor key doesn't generate a keycode anymore. Interestingly, it works in
> >X with Xkb, but not without.
> >
> >Anyone else sees this?
>
> Check the dev and user archives, I think this has been discussed a
> few times since the new input layer backport went in.
I'll do that. I checked Franz's pages on the input layer on PPC and didn't
find anything there.
> However, invoking xmon once X (at least Xpmac 10) is running
> will result in a microscopic xmon text session replicated 4 times
> across the screen (even if you switch back to a text VT first).
This also happens with XFree86, it's because xmon assumes an 8 bit display - I
guess you are running X in 32 bpp? :)
> Martin Costabel wrote:
> >
> > F13 (keycode 0x69) works for me as MagicSysRq (ADB keyboard, kernels
> > 2.2.x or 2.4.0-x).
>
> Ah, well no F13 or equiv. combo on a Pismo. Grepping through
> the sources it doesn't appear there is any bootparm or /proc
> entry to change it...
Would be handy though.
> So changing it to 0x6f in /arc/ppc/kernel/pmac_setup.c and rebuilding it
> should give you F12 instead.
I use that for the right mouse button emu, will it work nonetheless?
Thanks for the tip!
Michel
--
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86 and The DRI Project
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Linux keycodes and left cursor on Pismo
2000-09-22 20:25 Henry Worth
2000-09-22 21:49 ` Martin Costabel
2000-09-23 14:14 ` Michel Dänzer
@ 2000-09-25 0:23 ` Michel Dänzer
2000-09-25 6:28 ` Martin Costabel
2000-09-25 18:01 ` Henry Worth
2 siblings, 2 replies; 13+ messages in thread
From: Michel Dänzer @ 2000-09-25 0:23 UTC (permalink / raw)
To: Henry Worth; +Cc: linuxppc-dev
Henry Worth wrote:
> >After switching to Linux keycodes (and Debian's i386 us keymap), the left
> >cursor key doesn't generate a keycode anymore. Interestingly, it works in
> >X with Xkb, but not without.
> >
> >Anyone else sees this?
>
> Check the dev and user archives, I think this has been discussed a
> few times since the new input layer backport went in.
I've searched the archives now with no luck.
So, can anyone please solve my problem, even if it has been solved before? :)
Michel
--
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86 and The DRI Project
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Linux keycodes and left cursor on Pismo
2000-09-25 0:23 ` Michel Dänzer
@ 2000-09-25 6:28 ` Martin Costabel
2000-09-25 20:35 ` Michel Dänzer
2000-09-25 18:01 ` Henry Worth
1 sibling, 1 reply; 13+ messages in thread
From: Martin Costabel @ 2000-09-25 6:28 UTC (permalink / raw)
To: Michel Dänzer; +Cc: linuxppc-dev
Michel Dänzer wrote:
>
> Henry Worth wrote:
>
> > >After switching to Linux keycodes (and Debian's i386 us keymap), the left
> > >cursor key doesn't generate a keycode anymore. Interestingly, it works in
> > >X with Xkb, but not without.
> > >
> > >Anyone else sees this?
> >
> > Check the dev and user archives, I think this has been discussed a
> > few times since the new input layer backport went in.
>
> I've searched the archives now with no luck.
I haven't seen this discussed, but I'll try a wild guess: What's
suspicious is that the linux keycode for KEY_LEFT is 105=0x69, the same
as the old mac keycode for SYSRQ_KEY. You could easily verify this by
pressing LEFT plus s or t or something and see whether it does some
emergency sync or whatever. Just a guess.
--
Martin
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Linux keycodes and left cursor on Pismo
2000-09-25 0:23 ` Michel Dänzer
2000-09-25 6:28 ` Martin Costabel
@ 2000-09-25 18:01 ` Henry Worth
2000-09-25 18:05 ` Michel Dänzer
1 sibling, 1 reply; 13+ messages in thread
From: Henry Worth @ 2000-09-25 18:01 UTC (permalink / raw)
To: Michel Dänzer; +Cc: linuxppc-dev
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 877 bytes --]
On Mon, 25 Sep 2000, Michel [iso-8859-1] Dänzer wrote:
> Henry Worth wrote:
>
> > >After switching to Linux keycodes (and Debian's i386 us keymap), the left
> > >cursor key doesn't generate a keycode anymore. Interestingly, it works in
> > >X with Xkb, but not without.
> > >
> > >Anyone else sees this?
> >
> > Check the dev and user archives, I think this has been discussed a
> > few times since the new input layer backport went in.
>
> I've searched the archives now with no luck.
>
> So, can anyone please solve my problem, even if it has been solved before? :)
>
>
Serach on keymap around the late-June through Aug. period. I don't
think any of them specifically addressed your left key problem, but
rather the need for new, and as of then non-existent, keymaps to use
the Linux keycodes mode.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Linux keycodes and left cursor on Pismo
2000-09-25 18:01 ` Henry Worth
@ 2000-09-25 18:05 ` Michel Dänzer
0 siblings, 0 replies; 13+ messages in thread
From: Michel Dänzer @ 2000-09-25 18:05 UTC (permalink / raw)
To: Henry Worth; +Cc: linuxppc-dev
Henry Worth wrote:
> Serach on keymap around the late-June through Aug. period. I don't
> think any of them specifically addressed your left key problem, but
> rather the need for new, and as of then non-existent, keymaps to use
> the Linux keycodes mode.
Debian has i386 keymaps which work with Linux keycodes, but thanks anyway.
Martin's suggestion about the keycode clashing with Sysrq sounds promising.
I'll report back tonight.
Michel
--
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86 and The DRI Project
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Linux keycodes and left cursor on Pismo
2000-09-25 6:28 ` Martin Costabel
@ 2000-09-25 20:35 ` Michel Dänzer
2000-09-26 13:01 ` Franz Sirl
0 siblings, 1 reply; 13+ messages in thread
From: Michel Dänzer @ 2000-09-25 20:35 UTC (permalink / raw)
To: Martin Costabel; +Cc: linuxppc-dev
Martin Costabel wrote:
> > > >After switching to Linux keycodes (and Debian's i386 us keymap), the
> > > >left cursor key doesn't generate a keycode anymore. Interestingly, it
> > > >works in X with Xkb, but not without.
> > > >
> > > >Anyone else sees this?
> > >
> > > Check the dev and user archives, I think this has been discussed a
> > > few times since the new input layer backport went in.
> >
> > I've searched the archives now with no luck.
>
> I haven't seen this discussed, but I'll try a wild guess: What's
> suspicious is that the linux keycode for KEY_LEFT is 105=0x69, the same
> as the old mac keycode for SYSRQ_KEY. You could easily verify this by
> pressing LEFT plus s or t or something and see whether it does some
> emergency sync or whatever. Just a guess.
But a good one! That's exactly the issue. I wonder how it has worked with Xkb
in X though...
As Magic Sysrq seems to always use ADB keycodes anyway, I'll not use it for
now.
Thanks,
Michel
--
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86 and The DRI Project
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Linux keycodes and left cursor on Pismo
2000-09-25 20:35 ` Michel Dänzer
@ 2000-09-26 13:01 ` Franz Sirl
2000-09-26 13:05 ` Michel Dänzer
0 siblings, 1 reply; 13+ messages in thread
From: Franz Sirl @ 2000-09-26 13:01 UTC (permalink / raw)
To: Michel Dänzer; +Cc: Martin Costabel, linuxppc-dev
At 22:35 25.09.00, Michel Dänzer wrote:
>Martin Costabel wrote:
>
> > > > >After switching to Linux keycodes (and Debian's i386 us keymap), the
> > > > >left cursor key doesn't generate a keycode anymore. Interestingly, it
> > > > >works in X with Xkb, but not without.
> > > > >
> > > > >Anyone else sees this?
> > > >
> > > > Check the dev and user archives, I think this has been discussed a
> > > > few times since the new input layer backport went in.
> > >
> > > I've searched the archives now with no luck.
> >
> > I haven't seen this discussed, but I'll try a wild guess: What's
> > suspicious is that the linux keycode for KEY_LEFT is 105=0x69, the same
> > as the old mac keycode for SYSRQ_KEY. You could easily verify this by
> > pressing LEFT plus s or t or something and see whether it does some
> > emergency sync or whatever. Just a guess.
>
>But a good one! That's exactly the issue. I wonder how it has worked with Xkb
>in X though...
>
>As Magic Sysrq seems to always use ADB keycodes anyway, I'll not use it for
>now.
Sorry for not jumping in yet, but I had to concentrate on some time
consuming gcc-2.96 and glibc-2.2 issues to get things going.
Do you have by any chance a CHRP machine? I haven't touched chrp_setup.c yet.
If not, what exact kernel are you using?
BTW, there will be a new xf4 RPMs available soon.
Franz.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Linux keycodes and left cursor on Pismo
2000-09-26 13:01 ` Franz Sirl
@ 2000-09-26 13:05 ` Michel Dänzer
0 siblings, 0 replies; 13+ messages in thread
From: Michel Dänzer @ 2000-09-26 13:05 UTC (permalink / raw)
To: Franz Sirl; +Cc: Martin Costabel, linuxppc-dev
Franz Sirl wrote:
>
> At 22:35 25.09.00, Michel Dänzer wrote:
>
> >Martin Costabel wrote:
> >
> > > > > >After switching to Linux keycodes (and Debian's i386 us keymap),
> > > > > >the left cursor key doesn't generate a keycode anymore.
> > > > > >Interestingly, it works in X with Xkb, but not without.
> > > > > >
> > > > > >Anyone else sees this?
> > > > >
> > > > > Check the dev and user archives, I think this has been discussed a
> > > > > few times since the new input layer backport went in.
> > > >
> > > > I've searched the archives now with no luck.
> > >
> > > I haven't seen this discussed, but I'll try a wild guess: What's
> > > suspicious is that the linux keycode for KEY_LEFT is 105=0x69, the same
> > > as the old mac keycode for SYSRQ_KEY. You could easily verify this by
> > > pressing LEFT plus s or t or something and see whether it does some
> > > emergency sync or whatever. Just a guess.
> >
> >But a good one! That's exactly the issue. I wonder how it has worked with
> >Xkb in X though...
> >
> >As Magic Sysrq seems to always use ADB keycodes anyway, I'll not use it for
> >now.
>
> Do you have by any chance a CHRP machine?
No. (Look at the subject ;)
> I haven't touched chrp_setup.c yet. If not, what exact kernel are you using?
2.4.0-test8 rsynced from bk-devel some days ago.
> BTW, there will be a new xf4 RPMs available soon.
It worked fine (why?) in the X from the test debs, which contain your X stuff
AFAIK.
Michel
--
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86 and the DRI project
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2000-09-26 13:05 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-22 14:00 Linux keycodes and left cursor on Pismo Michel Dänzer
-- strict thread matches above, loose matches on Subject: below --
2000-09-22 20:25 Henry Worth
2000-09-22 21:49 ` Martin Costabel
2000-09-23 4:07 ` Henry Worth
2000-09-23 14:14 ` Michel Dänzer
2000-09-25 0:23 ` Michel Dänzer
2000-09-25 6:28 ` Martin Costabel
2000-09-25 20:35 ` Michel Dänzer
2000-09-26 13:01 ` Franz Sirl
2000-09-26 13:05 ` Michel Dänzer
2000-09-25 18:01 ` Henry Worth
2000-09-25 18:05 ` Michel Dänzer
2000-09-22 22:56 Iain Sandoe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).