Hi,
 please Cc me on replies as I'm not subscribed.  Thanks.

I recently bought a powermac G5, which I am using with my (PS/2) KVM switch through an adaptor to the usb port. I'm using a standard British keyboard, with 108 keys. For all available kernels (2.6.12 through to 2.6.15-rc5) I'm unable to use a British keymap because two keys do not register - the 'wake' key (normally code 99, according to showkey on my other boxes), and the '\' key (normally code 86). That is, 'showkey' does not show anything happening when either of these keys is pressed.

The 'wake' key is not important to me, but I can't get by without '\' and its shifted '|' so I'm using a US map - please excuse me if any '@' quotes slip through.

I've tried replacing all the 'unk' and 00 values in hid_keyboard[] with '43' to get something displayable, but that made no difference. I also tried defining DEBUG in hid-input.c, but apart from dumping the standard mapping into my log nothing showed (e.g. no "IGNORED" messages from Mapping: Keyboard except for the Keyboard.0000-3 keys that
I had earlier tried altering).

I'm at a loss where these keystrokes are going - I can understand that a British PS/2 keyboard on a mac is unusual (the standard apple keyboard is almost American), but I assume usb keyboards usually work correctly.

An attempt at turning on verbose debugging showed ohci-dbg bombarding my logs (rather than ehci) but left me none the wiser.

 Any suggestions, please ?

TIA,

Ken
--
 das eine Mal als Trag?die, das andere Mal als Farce
[ver_linux] 
Linux bassman 2.6.15-rc5 #9 Wed Dec 14 16:37:05 GMT 2005 ppc64 GNU/Linux
 
Gnu C                  4.0.2
Gnu make               3.80
binutils               2.16.1
util-linux             2.12r
mount                  2.12r
module-init-tools      3.1
e2fsprogs              1.38
reiserfsprogs          line
reiser4progs           line
nfs-utils              1.0.7
Linux C Library        2.3.90
Dynamic linker (ldd)   2.3.90
Linux C++ Library      6.0.6
Procps                 3.2.6
Kbd                    1.12
Sh-utils               5.93
udev                   071

[/proc/ioports]
00000000-003fffff : /[EMAIL PROTECTED],f2000000
00400000-00bfffff : /[EMAIL PROTECTED],f0000000

[/proc/iomem]
80000000-8fffffff : /[EMAIL PROTECTED],f2000000
  80000000-800fffff : PCI Bus 0001:01
    80000000-8007ffff : 0001:01:07.0
      80000000-8007ffff : 0.80000000:mac-io
        80000000-80004fff : 0.00000000:i2s
          80000000-800009ff : 0.00000000:i2s
          80000050-8000008a : 0.00000050:gpio
        80013000-80013000 : 0.00013000:ch-b
        80013010-80013010 : 0.00013000:ch-b
        80013020-80013020 : 0.00013020:ch-a
        80013030-80013030 : 0.00013020:ch-a
        80013040-80013040 : 0.00013000:ch-b
        80013050-80013050 : 0.00013020:ch-a
        80015000-80015fff : 0.00015000:timer
        80018000-80018fff : 0.00018000:i2c
        80040000-8007ffff : 0.00040000:mpic
    80080000-800800ff : 0001:01:0b.2
      80080000-800800ff : ehci_hcd
    80081000-80081fff : 0001:01:0b.1
      80081000-80081fff : ohci_hcd
    80082000-80082fff : 0001:01:0b.0
      80082000-80082fff : ohci_hcd
  80100000-801fffff : PCI Bus 0001:02
    80100000-80100fff : 0001:02:0e.0
    80102000-80103fff : 0001:02:0c.0
      80102000-80103fff : sata_svw
    80104000-80107fff : 0001:02:0d.0
      80104000-80107fff : Kauai ATA
  80200000-805fffff : PCI Bus 0001:03
    80200000-802fffff : 0001:03:0f.0
    80400000-805fffff : 0001:03:0f.0
      80400000-805fffff : sungem
90000000-9fffffff : /[EMAIL PROTECTED],f0000000
  90000000-9001ffff : 0000:f0:10.0
  91000000-91ffffff : 0000:f0:10.0
    91000000-91ffffff : nvidiafb
  98000000-9fffffff : 0000:f0:10.0
    98000000-9fffffff : nvidiafb
a0000000-efffffff : /[EMAIL PROTECTED],f2000000
f1000000-f1ffffff : /[EMAIL PROTECTED],f0000000

[/proc/bus/usb/devices]
T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.15-rc5 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0001:01:0b.1
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
B:  Alloc= 26/900 us ( 3%), #Int=  2, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.15-rc5 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0001:01:0b.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0d3d ProdID=0001 Rev= 0.01
S:  Product=USBPS2
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=82(I) Atr=03(Int.) MxPS=   5 Ivl=10ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 5
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.15-rc5 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0001:01:0b.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms

Reply via email to