05-07-05 10:46 PM
>Submitter-Id: net
>Originator: Rodolfo Gouveia
>Organization: net
>Synopsis: kbd -l doesn't show encodings on macppc for an adb keyboard
>Severity: non-critical
>Priority: low
>Category: system
>Class: sw-bug
>Release: OpenBSD 3.7 -current
>Environment:
System : OpenBSD 3.7
Architecture: OpenBSD.powerpc
Machine : macppc
>Description:
When executing kbd -l, on my ibook I get this output:
#kbd -l
tables available for adb keyboard:
encoding
<encoding 0x4300>.declk.lk401.metaesc.machdep.<variant 0x7c310000>
us.declk.lk401.metaesc.machdep.<variant 0x7ffb0000>
<encoding 0x4300>.dvorak.<variant 0x80210000>
Unknown encoding or variant. kbd(8) needs to be rebuilt.
#
If I connect an usb keyboard, I can get the encodings related to the
usb one, but the same error on adb keyboard:
# kbd -l
tables available for usb keyboard:
encoding
us
us.swapctrlcaps
jp
jp.swapctrlcaps
de
de.nodead
fr
fr.swapctrlcaps
dk
dk.nodead
it
uk
sv
sv.nodead
no
no.nodead
pt
es
sg
sg.nodead
sf
sf.nodead
be
tables available for adb keyboard:
encoding
<encoding 0x4300>.declk.lk401.metaesc.machdep.<variant 0x7c310000>
us.declk.lk401.metaesc.machdep.<variant 0x7ffb0000>
<encoding 0x4300>.dvorak.<variant 0x80210000>
Unknown encoding or variant. kbd(8) needs to be rebuilt.
#
dmesg follows:
OpenBSD 3.7-current (GENERIC) #6: Wed May 4 20:42:35 WEST 2005
root@ibook.cosmico.net:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 402653184 (393216K)
avail mem = 358854656 (350444K)
using 1254 buffers containing 20131840 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 0x3311): 600 MHz: 256KB backside cache
memc0 at mainbus0: uni-n
mpcpcibr0 at mainbus0: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 "Apple Pangea AGP" rev 0x00
vgafb0 at pci0 dev 16 function 0 "ATI Mobility M3" rev 0x02, mmio
wsdisplay0 at vgafb0: console (std, vt100 emulation)
mpcpcibr1 at mainbus0: uni-north, Revision 0x0
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 "Apple Pangea PCI" rev 0x00
macobio0 at pci1 dev 23 function 0 "Apple Pangea" rev 0x00
openpic0 at macobio0: version 0x4614
gpio_obio0 at macobio0
gpio_obio1 at gpio_obio0 irq 47
programmer-switch at gpio_obio0 not configured
firewire-linkon at gpio_obio0 not configured
gpio1 at gpio_obio0 not configured
gpio9 at gpio_obio0 not configured
extint-gpio4 at gpio_obio0 not configured
extint-gpio12 at gpio_obio0 not configured
zsc0 at macobio0: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
adb0 at macobio0 irq 25: via-pmu 3 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: iBook keyboard with inverted T (ISO layout)
wskbd0 at akbd0 (mux 1 ignored for console): console keyboard, using wsdispl
ay0
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 0x5, 0% charged
ki2c0 at macobio0
wdc0 at macobio0 irq 19: DMA
wd0 at wdc0 channel 0 drive 0: <FUJITSU MHT2040AT>
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
atapiscsi0 at wdc0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-R2002, 1C30> SCSI0 5/cdro
m removable
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2
cd0(wdc0:0:1): using PIO mode 4, DMA mode 2
ohci0 at pci1 dev 24 function 0 "Apple Pangea USB" rev 0x00: irq 27, version
1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0 "Apple Pangea USB" rev 0x00: irq 28, version
1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
mpcpcibr2 at mainbus0: uni-north, Revision 0x16
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 "Apple Pangea PCI" rev 0x00
"Apple Pangea FireWire" rev 0x00 at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0 "Apple GMAC" rev 0x00: irq 41, address 00:03:
93:76:ee:3e
bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4
bootpath: '/pci@f2000000/mac-io@17/ata-4@1f000/disk@0/bsd'
boot device: wd0.
root on wd0a
rootdev=0x0 rrootdev=0xb00 rawdev=0xb02
>How-To-Repeat:
Execute kbd -l
>Fix:
[ Post a follow-up to this message ]
|