[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input16



Hi,


Hoping that is it possible:

How to inject key stroke  or "button pressed" in /devices/platform/thinkpad_acpi/input/input16 ?



Website  https://xyproblem.info says I should tell what the original
problem is. It is `rfkill list` reporting "hard blocked", not being
enable to use WIFI,  `nmcli radio wifi` reporting "disabled".

Pressing "Function key with symbol of computer sending signal" has no
effect. Which could be caused by the horrible state of keyboard.
When keyboard is needed, is an USB-attached keyboard needed. Usual use
case of the laptop is "headless server, server with SSH access".

So I'm ask if 
  export KEYCODE=42
  echo $KEYCODE > /devices/platform/thinkpad_acpi/input/input16
could cause "wlan radio enable"? Or should KEYCODE be another magic number?



What also would be helpfull, is knowning if 

  echo 4242 > /devics/platform/laptop_chipset/input/input17

could change brightness (or another visible effect)


Regards Geert Stappers


Below some information from the original problem.


root@nero:~# dmesg | grep -e thinkpad -e iwlwifi -e rfkill
[    7.867099] thinkpad_acpi: ThinkPad ACPI Extras v0.26
[    7.867103] thinkpad_acpi: http://ibm-acpi.sf.net/
[    7.867106] thinkpad_acpi: ThinkPad BIOS 8QET54WW (1.15 ), EC unknown
[    7.867108] thinkpad_acpi: Lenovo ThinkPad X121e, model 304579G
[    7.870746] thinkpad_acpi: radio switch found; radios are disabled
[    7.870778] thinkpad_acpi: Tablet mode switch found (type: MHKG), currently in laptop mode
[    7.870815] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[    7.870817] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
[    7.952756] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is blocked
[    7.976749] thinkpad_acpi: rfkill switch tpacpi_wwan_sw: radio is blocked
[    7.978727] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one
[    7.979632] thinkpad_acpi: Console audio control enabled, mode: monitor (read only)
[    8.002749] thinkpad_acpi: Error probing battery 2
[    8.003148] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input16
[    8.397512] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[    8.405654] iwlwifi 0000:02:00.0: firmware: direct-loading firmware iwlwifi-1000-5.ucode
[    8.405864] iwlwifi 0000:02:00.0: loaded firmware version 39.31.5.1 build 35138 1000-5.ucode op_mode iwldvm
[    8.405909] iwlwifi 0000:02:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
[    8.658837] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[    8.658843] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[    8.658846] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[    8.658850] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Wireless-N 1000 BGN, REV=0x6C
[    8.676689] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
[    8.702522] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[    8.778160] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
root@nero:~# 


-- 
Silence is hard to parse


Reply to: