Kubuntu 14.04, inaktive FN Tastenkombinationen - toggle -

Falls du TLP nutzt, kannst du "bluetooth toggle" auf die Taster legen.
 
Hallo SammyHP,

das habe ich gelesen, nur wie mache ich das genau?
TLP habe ich installiert.

Wo wird was genau eingetragen?

Nimsiki fragte auch:

http://thinkpad-forum.de/threads/17...ombinationen?p=1803948&viewfull=1#post1803948

Eine Antwort habe ich nicht finden können.

Hinweis, meine Hardware ist definitiv in Ordnung, mit Kubuntu 12.04 habe ich die gewünschte FN+F5 Ein- und Ausschaltfunktion.

MfG

xsid








-----------------------------------
So war es 2011:

http://thinkpad-forum.de/threads/111128-Bluetooth-Debian-Squeeze-FN-F5-einschalten-auschalten
 
Zuletzt bearbeitet:
Mit KDE, der grafischen Oberfläche von Kubuntu kenne ich mich leider überhaupt nicht aus. Es muss irgendwo EInstellungen geben, wo du Tastenkombinationen Befehle zuweisen kannst. (Ich würde mal vermuten unter Einstellungen - Tastatur/Keyboard oder do ähnlich). Ach ja: Eigentlich sollte
Code:
bluetooth toggle
auch ohne sudo funktionieren.
 
Hallo zenox,

ohne "sudo" funktioniert es bei mir nicht:

Code:
bluetooth toggle
Error: missing root privilege.
bluetooth = off (software)

Woran könnte das liegen?

MfG

xsid
 
Da bin ich leider auch überfragt. Ich habe es bei mir ohne "sudo" ausprobiert und es ging. Linerunner kann dir da mit Sicherheit weiterhelfen. Aber ansonsten würde ich den Befehl in die /etc/sudoers Datei eintragen. Wie das geht kannst du hier im Ubuntu-Wiki lesen.
 
Hallo zenox,

welche Linuxdistribution benutzt Du?

MfG

xsid
 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1310248

Here's the awnser of the thinkpad_acpi module maintainer: https://<email address hidden>/msg05285.html

To summarize: The patch itself is technically correct and leads to the old behaviour. But he'd prefer not to apply the patch, because the event is already propagated through the thinkpad_acpi input device.

The input device is located at /dev/input/by-path/platform-thinkpad_acpi-event and toggling the switch twice raises the following events:

$ sudo input-events 6
/dev/input/event6
bustype : BUS_HOST
vendor : 0x17aa
product : 0x5054
version : 16641
name : "ThinkPad Extra Buttons"
phys : "thinkpad_acpi/input0"
bits ev : EV_SYN EV_KEY EV_MSC EV_SW

waiting for events
19:07:04.424098: EV_SW SW_RADIO 0
19:07:04.424098: EV_SYN code=0 value=0
19:07:05.982584: EV_SW SW_RADIO 1
19:07:05.982584: EV_SYN code=0 value=0

I haven't figured out yet, how I can make use of the input event device. There doesn't seem to be any scriptable daemon listening to it.

Alternativley one can use rfkill uevents via the udev daemon. A working rule could be:

SUBSYSTEM=="rfkill", ATTR{type}=="wlan", ENV{RFKILL_STATE}=="1", RUN+="/usr/local/bin/toggle-blue"

I guess this bug can be marked as invalid.

Hallo,

könnte hier die Lösung liegen?

MfG

xsid
 
Zuletzt bearbeitet:
Soweit ich mich erinnern kann, macht die udev-Regel keinen Unterschied zw. Hardware- und Softwareswitch.

Du kannst ja mal input-event-daemon ausprobieren.
Mit
Code:
[sudo?] ./input-event-daemon --monitor

die Events ermitteln. Config dann in etwa -nicht getestet, Vorhandensein von TLP (+udev) angenommen-:
Code:
[Global]
listen = /dev/input/by-path/platform-thinkpad_acpi-event

[Keys]
# FN+F5
WLAN = /usr/bin/bluetooth toggle

[Switches]
# hardware switch
RADIO:0 = /etc/acpi/thinkpad-radiosw.sh
RADIO:1 = /etc/acpi/thinkpad-radiosw.sh

Besonders zukuntfsträchtig ist die Lösung allerdings nicht, da der Autor das Programm anscheinend nicht mehr pflegt.
 
  • ok1.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen
Zurück
Oben