HowTo Use: Apple USB Keyboard With Linux hid_apple Driver

I‘ve Apple Keyboard with Numeric Keypad and it is not working whenever I connect to my HP laptop. How do I use this keyboard under Debian or any Linux distribution?

The Apple usb keyboard is fully supported under Linux, you need to load the driver called hid_apple (in most cases it get loaded automatically), if not loaded, type the following command at shell prompt as root user:
# modprobe hid_apple

And you will see something as follows in your log file:
tail -f /var/log/messages
Sample outputs:

Jun 14 06:52:53 laptop kernel: [    3.957031] input: Apple, Inc Apple Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5.2/2-
Jun 14 06:52:53 laptop kernel: [    3.957254] apple 0003:05AC:0220.0003: input,hidraw2: USB HID v1.11 Keyboard [Apple, Inc Apple Keyboard] on usb-0000:00:1d.0-

Now you can use your keyboard with desktop or Laptop running the Linux operating systems.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 1 comment so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersncdu pydf
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
1 comment… add one
  • Tanmay Joshi Jun 16, 2010 @ 13:20

    This really did help me.

    Thanks for the tip.

    – Tanmay

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum