linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: Missing USB keys
@ 1999-10-27  2:44 bob
  0 siblings, 0 replies; 3+ messages in thread
From: bob @ 1999-10-27  2:44 UTC (permalink / raw)
  To: linuxppc-dev


Martin Costabel Said:
.
.
I dug into this USB->ADB keycode
translation stuff, and I think I understand some of it now. As I see it,
this part of the kernel sources is a pretty ugly hack,
.
.

End of quote...

Am I beating a dead horse? But this ugly hack is perhaps responsible for
the lack of N-KEY rollover in the "new" USB keyboard driver????

Bob
-- 
Robert E. Brose II    N0QBJ
http://www.jriver.com/~bob/
bob@kunk.jriver.com

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Missing USB keys
  1999-10-27  1:45 Missing USB keys (Was Re: Problems compiling ppc kernels.) Martin Costabel
@ 1999-10-27  9:24 ` Gerd Knorr
  1999-10-27 12:05   ` Martin Costabel
  0 siblings, 1 reply; 3+ messages in thread
From: Gerd Knorr @ 1999-10-27  9:24 UTC (permalink / raw)
  To: Martin Costabel; +Cc: linuxppc-dev


On Wed, 27 Oct 1999, Martin Costabel wrote:

> [ ... ]

> 6. So where is the problem? The problem, of course, is that the two
> keymaps in drivers/usb/maps/ which are used to produce the translation
> table, are goddamn^H^H^H^H^H^H^Hstandard US keymaps. Therefore some of
> the keys of European Apple Extended keyboards are missing (maybe just
> one or two?). The right solution is therefore to add the missing keys in
> both keymaps, which is what I did, see the patch below. Another (not so
> universal) solution would be to replace both US keymaps by equivalent
> French ones. Or German ones, of course, but I suspect this would produce
> an identical usb_kbd_map translation table.

Up to that point I've traced it too.

> --- drivers/usb/maps/mac.map    1999/06/09 08:20:17     1.1
> +++ drivers/usb/maps/mac.map    1999/10/26 17:34:41
> +keycode 0x0a = at numbersign

How can I figure out the correct adb keycodes?  Hav'nt such a keyboard...

> --- drivers/usb/maps/usb.map    1999/04/28 11:52:38     1.1
> +++ drivers/usb/maps/usb.map    1999/10/26 17:34:42
> @@ -88,7 +88,7 @@
>  keycode  49 = backslash        bar             
                 ^^^^^^^^^^^^^^^^^^^^
> -keycode 50 =
> +keycode  50 = backslash        bar
                 ^^^^^^^^^^^^^^^^^^^^

Does'nt look like a good idea...

  Gerd

-- 
<script>alert("WARNING: You have JavaScript enabled.");</script>


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Missing USB keys
  1999-10-27  9:24 ` Missing USB keys Gerd Knorr
@ 1999-10-27 12:05   ` Martin Costabel
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Costabel @ 1999-10-27 12:05 UTC (permalink / raw)
  To: Gerd Knorr; +Cc: linuxppc-dev


Gerd Knorr wrote:
> 

> How can I figure out the correct adb keycodes?  Hav'nt such a keyboard...

There are German keymaps in the console-tools rpm, for example
/usr/lib/kbd/keymaps/mac/mac-de-latin1-nodeadkeys.kmap.gz
I guess you would have to compare this with a corresponding German usb
keymap. Don't know where to find one, but I'm sure such keymaps have
been offered on the net.

> > --- drivers/usb/maps/usb.map    1999/04/28 11:52:38     1.1
> > +++ drivers/usb/maps/usb.map    1999/10/26 17:34:42
> > @@ -88,7 +88,7 @@
> >  keycode  49 = backslash        bar
>                  ^^^^^^^^^^^^^^^^^^^^
> > -keycode 50 =
> > +keycode  50 = backslash        bar
>                  ^^^^^^^^^^^^^^^^^^^^
> 
> Does'nt look like a good idea...

Looks bad, indeed. Works, however, on the B&W G3 where I tried it :-)
It just means that both USB keycodes 49 and 50 will be mapped to the
same ADB keycode. I don't quite remember (have been away from linux for
a month), but I think only one of the two actually exists on a key.

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-10-27 12:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-27  2:44 Missing USB keys bob
  -- strict thread matches above, loose matches on Subject: below --
1999-10-27  1:45 Missing USB keys (Was Re: Problems compiling ppc kernels.) Martin Costabel
1999-10-27  9:24 ` Missing USB keys Gerd Knorr
1999-10-27 12:05   ` Martin Costabel

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).