You are not logged in.
Pages: 1
Hi,
The caps lock, the mute speaker and the mute microphone leds are not working on my T510 laptop. This is my professional laptop and my coworkers who run Debian or Ubuntu have no problem with them.
I've tried with xset and with setleds and it does not work either.
As anyone has an idea of what could be missing for those leds to work ?
Cedric Girard
Offline
When you load thinkpad_acpi check dmesg. It should have led control, and tell you which leds it detected. Then check (IIRC) /sys/devices/platform/thinkpad_acpi/leds
You need to install an RTFM interface.
Offline
Thanks but I don't see anything related to those leds in dmesg :
thinkpad_acpi: ThinkPad ACPI Extras v0.24
thinkpad_acpi: [url]http://ibm-acpi.sf.net[/url]/
thinkpad_acpi: ThinkPad BIOS 6MET49WW (1.12 ), EC 6MHT33WW-1.08
thinkpad_acpi: Lenovo ThinkPad T510, model 4384WC5
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
e1000e 0000:00:19.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
e1000e 0000:00:19.0: setting latency timer to 64
e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
thinkpad_acpi: detected a 8-level brightness capable ThinkPad
thinkpad_acpi: radio switch found; radios are enabled
thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
Registered led device: tpacpi::thinklight
Registered led device: tpacpi::power
Registered led device: tpacpi::standby
Registered led device: tpacpi::thinkvantage
thinkpad_acpi: Standard ACPI backlight interface available, not loading native one.
thinkpad_acpi: Console audio control enabled, mode: monitor (read only)
input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input4
Neither I found them in /sys/devices/platform/thinkpad_acpi/leds/
$ tree /sys/devices/platform/thinkpad_acpi/leds/
/sys/devices/platform/thinkpad_acpi/leds/
├── tpacpi::power
│ ├── brightness
│ ├── device -> ../../../thinkpad_acpi
│ ├── max_brightness
│ ├── power
│ │ ├── async
│ │ ├── control
│ │ ├── runtime_active_kids
│ │ ├── runtime_active_time
│ │ ├── runtime_enabled
│ │ ├── runtime_status
│ │ ├── runtime_suspended_time
│ │ ├── runtime_usage
│ │ ├── wakeup
│ │ └── wakeup_count
│ ├── subsystem -> ../../../../../class/leds
│ ├── trigger
│ └── uevent
├── tpacpi::standby
│ ├── brightness
│ ├── device -> ../../../thinkpad_acpi
│ ├── max_brightness
│ ├── power
│ │ ├── async
│ │ ├── control
│ │ ├── runtime_active_kids
│ │ ├── runtime_active_time
│ │ ├── runtime_enabled
│ │ ├── runtime_status
│ │ ├── runtime_suspended_time
│ │ ├── runtime_usage
│ │ ├── wakeup
│ │ └── wakeup_count
│ ├── subsystem -> ../../../../../class/leds
│ ├── trigger
│ └── uevent
├── tpacpi::thinklight
│ ├── brightness
│ ├── device -> ../../../thinkpad_acpi
│ ├── max_brightness
│ ├── power
│ │ ├── async
│ │ ├── control
│ │ ├── runtime_active_kids
│ │ ├── runtime_active_time
│ │ ├── runtime_enabled
│ │ ├── runtime_status
│ │ ├── runtime_suspended_time
│ │ ├── runtime_usage
│ │ ├── wakeup
│ │ └── wakeup_count
│ ├── subsystem -> ../../../../../class/leds
│ ├── trigger
│ └── uevent
└── tpacpi::thinkvantage
├── brightness
├── device -> ../../../thinkpad_acpi
├── max_brightness
├── power
│ ├── async
│ ├── control
│ ├── runtime_active_kids
│ ├── runtime_active_time
│ ├── runtime_enabled
│ ├── runtime_status
│ ├── runtime_suspended_time
│ ├── runtime_usage
│ ├── wakeup
│ └── wakeup_count
├── subsystem -> ../../../../../class/leds
├── trigger
└── uevent
16 directories, 56 files
$ tree /sys/class/leds/
/sys/class/leds/
├── mmc0:: -> ../../devices/pci0000:00/0000:00:1c.4/0000:0d:00.0/leds/mmc0::
├── tpacpi::power -> ../../devices/platform/thinkpad_acpi/leds/tpacpi::power
├── tpacpi::standby -> ../../devices/platform/thinkpad_acpi/leds/tpacpi::standby
├── tpacpi::thinklight -> ../../devices/platform/thinkpad_acpi/leds/tpacpi::thinklight
└── tpacpi::thinkvantage -> ../../devices/platform/thinkpad_acpi/leds/tpacpi::thinkvantage
5 directories, 0 files
Cedric Girard
Offline
As a temporary workaround I'm using ledmon to output caps and num lock status into xmobar.
I've added ledmon into AUR: http://aur.archlinux.org/packages.php?ID=45804
Cedric Girard
Offline
My mute speaker LED works. The microphone one does not. None of the buttons work under arch. I've been meaning to map them as a keybind to amixer, but haven't. Did yours autodetect? Do they work?
Offline
Here is the relevant part of my xbindkeysrc:
#LowerVolume
"amixer -q set Master 1- unmute"
m:0x0 + c:122
XF86AudioLowerVolume
#RaiseVolume
"amixer -q set Master 1+ unmute"
m:0x0 + c:123
XF86AudioRaiseVolume
#TouchpadToggle
"/bin/bash /home/cgirard/touchpad.sh"
m:0x0 + c:199
NoSymbol
And the corresponding touchpad.sh:
#!/bin/bash
if [ `synclient -l | grep TouchpadOff | gawk -F '= ' '{ print $2 }'` -eq 0 ];
then
synclient TouchpadOff=1
else
synclient TouchpadOff=0
fi
Cedric Girard
Offline
Pages: 1