linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* XF68_FBDev and option keys (was Re: XF68_FBDev under MkLinux? and Re: pre-R5&miscs)
@ 1998-12-09  9:50 Martin Costabel
  1998-12-09 19:06 ` Takashi Oe
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Costabel @ 1998-12-09  9:50 UTC (permalink / raw)
  To: Takashi Oe; +Cc: Tom Rini, Geert Uytterhoeven, linuxppc-dev


Hi,

one of my several problems with X servers is solved, thanks to Takashi
Oe. I can now use the option keys as modifiers for the keyboard under
XF68_FBDev, and this in both R4 and pre-R5.

This was in fact a problem of my configuration, so it seems I did not
read enough documentation (or maybe there isn't enough, hint, hint :-)).

Takashi Oe <toe@unlinfo.unl.edu> wrote on Tue, 8 Dec 1998:
> You might want to double check that xkb is really used when you fire up
> XF68_FBDev.  XF68_FBDev should say something about "System: xkb bra bra
> bra ..." to stderr but nothing else about xkb.

There was, in fact, an error message that I neglected. It came from the
line
    xkb_symbols     { include "symbols/macintosh"  };
in /usr/X11/lib/X11/xkb/keymap/macintosh.
I did not know that this had to be changed. 

I think this is a bug, it should be "symbols/macintosh/us" in the
standard distribution, and it is now "symbols/macintosh/fr" for me, and
this makes my French keyboard work in XF68_FBDev just as it had been
working in XPmac all the time. 

If I don't set XkbKeymap "macintosh" in XF86Config, or if there is an
error as above, then XF68_FBDev uses the console keymap, but apparently
only incompletely, without the options keys as modifiers.

My two other problems persist: No mouse buttons 2&3 in XF68_FBDev (and
no, adb_buttons=1 in the boot command line is no solution!), neither in
R4 nor in pre-R5; and mixed-up color palette in XPmac in pre-R5. The
latter problem would, of course, lose its importance if the former were
solved.

--
Martin

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

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

* Re: XF68_FBDev and option keys (was Re: XF68_FBDev under MkLinux? and Re:  pre-R5&miscs)
  1998-12-09  9:50 XF68_FBDev and option keys (was Re: XF68_FBDev under MkLinux? and Re: pre-R5&miscs) Martin Costabel
@ 1998-12-09 19:06 ` Takashi Oe
  1998-12-09 20:25   ` Martin Costabel
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Oe @ 1998-12-09 19:06 UTC (permalink / raw)
  To: Martin Costabel; +Cc: linuxppc-dev


Hi,

On Wed, 9 Dec 1998, Martin Costabel wrote:

> There was, in fact, an error message that I neglected. It came from the
> line
>     xkb_symbols     { include "symbols/macintosh"  };
> in /usr/X11/lib/X11/xkb/keymap/macintosh.
> I did not know that this had to be changed. 
> 
> I think this is a bug, it should be "symbols/macintosh/us" in the
> standard distribution, and it is now "symbols/macintosh/fr" for me, and
> this makes my French keyboard work in XF68_FBDev just as it had been
> working in XPmac all the time. 

I wouldn't say it's a bug because Xpmac had no problem and your original
installation was specifically talored to the likes of Xpmac in a way.
But, anyway, I'm glad to know you can finally use the option key.

> My two other problems persist: No mouse buttons 2&3 in XF68_FBDev (and
> no, adb_buttons=1 in the boot command line is no solution!), neither in

Ok, in console (not in X), try "showkey".  This will show you the keycode
and such for the console mode.  Pick a key or two that you like to use to
emulate the middle and right buttons and find their keycodes in console.
With that, use the option.  For example, if you want to keycode 113 for
the middle button and keycode 115 for the right button, then
	adb_buttons=113,115
should do.  This is according to the kernel source that I got a few days
ago but I think there was a mention of this option's usage sometime ago in
linux-pmac list.

> R4 nor in pre-R5; and mixed-up color palette in XPmac in pre-R5. The
> latter problem would, of course, lose its importance if the former were
> solved.

I have no clue about the palette problem.


Takashi Oe


[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

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

* Re: XF68_FBDev and option keys (was Re: XF68_FBDev under MkLinux? and Re:  pre-R5&miscs)
  1998-12-09 19:06 ` Takashi Oe
@ 1998-12-09 20:25   ` Martin Costabel
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Costabel @ 1998-12-09 20:25 UTC (permalink / raw)
  To: Takashi Oe; +Cc: linuxppc-dev


Takashi Oe wrote:
> 
> Hi,
> 
> On Wed, 9 Dec 1998, Martin Costabel wrote:
> 
> > There was, in fact, an error message that I neglected. It came from the
> > line
> >     xkb_symbols     { include "symbols/macintosh"  };
> > in /usr/X11/lib/X11/xkb/keymap/macintosh.
> > I did not know that this had to be changed.
> >
> > I think this is a bug, it should be "symbols/macintosh/us" in the
> > standard distribution, and it is now "symbols/macintosh/fr" for me, and
> > this makes my French keyboard work in XF68_FBDev just as it had been
> > working in XPmac all the time.
> 
> I wouldn't say it's a bug because Xpmac had no problem and your original
> installation was specifically talored to the likes of Xpmac in a way.

No, the specific tailoring consisted in calling Xpmac via
/usr/bin/X11/X -kbdtype "fr(extended)" and creating a file
xkb/symbols/macintosh/fr.

The line I called buggy is found in the XF68_FBDev rpm as well as in the
Xpmac rpm. So it seems to me that it has to be changed in any case in
order to make xkb work in XF68_FBdev. It is probably less important for
US keyboards, because they only use the shift key as modifier, i.e. on
one key you usually only have 2 symbols, whereas I have up to 4, so I
need the option key as modifier. With a US keyboard you can probably get
away with xkb disabled.

I also hope that R5 will include a good documentation for these things,
otherwise in a couple of weeks you will have users crying for help all
over the place.
 
> > My two other problems persist: No mouse buttons 2&3 in XF68_FBDev (and
> > no, adb_buttons=1 in the boot command line is no solution!), neither in
> 
[]
> With that, use the option.  For example, if you want to keycode 113 for
> the middle button and keycode 115 for the right button, then
>         adb_buttons=113,115
> should do.  This is according to the kernel source that I got a few days
> ago but I think there was a mention of this option's usage sometime ago in
> linux-pmac list.

I know about this, but I would hate to have to do this. I would prefer
not to give up two good keys for mouse button emulation. Plus, I prefer
to click my mouse button if I need a mouse click. Why can't the mouse
work in FBDev as in Xpmac? 

--
Martin

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

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

end of thread, other threads:[~1998-12-09 20:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-09  9:50 XF68_FBDev and option keys (was Re: XF68_FBDev under MkLinux? and Re: pre-R5&miscs) Martin Costabel
1998-12-09 19:06 ` Takashi Oe
1998-12-09 20:25   ` 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).