On 8/23/24 00:24, lina wrote:
Hi,
During the Debian (stable) installation on Macbook pro from 2019,
my internal keyboard is not recognizable even I exhausted all possible
keyboard options listed during
dpkg-reconfiguration keyboard-configuration
# more /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
*XKBMODEL="apple_laptop"*
XKBLAYOUT="us"
XKBVARIANT="dvorak-classic"
XKBOPTIONS="lv3:ralt_alt"
BACKSPACE="guess"
I also tried
*XKBMODEL="macbook79"
XKBMODEL="macbook78"
XKBMODEL="macintosh"**
XKBMODEL="macintosh_old"*
*XKBMODEL="apple"*
*XKBMODEL="applealu_ansi"*
# dmesg | grep -i keyboard
[ 2.237578] usb 1-1.2: Product: Magic Keyboard
[ 2.464951] usb 1-1.3: Product: USB Keyboard
[ 2.466381] apple 0003:05AC:0267.0002: fixing up Magic Keyboard
battery report descriptor
[ 2.466464] apple 0003:05AC:0267.0002: Fn key not found (Apple
Wireless Keyboard clone?), disabling Fn key handling
[ 2.466485] input: Apple Inc. Magic Keyboard as
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:05AC:0267.0002/input/input6
[ 2.466530] apple 0003:05AC:0267.0002: input,hiddev0,hidraw1: USB
HID v1.10 Keyboard [Apple Inc. Magic Keyboard] on
usb-0000:00:14.0-1.2/input0
[ 2.466686] input: Apple Inc. Magic Keyboard as
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:05AC:0267.0003/input/input7
[ 2.471679] hid-generic 0003:2109:D101.0005: hiddev1,hidraw2: USB
HID v1.10 Device [VIA Labs, Inc. USB Keyboard ] on
usb-0000:00:14.0-1.3/input0
[ 2.523233] apple 0003:05AC:0267.0003: input,hiddev2,hidraw3: USB
HID v1.10 Keyboard [Apple Inc. Magic Keyboard] on
usb-0000:00:14.0-1.2/input1
[ 2.523305] apple 0003:05AC:0267.0004: hiddev3,hidraw4: USB HID
v1.10 Device [Apple Inc. Magic Keyboard] on usb-0000:00:14.0-1.2/input2
[ 4.231170] systemd[1]: Starting keyboard-setup.service - Set the
console keyboard layout...
I have done a lot of installs on a 2011 iMac, and in my experience, you
need to do it with a wired USB keyboard. After the install, you can
manage the system with any keyboard you can manage to get working, but
for the purposes of installation, the Debian Installer and the Macintosh
together seem to need a wired USB keyboard.