LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Apple keyboard doesn't work anymore, even on console mode. (https://www.linuxquestions.org/questions/slackware-14/apple-keyboard-doesnt-work-anymore-even-on-console-mode-4175551868/)

lensilvan 08-27-2015 04:27 AM

Apple keyboard doesn't work anymore, even on console mode.
 
Hi.

I use a macbook 5.2 with Slackware 14.1 x86 64 (not current). Since I saw that the alt key didn't work, especially when necessary to go to tty consoles, I ran the following command I saw in the Archlinux wiki:

Code:

$ echo options hid_apple swap_opt_cmd=1 | sudo tee -a /etc/modprobe.d/hid_apple.conf
However, upon rebooting, after LILO, the keyboard doesn't work at all. From KDM, I even switched to console mode but even there the keyboard doesn't work.

What to do in this case?

Didier Spaier 08-27-2015 04:44 AM

If multiboot, start Arch or Mint, mount your Slackware root (/) partition, for instance on /mnt, and "rm /mnt/etc/modprobe.d/hid_apple.conf".
If not, do that from the Slackware installer: start it, then as soon as you are logged in as "root" mount your Slackware root (/) partition on /mnt and "rm /mnt/etc/modprobe.d/hid_apple.conf".

Next time don't blindly follow an advice, especially if it's not intended for the same distribution.

PS But it could be interesting to see the full content of /etc/modprobe.d/hid_apple.conf in Arch. Maybe that could help understand why you get a different behavior in Arch vs Slackware. Maybe.

lensilvan 08-27-2015 07:59 AM

I chrooted in my system, and now everything is fine. Topic solved, thanks.


All times are GMT -5. The time now is 09:25 PM.