[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#367149: kbd-chooser: [powerpc] does not detect ADB keyboards

Package: kbd-chooser
Version: 1.26

It appears that kbd-chooser does not actually detect ADB keyboards as used 
for example on Powerbook G4 laptops.
Until Beta 2 keyboard selection only worked because of the default mac-usb 
keyboard added in usb-kbd.c, but that's absolutely not optimal.

After a short look at Frank Lichtenhelds laptop, it seems that the 
keyboard can be detected from the /proc/bus/input/devices file (see 

It's currently unsure if the keyboard will work correctly with AT keymaps 
as well as USB-MAC. I'll test that over the next days.
I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
S: Sysfs=/class/input/input0
H: Handlers=mouse0 event0 ts0 
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0017 Vendor=0001 Product=22c4 Version=0200
N: Name="ADB keyboard"
P: Phys=adb2:2.c4/input
S: Sysfs=/class/input/input1
H: Handlers=kbd event1 
B: EV=120003
B: KEY=feb0ffdf 3cfffff ffffffff fffffffe
B: LED=7

I: Bus=0017 Vendor=0001 Product=771f Version=0100
N: Name="ADB Powerbook buttons"
P: Phys=adb7:7.1f/input
S: Sysfs=/class/input/input2
H: Handlers=kbd event2 
B: EV=100003
B: KEY=7b 0 2 0 e0000 0 0 0

I: Bus=0017 Vendor=0001 Product=3301 Version=0100
N: Name="ADB mouse"
P: Phys=adb3:3.01/input
S: Sysfs=/class/input/input3
H: Handlers=mouse1 event3 ts1 
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0017 Vendor=001f Product=0001 Version=0100
N: Name="PowerMac Beep"
P: Phys=powermac/beep
S: Sysfs=/class/input/input4
H: Handlers=kbd event4 
B: EV=40001
B: SND=6

Attachment: pgpKXYnCSUgqb.pgp
Description: PGP signature

Reply to: