[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-ppc
Subject: keyboard defs on Japanese iBook
From: Joel Rees <joel_rees () sannet ! ne ! jp>
Date: 2008-08-16 10:11:04
Message-ID: D6C34D2E-C7A6-4C28-B5A3-AB5DE6F72105 () sannet ! ne ! jp
[Download RAW message or body]
I was able to get the console keyboard to match the keycaps on my
vintage Japanese clamshell iBook by simply editing /etc/
wsconsctl.conf, changing keyboard.encoding to jp and uncommenting.
But the keyboard in X doesn't work that easily.
afterboot suggests "/sbin/kbd -l", but that just tells me that there
are "no tables available for adb keyboard".
"kbd jp" gives me no errors, but still leaves the punctuation keys
bound to the us layout.
There's nothing at /etc/kbdtype to give me any clues. Putting "jp"
in there doesn't seem to do anything.
I tried, in /etc/X11/xorg.conf, changing the XkbLayout option to
"jp", but that does nothing does nothing, either.
----------------------
$ dmesg
[ using 395092 bytes of bsd ELF symbol table ]
console out [ATY,RageM_Lp]console in [keyboard] ADB found
: memaddr 91000000 size 1000000, : consaddr 91000000, : ioaddr
90020000, size 20000: memtag 8000, iotag 8000: width 800 linebytes
800 height 600 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights
reserved.
Copyright (c) 1995-2008 OpenBSD. All rights reserved. http://
www.OpenBSD.org
OpenBSD 4.3 (GENERIC) #1670: Wed Mar 12 11:12:33 MDT 2008
deraadt@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 603979776 (576MB)
avail mem = 570896384 (544MB)
mainbus0 at root: model PowerBook2,1
cpu0 at mainbus0: 750 (Revision 0x8300): 299 MHz: 512KB backside cache
mem0 at mainbus0
spdmem0 at mem0: SDRAM non-parity
spdmem1 at mem0: 512MB SDRAM non-parity PC133CL2
memc0 at mainbus0: uni-n
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 "Apple Uni-N AGP" rev 0x00
vgafb0 at pci0 dev 16 function 0 "ATI Mach64 LN" rev 0x64, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x0
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 "Apple Uni-N" rev 0x00
macobio0 at pci1 dev 23 function 0 "Apple Keylargo" rev 0x02
openpic0 at macobio0 offset 0x40000: version 0x4614 little endian
macgpio0 at macobio0 offset 0x50
macgpio1 at macgpio0 irq 47
"programmer-switch" at macgpio0 not configured
"extint-gpio12" at macgpio0 not configured
daca0 at macobio0 offset 0x10000: irq 30,1,2
"escc-legacy" at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 22,50
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
"timer" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 3 targets
akbd0 at adb0 addr 2: PowerBook G3 keyboard (Japanese layout)
wskbd0 at akbd0: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi
wsmouse0 at ams0 mux 0
abtn0 at adb0 addr 7: brightness/volume/eject buttons
apm0 at adb0: battery flags 0xD, 0% charged
"battery" at macobio0 offset 0x0 not configured
"backlight" at macobio0 offset 0xf300 not configured
kiic1 at macobio0 offset 0x18000
iic1 at kiic1
wdc0 at macobio0 offset 0x1f000 irq 19: DMA
wd0 at wdc0 channel 0 drive 0: <Hitachi HTS541616J9AT00>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wdc1 at macobio0 offset 0x20000 irq 20: DMA
atapiscsi0 at wdc1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, CD-ROM CR-175, 5AAE> SCSI0 5/
cdrom removable
cd0(wdc1:0:0): using BIOS timings, DMA mode 2
wdc2 at macobio0 offset 0x21000 irq 21: DMA
wi0 at macobio0 offset 0x30000 irq 57:
wi0: Firmware 8.70 variant 1, address 00:30:65:18:e0:18
audio0 at daca0
ohci0 at pci1 dev 24 function 0 "Apple USB" rev 0x00: irq 27, version
1.0
ohci1 at pci1 dev 25 function 0 "Apple USB" rev 0x00: irq 0, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Apple OHCI root hub" rev 1.00/1.00 addr 1
usb1 at ohci1: USB revision 1.0
uhub1 at usb1 "Apple OHCI root hub" rev 1.00/1.00 addr 1
mpcpcibr2 at mainbus0 pci: uni-north, Revision 0xff
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 "Apple Uni-N Eth" rev 0x00
gem0 at pci2 dev 15 function 0 "Apple Uni-N GMAC" rev 0x00: irq 41,
address 00:30:65:4b:18:10
bmtphy0 at gem0 phy 0: BCM5201 10/100 PHY, rev. 2
softraid0 at root
bootpath: /pci@f2000000/mac-io@17/ata-4@1f000/disk@0:/bsd
root on wd0a swap on wd0b dump on wd0b
$
----------------------
What obvious thing am I missing?
Joel Rees
(waiting for a 3+GHz ARM processor to come out,
to test Steve's willingness to switch again.)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic