NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/49998: wsconsctl does not modify keyboard encoding correctly
>Number: 49998
>Category: bin
>Synopsis: wsconsctl does not modify keyboard encoding correctly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 23 17:30:00 +0000 2015
>Originator: Vicente Chaves de Melo
>Release: netbsd-7
>Organization:
>Environment:
NetBSD target.st3tailor.net 7.0_BETA NetBSD 7.0_BETA (GENERIC) #2: Thu Jun 11 16:20:19 BRT 2015 root%dm4.xxxxx.net@localhost:/root/sysbuild/amd64/obj/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
I have a USB Brazilian ABNT2 keyboard and an attempt to modify the encoding with wsconsctl -w map+="keycode 20 = q Q slash"
does not work, since the key combination shift+q and altgr+q are return lowercase q
In addition to that several other combination are affected, making the keyboard useless.
target$ dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 7.0_BETA (GENERIC) #2: Thu Jun 11 16:20:19 BRT 2015
root%dm4.xxxxx.net@localhost:/root/sysbuild/amd64/obj/usr/src/sys/arch/amd64/compile/GENERIC
total memory = 4093 MB
avail memory = 3957 MB
kern.module.path=/stand/amd64/7.0/modules
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
IBM IBM System x3200 M2 -[4368PAB]- (SVT)
mainbus0 (root)
ACPI: RSDP 0xf66c0 000024 (v02 PTLTD )
ACPI: XSDT 0xdfe58b31 0000CC (v01 IBM EXA01ZEU 06040000 LTP 00000000)
ACPI: FACP 0xdfe6248d 0000F4 (v03 INTEL 06040000 PTL 00000002)
ACPI: DSDT 0xdfe5bcfe 00670B (v01 INTEL BEARLAKE 06040000 MSFT 0100000E)
ACPI: FACS 0xdfe63fc0 000040
ACPI: EINJ 0xdfe62581 0001B0 (v01 PTL WHEAPTL 06040000 PTL 00000001)
ACPI: HEST 0xdfe62731 000268 (v01 PTL WHEAPTL 06040000 PTL 00000001)
ACPI: BERT 0xdfe62999 000030 (v01 PTL WHEAPTL 06040000 PTL 00000001)
ACPI: SSDT 0xdfe629c9 0000E1 (v01 wheaos wheaosc 06040000 INTL 20050624)
ACPI: ERST 0xdfe62aaa 000270 (v01 PTL WHEAPTL 06040000 PTL 00000001)
ACPI: SPCR 0xdfe62d1a 000050 (v01 PTLTD $UCRTBL$ 06040000 PTL 00000001)
ACPI: SLIC 0xdfe62d6a 000176 (v01 IBM EXA01ZEU 06040000 PTL 00000000)
ACPI: MCFG 0xdfe62ee0 00003C (v01 PTLTD MCFG 06040000 LTP 00000000)
ACPI: HPET 0xdfe62f1c 000038 (v01 PTLTD HPETTBL 06040000 LTP 00000001)
ACPI: APIC 0xdfe62f54 000084 (v01 PTLTD ? APIC 06040000 LTP 00000000)
ACPI: BOOT 0xdfe62fd8 000028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001)
ACPI: SSDT 0xdfe5a470 00025F (v01 PmRef Cpu0Tst 00003000 INTL 20050228)
ACPI: SSDT 0xdfe5a3ca 0000A6 (v01 PmRef Cpu7Tst 00003000 INTL 20050228)
ACPI: SSDT 0xdfe5a324 0000A6 (v01 PmRef Cpu6Tst 00003000 INTL 20050228)
ACPI: SSDT 0xdfe5a27e 0000A6 (v01 PmRef Cpu5Tst 00003000 INTL 20050228)
ACPI: SSDT 0xdfe5a1d8 0000A6 (v01 PmRef Cpu4Tst 00003000 INTL 20050228)
ACPI: SSDT 0xdfe5a132 0000A6 (v01 PmRef Cpu3Tst 00003000 INTL 20050228)
ACPI: SSDT 0xdfe5a08c 0000A6 (v01 PmRef Cpu2Tst 00003000 INTL 20050228)
ACPI: SSDT 0xdfe59fe6 0000A6 (v01 PmRef Cpu1Tst 00003000 INTL 20050228)
ACPI: SSDT 0xdfe58bfd 0013E9 (v01 PmRef CpuPm 00003000 INTL 20050228)
ACPI: All ACPI Tables successfully acquired
cpu0 at mainbus0 apid 0: Intel(R) Xeon(R) CPU X3320 @ 2.50GHz, id 0x10677
cpu1 at mainbus0 apid 1: Intel(R) Xeon(R) CPU X3320 @ 2.50GHz, id 0x10677
cpu2 at mainbus0 apid 2: Intel(R) Xeon(R) CPU X3320 @ 2.50GHz, id 0x10677
cpu3 at mainbus0 apid 3: Intel(R) Xeon(R) CPU X3320 @ 2.50GHz, id 0x10677
ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 0x20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20131218
acpi0: X/RSDT: OemId <IBM ,EXA01ZEU,06040000>, AslId < LTP,00000000>
ACPI: SSDT 0xdfe5a6cf 0001DD (v01 PmRef Cpu0Ist 00003000 INTL 20050228)
ACPI: SSDT 0x0 0001DD (v01 PmRef Cpu0Ist 00003000 INTL 20050228)
ACPI: SSDT 0xdfe5a8ac 00016E (v01 PmRef Cpu1Ist 00003000 INTL 20050228)
ACPI: SSDT 0x0 00016E (v01 PmRef Cpu1Ist 00003000 INTL 20050228)
ACPI: SSDT 0xdfe5aa1a 00016E (v01 PmRef Cpu2Ist 00003000 INTL 20050228)
ACPI: SSDT 0x0 00016E (v01 PmRef Cpu2Ist 00003000 INTL 20050228)
ACPI: SSDT 0xdfe5ab88 00016E (v01 PmRef Cpu3Ist 00003000 INTL 20050228)
ACPI: SSDT 0x0 00016E (v01 PmRef Cpu3Ist 00003000 INTL 20050228)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
MBRD (PNP0C02) at acpi0 not configured
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53
FWH (INT0800) at acpi0 not configured
COM1 (PNP0501) at acpi0 not configured
COM2 (PNP0501) at acpi0 not configured
LPBI (PNP0400) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
MI0 (IPI0001) at acpi0 not configured
ACPI: Enabled 3 GPEs in block 00 to 3F
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131218/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131218/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_] (20131218/hwxface-646)
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x29f0 (rev. 0x01)
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x29f1 (rev. 0x01)
ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x8 @ 2.5GT/s
pci1 at ppb0 bus 6
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
uhci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x2937 (rev. 0x02)
uhci0: interrupting at ioapic0 pin 16
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 26 function 1: vendor 0x8086 product 0x2938 (rev. 0x02)
uhci1: interrupting at ioapic0 pin 17
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 26 function 2: vendor 0x8086 product 0x2939 (rev. 0x02)
uhci2: interrupting at ioapic0 pin 18
usb2 at uhci2: USB revision 1.0
ehci0 at pci0 dev 26 function 7: vendor 0x8086 product 0x293c (rev. 0x02)
ehci0: interrupting at ioapic0 pin 18
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x2948 (rev. 0x02)
ppb1: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci2 at ppb1 bus 9
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 1: vendor 0x8086 product 0x294a (rev. 0x02)
ppb2: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
bge0 at pci3 dev 0 function 0: Broadcom BCM5722 Gigabit Ethernet
bge0: interrupting at ioapic0 pin 17
bge0: HW config 000001d1, 00010011, 00002830, 00000000 00000000
bge0: ASIC BCM5755 C0 (0xa200), Ethernet address 00:1a:64:1f:41:e8
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5722 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb3 at pci0 dev 28 function 2: vendor 0x8086 product 0x2940 (rev. 0x02)
ppb3: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x4 @ 2.5GT/s
pci4 at ppb3 bus 12
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
mpt0 at pci4 dev 0 function 0: vendor 0x1000 product 0x0056 (rev. 0x02)
mpt0: interrupting at ioapic0 pin 16
mpt0: Phy 3: Link Rate 3.0 Gbps
scsibus0 at mpt0: 112 targets, 8 luns per target
uhci3 at pci0 dev 29 function 0: vendor 0x8086 product 0x2934 (rev. 0x02)
uhci3: interrupting at ioapic0 pin 16
usb4 at uhci3: USB revision 1.0
uhci4 at pci0 dev 29 function 1: vendor 0x8086 product 0x2935 (rev. 0x02)
uhci4: interrupting at ioapic0 pin 17
usb5 at uhci4: USB revision 1.0
uhci5 at pci0 dev 29 function 2: vendor 0x8086 product 0x2936 (rev. 0x02)
uhci5: interrupting at ioapic0 pin 18
usb6 at uhci5: USB revision 1.0
ehci1 at pci0 dev 29 function 7: vendor 0x8086 product 0x293a (rev. 0x02)
ehci1: interrupting at ioapic0 pin 16
ehci1: EHCI version 1.0
ehci1: companion controllers, 2 ports each: uhci3 uhci4 uhci5
usb7 at ehci1: USB revision 2.0
ppb4 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0x92)
pci5 at ppb4 bus 4
pci5: i/o space, memory space enabled
vga0 at pci5 dev 3 function 0: vendor 0x1002 product 0x515e (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
ichlpcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x2916 (rev. 0x02)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
piixide0 at pci0 dev 31 function 2: Intel 82801I Serial ATA Controller (ICH9) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to native-PCI mode
piixide0: using ioapic0 pin 17 for native-PCI interrupt
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to native-PCI mode
atabus1 at piixide0 channel 1
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x2930 (rev. 0x02)
ichsmb0: interrupting at ioapic0 pin 17
iic0 at ichsmb0: I2C bus
piixide1 at pci0 dev 31 function 5: Intel 82801I Serial ATA Controller (ICH9) (rev. 0x02)
piixide1: bus-master DMA support present
piixide1: primary channel wired to native-PCI mode
piixide1: using ioapic0 pin 18 for native-PCI interrupt
atabus2 at piixide1 channel 0
piixide1: secondary channel wired to native-PCI mode
atabus3 at piixide1 channel 1
isa0 at ichlpcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat 0 us, pow 0 mW
acpicpu0: P0: FFH, lat 10 us, pow 35000 mW, 2500 MHz
acpicpu0: P1: FFH, lat 10 us, pow 16000 mW, 2000 MHz
acpicpu0: T0: FFH, lat 1 us, pow 16000 mW, 100 %
acpicpu0: T1: FFH, lat 1 us, pow 14000 mW, 88 %
acpicpu0: T2: FFH, lat 1 us, pow 12000 mW, 75 %
acpicpu0: T3: FFH, lat 1 us, pow 10000 mW, 63 %
acpicpu0: T4: FFH, lat 1 us, pow 8000 mW, 50 %
acpicpu0: T5: FFH, lat 1 us, pow 6000 mW, 38 %
acpicpu0: T6: FFH, lat 1 us, pow 4000 mW, 25 %
acpicpu0: T7: FFH, lat 1 us, pow 2000 mW, 13 %
coretemp0 at cpu0: thermal sensor, 1 C resolution
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution
acpicpu2 at cpu2: ACPI CPU
coretemp2 at cpu2: thermal sensor, 1 C resolution
acpicpu3 at cpu3: ACPI CPU
coretemp3 at cpu3: thermal sensor, 1 C resolution
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
scsibus0: waiting 2 seconds for devices to settle...
IPsec: Initialized Security Association Processing.
uhub0 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb4: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb7: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
uhub3 at usb3: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
uhub4 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhub5 at usb6: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
uhub6 at usb2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub6: 2 ports with 2 removable, self powered
uhub7 at usb5: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub7: 2 ports with 2 removable, self powered
sd0 at scsibus0 target 9 lun 0: <ATA, ST31500341AS, CC1H> disk fixed
sd0: 1397 GB, 1430800 cyl, 16 head, 127 sec, 512 bytes/sect x 2930277168 sectors
sd0: tagged queueing
wd0 at atabus0 drive 0
wd0: <SAMSUNG HD082GJ>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76318 MB, 155058 cyl, 16 head, 63 sec, 512 bytes/sect x 156299375 sectors
uhidev0 at uhub5 port 1 configuration 1 interface 0
uhidev0: USB USB Keykoard, rev 1.10/1.10, addr 2, iclass 3/1
ukbd0 at uhidev0
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 7
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub5 port 1 configuration 1 interface 1
uhidev1: USB USB Keykoard, rev 1.10/1.10, addr 2, iclass 3/0
uhidev1: 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
atapibus0 at atabus3: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-STDVD-ROM GDRH20N, , 0M02> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(piixide1:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
target# wsconsctl -a
type=usb
bell.pitch=1500
bell.period=100
bell.volume=50
bell.pitch.default=1500
bell.period.default=100
bell.volume.default=50
wsconsctl: "map" not shown with -a; use "wsconsctl map" to view.
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
target# wsconsctl map
map=
keycode 4 = a A
keycode 5 = b B
keycode 6 = c C
keycode 7 = d D
keycode 8 = e E
keycode 9 = f F
keycode 10 = g G
keycode 11 = h H
keycode 12 = i I
keycode 13 = j J
keycode 14 = k K
keycode 15 = l L
keycode 16 = m M
keycode 17 = n N
keycode 18 = o O
keycode 19 = p P
keycode 20 = q Q
keycode 21 = r R
keycode 22 = s S
keycode 23 = t T
keycode 24 = u U
keycode 25 = v V
keycode 26 = w W
keycode 27 = x X
keycode 28 = y Y
keycode 29 = z Z
keycode 30 = 1 exclam
keycode 31 = 2 at
keycode 32 = 3 numbersign
keycode 33 = 4 dollar
keycode 34 = 5 percent
keycode 35 = 6 asciicircum
keycode 36 = 7 ampersand
keycode 37 = 8 asterisk
keycode 38 = 9 parenleft
keycode 39 = 0 parenright
keycode 40 = Return
keycode 41 = Cmd_Debugger Escape
keycode 42 = BackSpace
keycode 43 = Tab
keycode 44 = space
keycode 45 = minus underscore
keycode 46 = equal plus
keycode 47 = bracketleft braceleft
keycode 48 = bracketright braceright
keycode 49 = backslash bar
keycode 50 = backslash bar
keycode 51 = semicolon colon
keycode 52 = apostrophe quotedbl
keycode 53 = grave asciitilde
keycode 54 = comma less
keycode 55 = period greater
keycode 56 = slash question
keycode 57 = Caps_Lock
keycode 58 = Cmd_Screen0 f1 F1
keycode 59 = Cmd_Screen1 f2 F2
keycode 60 = Cmd_Screen2 f3 F3
keycode 61 = Cmd_Screen3 f4 F4
keycode 62 = Cmd_Screen4 f5 F5
keycode 63 = Cmd_Screen5 f6 F6
keycode 64 = Cmd_Screen6 f7 F7
keycode 65 = Cmd_Screen7 f8 F8
keycode 66 = Cmd_Screen8 f9 F9
keycode 67 = Cmd_Screen9 f10 F10
keycode 68 = f11 F11
keycode 69 = f12 F12
keycode 70 = Print_Screen
keycode 71 = Hold_Screen
keycode 72 = Pause
keycode 73 = Insert
keycode 74 = Home
keycode 75 = Cmd_ScrollFastUp Prior
keycode 76 = Delete
keycode 77 = End
keycode 78 = Cmd_ScrollFastDown Next
keycode 79 = Right
keycode 80 = Left
keycode 81 = Down
keycode 82 = Up
keycode 83 = Num_Lock
keycode 84 = KP_Divide
keycode 85 = KP_Multiply
keycode 86 = KP_Subtract
keycode 87 = KP_Add
keycode 88 = KP_Enter
keycode 89 = KP_End KP_1
keycode 90 = KP_Down KP_2
keycode 91 = Cmd_ScrollFastDown KP_Next KP_3
keycode 92 = KP_Left KP_4
keycode 93 = KP_Begin KP_5
keycode 94 = KP_Right KP_6
keycode 95 = KP_Home KP_7
keycode 96 = KP_Up KP_8
keycode 97 = Cmd_ScrollFastUp KP_Prior KP_9
keycode 98 = KP_Insert KP_0
keycode 99 = KP_Delete KP_Decimal
keycode 100 = backslash bar
keycode 101 = Menu
keycode 104 = f13 F13
keycode 105 = f14 F14
keycode 106 = f15 F15
keycode 107 = f16 F16
keycode 109 = Power
target# wsconsctl -w map+="keycode 20 = q Q slash"
map ->
keycode 4 = a A
keycode 5 = b B
keycode 6 = c C
keycode 7 = d D
keycode 8 = e E
keycode 9 = f F
keycode 10 = g G
keycode 11 = h H
keycode 12 = i I
keycode 13 = j J
keycode 14 = k K
keycode 15 = l L
keycode 16 = m M
keycode 17 = n N
keycode 18 = o O
keycode 19 = p P
keycode 20 = q Q slash slash
keycode 21 = r R
keycode 22 = s S
keycode 23 = t T
keycode 24 = u U
keycode 25 = v V
keycode 26 = w W
keycode 27 = x X
keycode 28 = y Y
keycode 29 = z Z
keycode 30 = 1 exclam
keycode 31 = 2 at
keycode 32 = 3 numbersign
keycode 33 = 4 dollar
keycode 34 = 5 percent
keycode 35 = 6 asciicircum
keycode 36 = 7 ampersand
keycode 37 = 8 asterisk
keycode 38 = 9 parenleft
keycode 39 = 0 parenright
keycode 40 = Return
keycode 41 = Cmd_Debugger Escape
keycode 42 = BackSpace
keycode 43 = Tab
keycode 44 = space
keycode 45 = minus underscore
keycode 46 = equal plus
keycode 47 = bracketleft braceleft
keycode 48 = bracketright braceright
keycode 49 = backslash bar
keycode 50 = backslash bar
keycode 51 = semicolon colon
keycode 52 = apostrophe quotedbl
keycode 53 = grave asciitilde
keycode 54 = comma less
keycode 55 = period greater
keycode 56 = slash question
keycode 57 = Caps_Lock
keycode 58 = Cmd_Screen0 f1 F1
keycode 59 = Cmd_Screen1 f2 F2
keycode 60 = Cmd_Screen2 f3 F3
keycode 61 = Cmd_Screen3 f4 F4
keycode 62 = Cmd_Screen4 f5 F5
keycode 63 = Cmd_Screen5 f6 F6
keycode 64 = Cmd_Screen6 f7 F7
keycode 65 = Cmd_Screen7 f8 F8
keycode 66 = Cmd_Screen8 f9 F9
keycode 67 = Cmd_Screen9 f10 F10
keycode 68 = f11 F11
keycode 69 = f12 F12
keycode 70 = Print_Screen
keycode 71 = Hold_Screen
keycode 72 = Pause
keycode 73 = Insert
keycode 74 = Home
keycode 75 = Cmd_ScrollFastUp Prior
keycode 76 = Delete
keycode 77 = End
keycode 78 = Cmd_ScrollFastDown Next
keycode 79 = Right
keycode 80 = Left
keycode 81 = Down
keycode 82 = Up
keycode 83 = Num_Lock
keycode 84 = KP_Divide
keycode 85 = KP_Multiply
keycode 86 = KP_Subtract
keycode 87 = KP_Add
keycode 88 = KP_Enter
keycode 89 = KP_End KP_1
keycode 90 = KP_Down KP_2
keycode 91 = Cmd_ScrollFastDown KP_Next KP_3
keycode 92 = KP_Left KP_4
keycode 93 = KP_Begin KP_5
keycode 94 = KP_Right KP_6
keycode 95 = KP_Home KP_7
keycode 96 = KP_Up KP_8
keycode 97 = Cmd_ScrollFastUp KP_Prior KP_9
keycode 98 = KP_Insert KP_0
keycode 99 = KP_Delete KP_Decimal
keycode 100 = backslash bar
keycode 101 = Menu
keycode 104 = f13 F13
keycode 105 = f14 F14
keycode 106 = f15 F15
keycode 107 = f16 F16
keycode 109 = Power
the ctrl and shift keys don't seem to work anymore
target# wsconsctl -a
type=usb
bell.pitch=1500
bell.period=100
bell.volume=50
bell.pitch.default=1500
bell.period.default=100
bell.volume.default=50
wsconsctl: "map" not shown with -a; use "wsconsctl map" to view.
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
After that it is possible to fix the keyboard encoding running wsconsctl -w encoding=us
target# wsconsctl -w encoding=us
encoding -> us
>How-To-Repeat:
run the following command to modify the encoding of a USB keyboard
wsconsctl -w map+="keycode 20 = q Q slash"
and see the encoding of several keys were changed
>Fix:
Home |
Main Index |
Thread Index |
Old Index