Asus fn key linux

How can I toggle the Fn (function) key?

Is there a way to toggle the Fn key? I’d like to be able to toggle it so I don’t have to press Fn + F12 to raise the volume, for example. I’m running Ubuntu 16.04.1 LTS on an Asus D550C.

Should be in your BIOS → config → is usually either „F1-F12 as Primary Function: On“ or something like „HotKey Mode“ (change from enabled to disabled or vice versa)

12 Answers 12

For some computer models, to toggle F1 .. F12 keys use media functions or to be the «F» keys press Fn + Esc .

If you have an Apple keyboard and want the function keys to act like F1 — F12 by default (disable Fn default behavior) give the following command in terminal:

echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode 

@A.Steenbergen you can probably use sysfsutils — see my answer here for an example (for a different setting — adjust as needed).

As far as I know, the Fn key does not get detected by the OS but modifies your other keys on a firmware level. That means you can neither retrieve nor control the state of the Fn key from Ubuntu.

What you could do instead is to change the keyboard shortcut for increasing/decreasing audio volume to an alternative key combination instead of the Fn -modified special key.

Open System Settings → Keyboard and go to the Shortcuts tab. In the list on the left side, select Sound and Media.

After clicking on an entry in the list on the right side (in your case you want to edit Volume up and Volume down), you can press a combination of keys you want to assign to this shortcut. Esc cancels the editing and ← Backspace disables the shortcut.

Читайте также:  Panasonic mfs tools linux

Источник

Клавиатурные сочетания fn+ на ноутбуках

Установил Debian WheezyGNU/Linux на ноутбук ASUS K73BY, ядро 3.2.0-4-amd64. Вопрос, как заставить работать сочетания клавиш fn+f2, fn+f8, fn+f9 и др, включающие wifi, bluetooth, тачпад. Случайно выключил wifi — теперь не могу обратно включить.

Они описываются в acpid, как правило. Смотреть в его правилах, гуглить по модели ноута, читать dmesg если в гугле пусто.

Ну я установил пакеты acpid, acpi-support, acpi-support-base, laptop-mode-tools. А дальше что? Появились скрипты в /etc/acpi Прочитал, что нужно редактировать /etc/acpi/hotkeys.sh Но дальше не понял. Как сделать, чтобы включились WiFi и BlueTooth и чтобы при этом сообщения на экране отображались?

У меня похожая модель и никакие laptop-mode не нужно ставить. Ядро. Что у тебя с:

~ # cat /usr/src/linux/.config | grep CONFIG_ASUS 
CONFIG_ASUS_LAPTOP=m CONFIG_ASUS_WMI=m CONFIG_ASUS_NB_WMI=m 

А зачем модулями? Лучше в ядро вкомпилить, раз уж на то пошло.

У меня вообще нет /usr/src/linux. Я ядро не собирал, а ставил бинарное из репозитория.

$ cat /boot/config-3.2.0-4-amd64 | grep CONFIG_ASUS # CONFIG_ASUS_OLED is not set CONFIG_ASUS_LAPTOP=m CONFIG_ASUS_WMI=m CONFIG_ASUS_NB_WMI=m

Ну, лично я любитель легковесных ядер. Весь крэп модулями. Время распаковки же ядра при старте >_>
Тем более, не дай б-г завтра после обеда этому ядру-системе в другой комп жить перезжать, по причине смерти первого носителя) зачем там лишние модули. Ну и в таком стиле.

Так, с ядром у меня всё нормально, acpi стоит, утилиты wireless-tools, alsa-tools и bluez-tools стоят. Дальше что? Ну реакция на fn+f11 и fn+f12 (громкость) на экране KDE появилась после установки alsa-tools-gui, шкала громкости появляется. А как на счёт WiFi, BlueTooth и камеры? Как определить работают ли они? Вот не вижу никакого намёка на Bluetooth в списке устройств, выдаваемого в lshw:

$ sudo lshw -short H/W path Device Class Description ================================================== system K73BY () /0 bus K73BY /0/0 memory 64KiB BIOS /0/4 processor AMD E-350 Processor /0/4/5 memory 128KiB L1 cache /0/4/6 memory 1MiB L2 cache /0/26 memory 2GiB System Memory /0/26/0 memory DIMM Synchronous [empty] /0/26/1 memory 2GiB DIMM DDR3 Synchronous 1333 MHz (0,8 ns) /0/100 bridge Family 14h Processor Root Complex /0/100/4 bridge Family 14h Processor Root Port /0/100/4/0 display Caicos [Radeon HD 6400M/7400M Series] /0/100/4/0.1 multimedia Caicos HDMI Audio [Radeon HD 6400 Series] /0/100/11 scsi2 storage SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] /0/100/11/0 /dev/sda disk 500GB ST9500325AS /0/100/11/0/1 /dev/sda1 volume 4102MiB Linux swap volume /0/100/11/0/2 /dev/sda2 volume 30GiB Linux filesystem partition /0/100/11/0/3 /dev/sda3 volume 431GiB Linux filesystem partition /0/100/11/1 /dev/cdrom disk DVDRAM GT34N /0/100/11/1/0 /dev/cdrom disk /0/100/12 bus SB7x0/SB8x0/SB9x0 USB OHCI0 Controller /0/100/12.2 bus SB7x0/SB8x0/SB9x0 USB EHCI Controller /0/100/13 bus SB7x0/SB8x0/SB9x0 USB OHCI0 Controller /0/100/13.2 bus SB7x0/SB8x0/SB9x0 USB EHCI Controller /0/100/14 bus SBx00 SMBus Controller /0/100/14.1 storage SB7x0/SB8x0/SB9x0 IDE Controller /0/100/14.2 multimedia SBx00 Azalia (Intel HDA) /0/100/14.3 bridge SB7x0/SB8x0/SB9x0 LPC host controller /0/100/14.4 bridge SBx00 PCI to PCI Bridge /0/100/14.5 bus SB7x0/SB8x0/SB9x0 USB OHCI2 Controller /0/100/15 bridge SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0) /0/100/15/0 eth0 network RTL8111/8168B PCI Express Gigabit Ethernet controller /0/100/15.1 bridge SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1) /0/100/15.1/0 wlan0 network AR9285 Wireless Network Adapter (PCI-Express) /0/100/16 bus SB7x0/SB8x0/SB9x0 USB OHCI0 Controller /0/100/16.2 bus SB7x0/SB8x0/SB9x0 USB EHCI Controller /0/101 bridge Family 12h/14h Processor Function 0 /0/102 bridge Family 12h/14h Processor Function 1 /0/103 bridge Family 12h/14h Processor Function 2 /0/104 bridge Family 12h/14h Processor Function 3 /0/105 bridge Family 12h/14h Processor Function 4 /0/106 bridge Family 12h/14h Processor Function 6 /0/107 bridge Family 12h/14h Processor Function 5 /0/108 bridge Family 12h/14h Processor Function 7

Источник

Читайте также:  Linux пароль при запуске браузера

Enable Fn Keys On Your Asus EeePC and Ubuntu 10.04 And 10.10

It’s both nice and bad when I upgrade to a newer Ubuntu version. The good part is I have lots of posts material for the blog but the bad part is there’s always something on my main computer or netbook which doesn’t work out of the box and needs tweaking.

I really didn’t expect the Fn keys to work out of the box on my Asus EeePC 1005HA (so this method has only been tested for this Asus EeePC model, I don’t know if it works on others) and unfortunately I was right. However, the fix is very quick. Here’s what you have to do.

Notice: editing the Grub can be dangerous so be very careful not to change anything else!

To enable the Fn keys on an Asus EeePC 1005HA (possibly other models too) with Ubuntu 10.04 Lucid Lynx and 10.10 Maverick Meerkat, open a terminal and type:

sudo gedit /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Add acpi_osi=Linux to the end of the line, before the closing quote. Basically after you edit it, the line should look like this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux"

Once you’re done, save the file and run the following command:

Update: I’ve added «Ubuntu 10.10» to the title as this seems to work with the latest Ubuntu 10.10 Maverick Meerkat too (thanks to Howls in the comments for confirming this!)

Источник

Оцените статью
Adblock
detector