* Re: keyboard
2000-08-16 23:02 keyboard Giuliano Pochini
@ 2000-08-16 18:07 ` Michael Schmitz
2000-08-17 7:37 ` keyboard Giuliano Pochini
2000-08-17 7:38 ` keyboard Giuliano Pochini
0 siblings, 2 replies; 7+ messages in thread
From: Michael Schmitz @ 2000-08-16 18:07 UTC (permalink / raw)
To: Giuliano Pochini; +Cc: linuxppc-dev
> I have a microsoft (bleah) "internet keyboard" attached to my G3.
> None of the new 19 keys works. When I press them it writes:
>
> Aug 15 15:56:35 Jay kernel: keyboard.c: can't emulate rawmode for keycode 165
>
> I see that there are some unused codes in the translation table in
> usb/keybdev.c. May I use them to map the new keys ?
Big win if all of these keys produce the same keycode :-)
You can solve your problem much easier with loadkeys and a tailored
console keymap. Why pollute the kernel with that stuff (except for the
learning experience)?
Michael
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* keyboard
@ 2000-08-16 23:02 Giuliano Pochini
2000-08-16 18:07 ` keyboard Michael Schmitz
0 siblings, 1 reply; 7+ messages in thread
From: Giuliano Pochini @ 2000-08-16 23:02 UTC (permalink / raw)
To: linuxppc-dev
I have a microsoft (bleah) "internet keyboard" attached to my G3.
None of the new 19 keys works. When I press them it writes:
Aug 15 15:56:35 Jay kernel: keyboard.c: can't emulate rawmode for keycode 165
I see that there are some unused codes in the translation table in
usb/keybdev.c. May I use them to map the new keys ?
Bye.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: keyboard
2000-08-16 18:07 ` keyboard Michael Schmitz
@ 2000-08-17 7:37 ` Giuliano Pochini
2000-08-17 9:48 ` keyboard Michael Schmitz
2000-08-17 7:38 ` keyboard Giuliano Pochini
1 sibling, 1 reply; 7+ messages in thread
From: Giuliano Pochini @ 2000-08-17 7:37 UTC (permalink / raw)
To: Michael Schmitz; +Cc: linuxppc-dev
>> Aug 15 15:56:35 Jay kernel: keyboard.c: can't emulate rawmode for keycode
>> 165
>>
>> I see that there are some unused codes in the translation table in
>> usb/keybdev.c. May I use them to map the new keys ?
>
> Big win if all of these keys produce the same keycode :-)
>
> You can solve your problem much easier with loadkeys and a tailored
> console keymap.
No, I can't. mac_keyb.c uses a byte to store the pressed key. 1 bit is used
for pressed/released flag, so key codes range is 1-127. That special keys
have a code > 127 so currently they're not mapped at all.
I must change the kernel to remap that codes to something < 128.
Or perhaps I'll fix it by allowing int16_t keycodes just like on peecees.
Bye.
Giuliano Pochini ->)|(<- Shiny Corporation {AS6665} ->)|(<-
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: keyboard
2000-08-16 18:07 ` keyboard Michael Schmitz
2000-08-17 7:37 ` keyboard Giuliano Pochini
@ 2000-08-17 7:38 ` Giuliano Pochini
1 sibling, 0 replies; 7+ messages in thread
From: Giuliano Pochini @ 2000-08-17 7:38 UTC (permalink / raw)
To: Michael Schmitz; +Cc: linuxppc-dev
>> I see that there are some unused codes in the translation table in
>> usb/keybdev.c. May I use them to map the new keys ?
>
> Big win if all of these keys produce the same keycode :-)
Ehm, no. keypress code is different, but keyrelease code if 180
for all of them. What a mess.
Bye.
Giuliano Pochini ->)|(<- Shiny Corporation {AS6665} ->)|(<-
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: keyboard
2000-08-17 7:37 ` keyboard Giuliano Pochini
@ 2000-08-17 9:48 ` Michael Schmitz
2000-08-17 11:03 ` keyboard Giuliano Pochini
0 siblings, 1 reply; 7+ messages in thread
From: Michael Schmitz @ 2000-08-17 9:48 UTC (permalink / raw)
To: Giuliano Pochini; +Cc: linuxppc-dev
> > You can solve your problem much easier with loadkeys and a tailored
> > console keymap.
>
> No, I can't. mac_keyb.c uses a byte to store the pressed key. 1 bit is used
> for pressed/released flag, so key codes range is 1-127. That special keys
> have a code > 127 so currently they're not mapped at all.
So it's a more generic problem ...
> I must change the kernel to remap that codes to something < 128.
>
> Or perhaps I'll fix it by allowing int16_t keycodes just like on peecees.
The latter, if at all possible (because that allows for using the console
keymap tools again if I'm not mistaken).
Michael
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: keyboard
2000-08-17 9:48 ` keyboard Michael Schmitz
@ 2000-08-17 11:03 ` Giuliano Pochini
2000-08-17 17:47 ` keyboard Michael Schmitz
0 siblings, 1 reply; 7+ messages in thread
From: Giuliano Pochini @ 2000-08-17 11:03 UTC (permalink / raw)
To: Michael Schmitz; +Cc: linuxppc-dev
>> Or perhaps I'll fix it by allowing int16_t keycodes just like on peecees.
>
> The latter, if at all possible (because that allows for using the console
> keymap tools again if I'm not mistaken).
? I don't know anything about that. Please tell me more.
Bye.
Giuliano Pochini ->)|(<- Shiny Corporation {AS6665} ->)|(<-
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: keyboard
2000-08-17 11:03 ` keyboard Giuliano Pochini
@ 2000-08-17 17:47 ` Michael Schmitz
0 siblings, 0 replies; 7+ messages in thread
From: Michael Schmitz @ 2000-08-17 17:47 UTC (permalink / raw)
To: Giuliano Pochini; +Cc: linuxppc-dev
> >> Or perhaps I'll fix it by allowing int16_t keycodes just like on peecees.
> >
> > The latter, if at all possible (because that allows for using the console
> > keymap tools again if I'm not mistaken).
>
> ? I don't know anything about that. Please tell me more.
Come again? You said you could not use the user space keymap tools
(loadkeys) because only keycodes < 127 are currently used. You offered to
fix the kernel side problem by allowing for 16 bit keycodes, and I said
fine, do that if possible, it might solve the loadkeys problem in the
process. So where's the misunderstanding?
Michael
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-08-17 17:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-16 23:02 keyboard Giuliano Pochini
2000-08-16 18:07 ` keyboard Michael Schmitz
2000-08-17 7:37 ` keyboard Giuliano Pochini
2000-08-17 9:48 ` keyboard Michael Schmitz
2000-08-17 11:03 ` keyboard Giuliano Pochini
2000-08-17 17:47 ` keyboard Michael Schmitz
2000-08-17 7:38 ` keyboard Giuliano Pochini
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).