NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wscons, usb keyboard and bépo
On Fri, Apr 06, 2012 at 01:07:56PM +0200, Ian D. Leroux wrote:
> Best to keep the discussion on the list; others may be able to help.
>
> On Fri, Apr 6, 2012, at 12:45, Kooda wrote:
> > On Fri, Apr 06, 2012 at 12:30:19PM +0200, Ian D. Leroux wrote:
> > > What happens if you try the Typematrix without your special bépo
> > > map file?
> > >
> > > I'm wondering what keycodes that keyboard sends, since its physical
> > > layout is rather unusual. A bépo map file designed to reinterpret a
> > > pc101 keyboard may be all wrong for the TypeMatrix.
> >
> > It works without any problem with, for example, the us and fr keymaps.
>
> That confirms that the problem is in the keycode-to-symbol translation,
> and not the hardware or driver.
>
> What does "wsconsctl -a" show
> - With the old keyboard that works with the bépo map?
> - With the TypeMatrix and a us keymap?
> - With the TypeMatrix and the bépo keymap?
>
> The keymap is supposed to specify a simple translation; if the output is
> garbled in one case but not another, the input (the keycodes) must be
> different in the two cases.
>
> -- IDL
Here is the result of these commands.
wsconsctl: "map" not shown with -a; use "wsconsctl map" to view.
type=pc-xt
bell.pitch=1500
bell.period=100
bell.volume=50
bell.pitch.default=1500
bell.period.default=100
bell.volume.default=50
repeat.del1=400
repeat.deln=100
repeat.del1.default=400
repeat.deln.default=100
ledstate=0
encoding=user
keyclick=0
scroll.mode=0
scroll.modifier=1
wsconsctl: "map" not shown with -a; use "wsconsctl map" to view.
type=usb
bell.pitch=1500
bell.period=100
bell.volume=50
bell.pitch.default=1500
bell.period.default=100
bell.volume.default=50
repeat.del1=400
repeat.deln=100
repeat.del1.default=400
repeat.deln.default=100
ledstate=0
encoding=us
keyclick=0
scroll.mode=0
scroll.modifier=1
wsconsctl: "map" not shown with -a; use "wsconsctl map" to view.
type=usb
bell.pitch=1500
bell.period=100
bell.volume=50
bell.pitch.default=1500
bell.period.default=100
bell.volume.default=50
repeat.del1=400
repeat.deln=100
repeat.del1.default=400
repeat.deln.default=100
ledstate=0
encoding=user
keyclick=0
scroll.mode=0
scroll.modifier=1
Home |
Main Index |
Thread Index |
Old Index