LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-06-2018, 03:45 AM   #1
melissa6969
LQ Newbie
 
Registered: Mar 2018
Location: Lyon in France
Distribution: Debian Sid Cinnamon & ArchLinux Cinnamon
Posts: 6

Rep: Reputation: Disabled
Question backlit keyboard shortcut does not work


Hi

since I've been on Linux it's impossible for me to control the lighting of my keyboard on my Toshiba Satellite p870 laptop.

With windows, there was a software (Toshiba Function Key Utility) that allowed to manage the backlighting via the FN + W shortcut (Azerty keyboard, I'm French)

In bios, there is an option that allows you to
* to turn the keypad off completely
* permanently turn on the keypad
* switch off the keypad after X seconds

Despite a great deal of research, I did not find any solution.

The return order
Code:
ls -l /sys/class/leds
gives me this
Quote:
total 0
lrwxrwxrwx 1 root root 0 5 mars 21:39 input4::capslock -> ../../devices/platform/i8042/serio0/input/input4/input4::capslock
lrwxrwxrwx 1 root root 0 5 mars 21:39 input4::numlock -> ../../devices/platform/i8042/serio0/input/input4/input4::numlock
lrwxrwxrwx 1 root root 0 5 mars 21:39 input4::scrolllock -> ../../devices/platform/i8042/serio0/input/input4/input4::scrolllock
lrwxrwxrwx 1 root root 0 5 mars 21:39 phy0-led -> ../../devices/pci0000:00/0000:00:1c.1/0000:08:00.0/leds/phy0-led
the command
Code:
xset led 3
and
Code:
xset -led 3
has no effect on keyboard backlighting.

this file
Quote:
/sys/class/leds/toshiba::illumination/brightness
does not exist......

the acpi=off in /etc/default/grub option triggers a black screen at startup.

Is there a way to manage backlighting with a keyboard shortcut??
using a script or something??
Since my first days on Linux, I've been looking for a solution, and I haven't found it yet... I really despair....

It's so convenient that kind of shortcut, it's something I miss so much.

My pc
Toshiba Satellite p870
Intel i7 3630qm
8 GB ram
SSD Crucial 200mx 250 GB
Hdd Toshiba 750 GB
Nvidia Gf 108

Operating system installed in Uefi
Debian Sid Cinnamon with Kernel 4.15
ArchLinux Cinnamon with Kernel-lts 4.14

you're my last hope.
hoping for answers.
thanks

Sorry for my bad English.
 
Old 03-07-2018, 02:30 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
https://duckduckgo.com/html?q=linux%...tellite%20p870
 
Old 03-07-2018, 12:22 PM   #3
melissa6969
LQ Newbie
 
Registered: Mar 2018
Location: Lyon in France
Distribution: Debian Sid Cinnamon & ArchLinux Cinnamon
Posts: 6

Original Poster
Rep: Reputation: Disabled
I've already searched, but I didn't find anything useful..
I've been searching regularly on the forums for a year and a half, and I'm still at the same point...
I need help or a script idea or something like that.

but thanks anyway
 
Old 03-07-2018, 01:23 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by melissa6969 View Post
I've already searched, but I didn't find anything useful..
sometimes that means that what you're looking for just isn't there.
sorry, but that's how it is with linux sometimes. not going to bed with hardware manufacturers can have downsides.
 
Old 03-07-2018, 04:02 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Try running this in the terminal as root. Before running that cmd replace the word sony with toshibia.

Code:
echo 1 > /sys/devices/platform/sony-laptop/kbd_backlight
https://www.linuxquestions.org/quest...r-linux-37085/
 
Old 03-08-2018, 11:46 AM   #6
melissa6969
LQ Newbie
 
Registered: Mar 2018
Location: Lyon in France
Distribution: Debian Sid Cinnamon & ArchLinux Cinnamon
Posts: 6

Original Poster
Rep: Reputation: Disabled
@Ztcoracat
no such case....
In Nemo, I did a search with the keywords
"" Backlight, illumination, kbd, toshiba, and led."
And the result is clear, all files and folders have nothing to do with keyboard backlighting.

@Ztcoracat and @ondoho
I set the backlight in the bios to turn the keypad off after 45 seconds of inactivity.
If Linux succeeds in reacting to the bios parameters, it is because the shortcut fN + w can work.
Especially since I noticed something.
when I press FN + any letter, the letter is well written (than tonight on Firefox, Mousepad, Libreoffice, or anywhere)
But if I press FN + w, the letter is not written, so the shortcut is still known...??
But it remains inactive, why.??
because the Toshiba Function Key Utility? software is missing.??
 
Old 03-08-2018, 07:45 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
What did the konsole return when you ran that cmd?

I don't think it's software that's missing I think it's a module.
There are hundreds of modules in the kernel, sorry I don't know which mod it is.
Maybe look in the config file for the kernel and look under light.

Quote:
But it remains inactive, why.??
I think it's because the module for the backlighting is missing or something that is associated with the backlighting it'self is not in the initialization script at start up.

I've had Slackware, Centos, Ubuntu and Fedora installed on my laptop and the backlight worked.
However, when I installed Linux Mint the backlight would only work if I ran that cmd as root each time at start up.

Quote:
all files and folders have nothing to do with keyboard backlighting.
That's why you have to create one like this I think:

Code:
/etc/modeprobe.d/sony-laptop.conf
Did you make a /etc/modeprobe.d/toshibia-laptop.conf?

Does the backlight come on during a fresh boot?
 
Old 03-09-2018, 03:03 AM   #8
melissa6969
LQ Newbie
 
Registered: Mar 2018
Location: Lyon in France
Distribution: Debian Sid Cinnamon & ArchLinux Cinnamon
Posts: 6

Original Poster
Rep: Reputation: Disabled
the creation of the toshiba file in /etc/modprobe. d doesn't change anything...

The backlight works from the pc boot, and stays on for 45 seconds before turning off (the settings I specified in the bios)
but the FN + w shortcut does not work on Linux.

looking a little bit, I came across this page of Linus Torvalds on Github, we see the different modules and we see a module toshiba_acpi
https://github.com/torvalds/linux/tr...s/platform/x86

and if we look at the composition of the module toshiba_acpi
https://github.com/torvalds/linux/bl...toshiba_acpi.c
we see on line 123 a report with illumination.

so then I looked for the kernel loaded modules with the command
Code:
lsmod | more
which gives me this whole list
Quote:
lsmod | more
Module Size Used by
ctr 16384 6
ccm 20480 9
fuse 118784 3
bbswitch 16384 0
uvcvideo 102400 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_core 45056 2 uvcvideo,videobuf2_v4l2
videodev 204800 3 uvcvideo,videobuf2_core,videobuf2_v4l2
media 45056 2 uvcvideo,videodev
nls_ascii 16384 1
nls_cp437 20480 1
vfat 20480 1
fat 77824 1 vfat
ip6t_REJECT 16384 1
nf_reject_ipv6 16384 1 ip6t_REJECT
hid_generic 16384 0
xt_hl 16384 22
usbhid 57344 0
ip6t_rt 16384 3
hid 131072 2 hid_generic,usbhid
arc4 16384 2
joydev 24576 0
nf_conntrack_ipv6 16384 7
nf_defrag_ipv6 36864 1 nf_conntrack_ipv6
ipt_REJECT 16384 1
nf_reject_ipv4 16384 1 ipt_REJECT
xt_limit 16384 1
xt_tcpudp 16384 18
xt_addrtype 16384 4
snd_hda_codec_hdmi 57344 1
nf_conntrack_ipv4 16384 7
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
xt_conntrack 16384 14
intel_rapl 24576 0
snd_hda_codec_realtek 106496 1
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
ip6table_filter 16384 1
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
ip6_tables 32768 1 ip6table_filter
coretemp 16384 0
iwldvm 155648 0
rtsx_pci_sdmmc 28672 0
kvm_intel 229376 0
rtsx_pci_ms 20480 0
nf_conntrack_netbios_ns 16384 0
mmc_core 167936 1 rtsx_pci_sdmmc
mac80211 798720 1 iwldvm
memstick 16384 1 rtsx_pci_ms
kvm 700416 1 kvm_intel
irqbypass 16384 1 kvm
nf_conntrack_broadcast 16384 1 nf_conntrack_netbios_ns
iTCO_wdt 16384 0
nf_nat_ftp 16384 0
crct10dif_pclmul 16384 0
nf_nat 36864 1 nf_nat_ftp
snd_hda_intel 45056 3
crc32_pclmul 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
nf_conntrack_ftp 20480 1 nf_nat_ftp
ghash_clmulni_intel 16384 0
iwlwifi 217088 1 iwldvm
snd_hda_codec 151552 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
intel_cstate 16384 0
nf_conntrack 155648 8 nf_conntrack_ipv6,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_broadcast,nf_nat_ftp,nf_conntra
ck_netbios_ns,xt_conntrack,nf_nat
libcrc32c 16384 2 nf_conntrack,nf_nat
snd_hda_core 94208 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
i915 1634304 15
efi_pstore 16384 0
xhci_pci 16384 0
sr_mod 28672 0
intel_uncore 131072 0
snd_hwdep 16384 1 snd_hda_codec
cdrom 69632 1 sr_mod
xhci_hcd 262144 1 xhci_pci
cfg80211 720896 3 iwlwifi,mac80211,iwldvm
drm_kms_helper 188416 1 i915
snd_pcm 118784 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
alx 53248 0
intel_rapl_perf 16384 0
psmouse 167936 0
ehci_pci 16384 0
rtsx_pci 65536 2 rtsx_pci_sdmmc,rtsx_pci_ms
snd_timer 36864 1 snd_pcm
efivars 20480 1 efi_pstore
pcspkr 16384 0
ehci_hcd 94208 1 ehci_pci
mdio 16384 1 alx
drm 458752 5 i915,drm_kms_helper
snd 94208 14 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda
_codec_realtek,snd_pcm
usbcore 290816 6 uvcvideo,usbhid,ehci_hcd,xhci_pci,xhci_hcd,ehci_pci
mei_me 45056 0
i2c_i801 28672 0
soundcore 16384 1 snd
i2c_algo_bit 16384 1 i915
usb_common 16384 1 usbcore
sg 36864 0
lpc_ich 28672 0
mei 106496 1 mei_me
mfd_core 16384 2 lpc_ich,rtsx_pci
shpchp 40960 0
toshiba_bluetooth 16384 0
rfkill 28672 4 toshiba_bluetooth,cfg80211
battery 20480 0
toshiba_haps 16384 0
ac 16384 0
wmi 28672 0
video 45056 1 i915
button 16384 1 i915
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
iptable_filter 16384 1
parport 57344 3 lp,parport_pc,ppdev
efivarfs 16384 1
ip_tables 28672 1 iptable_filter
x_tables 40960 12 ipt_REJECT,ip_tables,iptable_filter,xt_tcpudp,xt_limit,ip6t_REJECT,ip6table_filter,xt_addrtype,i
p6t_rt,xt_conntrack,ip6_tables,xt_hl
autofs4 49152 2
ext4 712704 3
crc16 16384 1 ext4
mbcache 16384 1 ext4
jbd2 118784 1 ext4
crc32c_generic 16384 0
fscrypto 32768 1 ext4
ecb 16384 0
sd_mod 53248 6
crc32c_intel 24576 7
ahci 40960 4
libahci 40960 1 ahci
aesni_intel 188416 6
aes_x86_64 20480 1 aesni_intel
crypto_simd 16384 1 aesni_intel
libata 274432 2 ahci,libahci
evdev 28672 12
cryptd 28672 3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper 16384 1 aesni_intel
serio_raw 16384 0
scsi_mod 253952 4 sd_mod,libata,sr_mod,sg
thermal 20480 0
fan 16384 0
and to better find it, I did this manipulation.
Code:
lsmod | more | grep "toshiba"
which gives me this as a result
Quote:
lsmod | more | grep "toshiba"
toshiba_bluetooth 16384 0
rfkill 28672 4 toshiba_bluetooth,cfg80211
toshiba_haps 16384 0
toshiba_haps :
is to protect the hard drive in case of a fall.
and bluetooth toshiba.
But I don't have toshiba_acpi, why...??
you need to install acpi packages..??
because I don't have any of them installed..??

I'm starting to run out of ideas.

Thank you very much.

Last edited by melissa6969; 03-09-2018 at 03:05 AM.
 
Old 03-12-2018, 05:11 PM   #9
melissa6969
LQ Newbie
 
Registered: Mar 2018
Location: Lyon in France
Distribution: Debian Sid Cinnamon & ArchLinux Cinnamon
Posts: 6

Original Poster
Rep: Reputation: Disabled
UP !!!
 
Old 03-12-2018, 05:18 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I read through the output of lsmod and didn't see anything remotely close to 'light' or a light module.

I'm sorry, I'm out of ideas too.
 
Old 03-13-2018, 02:51 PM   #11
melissa6969
LQ Newbie
 
Registered: Mar 2018
Location: Lyon in France
Distribution: Debian Sid Cinnamon & ArchLinux Cinnamon
Posts: 6

Original Poster
Rep: Reputation: Disabled
it does not matter, thank you.
I go to "abandon" the subject
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backlit keyboard doesn't work. horizn Slackware 6 12-13-2016 06:40 PM
[SOLVED] getting backlit keyboard to work ka0ttic Linux - Hardware 2 03-12-2014 03:30 PM
Can't get my keyboard shortcut to work (debian) SuperDude123 Linux - Newbie 3 09-20-2009 09:03 AM
Backlit LED Keyboard Problem Abomb Linux - Hardware 1 01-19-2006 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration