Package Details: chromebook_keyboard_backlight_driver 1.0r24.g39568fa-3

Git Clone URL: https://aur.archlinux.org/chromebook_keyboard_backlight_driver.git (read-only, click to copy)
Package Base: chromebook_keyboard_backlight_driver
Description: Keyboard backlight driver for various chromebook models
Upstream URL: https://github.com/corcoran/chromebook_keyboard_backlight_driver
Licenses: GPL
Conflicts: chromebook_keyboard_backlight_driver, chromebook_keyboard_backlight_driver-dkms
Provides: chromebook_keyboard_backlight_driver
Submitter: poppyschmo
Maintainer: poppyschmo
Last Packager: poppyschmo
Votes: 0
Popularity: 0.000000
First Submitted: 2016-01-20 07:07
Last Updated: 2020-06-19 06:19

Latest Comments

« First ‹ Previous 1 2

TomCruise9000 commented on 2016-04-23 13:10

Also some things to clarify: 1) On a fresh install, I was running Elementary OS based on Ubuntu 14.04 "Trusty Tahr") – and on kernel 3.19.XXX which should have worked. The late 2015 Toshiba CB I have worked flawlessly with Coolstar's custom ROM, but the Dell Lulu was having issues. CoolStar told me to upgrade the kernel from the general kernel to GalliumOS's customized kernel which is designed specifically for Chromebooks. After upgrading the kernel, the computer seems to be running fine. 2) When following pants.nu's guide for the Toshiba CB backlight drivers (which are the same or similar to the Dell Lulu), here is the correct information to type in. On lines 8 & 9, you should type:
sudo insmod chromeos_keyboard_leds.ko
sudo insmod chromebook_kb_backlight.ko

in my original post below, pants.nu website seemingly forgot to put in the .ko part.

"Download: http://www.pants.nu/~jmcminn/backlight-driver.tar.gz
tar zxvf backlight-driver.tar.gz
cd chromebook_keyboard_backlight_driver
make
sudo cp chromeos_keyboard_leds.ko chromebook_kb_backlight.ko /lib/modules/`uname -r`/kernel/drivers/platform/chrome/
sudo depmod -a
sudo insmod chromeos_keyboard_leds.ko
sudo insmod chromebook_kb_backlight.ko

sudo cp keyboard_brightness /usr/local/bin
sudo chmod u+s /usr/local/bin/keyboard_brightness

and also added "chromeos_keyboard_leds" and "chromebook_kb_backlight" to the end of /etc/modules so that they load automatically."

TomCruise9000 commented on 2016-04-23 13:04

Hey poppyschmo and funn – I too have a 2015 Lulu Dell Chromebook (celeron) – and had the same problem with the "full" Coolstar ROM/bios. I got the error: 'ERROR: could not insert 'chromebook_kb_backlight': No such device' whenever I tried adding Corcoran's Chromebook_keyboard_backlight_driver. What is noteworthy is that when I used John Lewis' bios (the one with the stupid developer screen on popup, and which I wanted to remove since the laptop battery dying resets broke the legacy boot into non-ChromeOS and forces you to re-enable it by going back into ChromeOS and typing "sudo crossystem dev_boot_usb=1 dev_boot_legacy=1"). Thus, coolstar's custom ROM is superior since it completely removes the dumb ChromeOS Developer screen at boot.

I think I got backlight keyboard working on the Dell Lulu, but not exactly sure why. Upgrading the kernel before installing the keyboard backlit drivers led to the computer not detecting the backlight keyboard device, but installing the keyboard backlit drivers THEN upgrading the kernel did.

Before upgrading the kernel, I followed instructions here btw: https://github.com/corcoran/chromebook_keyboard_backlight_driver for installing the chromebook pixel drivers for the backlit keyboard, but when I got to the "sudo insmod chromebook_kb_backlight.ko" part, I got error message: "insmod: ERROR: could not insert module chromebook_kb_backlight.ko: No such device." This seems to suggest to me that the computer wasn't recognizing it under the 3.19 kernel which is ODD because chromebook backlight driver should work on kernel >3.12.

I then also tried using the Toshiba Chromebook 2 backlight keyboard drivers here: http://www.pants.nu/~jmcminn/toshiba-2015-chromebook-linux.html

"Download: http://www.pants.nu/~jmcminn/backlight-driver.tar.gz
tar zxvf backlight-driver.tar.gz
cd chromebook_keyboard_backlight_driver
make
sudo cp chromeos_keyboard_leds.ko chromebook_kb_backlight.ko /lib/modules/`uname -r`/kernel/drivers/platform/chrome/
sudo depmod -a
sudo insmod chromeos_keyboard_leds
sudo insmod chromebook_kb_backlight

sudo cp keyboard_brightness /usr/local/bin
sudo chmod u+s /usr/local/bin/keyboard_brightness

and also added "chromeos_keyboard_leds" and "chromebook_kb_backlight" to the end of /etc/modules so that they load automatically."

Despite using Corcoran's and also the Toshiba CB2 compiled drivers – I still got an output of only phy0-led and was still getting the: 'ERROR: could not insert 'chromebook_kb_backlight': No such device'

ls /sys/class/leds outputted phy0-led
ls /sys/class/backlight outputs acpi_video0 intel_backlight

I'm not sure what did it but upgrading the kernel to GalliumOS's 4.1.14 custom kernel AFTER I tried installing Corcoran's chromebook drivers & the Toshiba CB2 miraculously detected the device. Let me repeat – what seemed to do the trick was upgrading the kernel to GalliumOS's 4.1.14 kernel AFTER I had done all of the above. When I reinstalled Linux, and upgraded the kernel to GalliumOS custom kernel, and THEN tried installing the backlight keyboard drivers, I still got the 'ERROR: could not insert 'chromebook_kb_backlight': No such device' issue which suggests that somewhere along the long that trying to install the backlight drivers on the current kernel before upgrading to the GalliumOS one makes it work. Not sure why, but an explanation on this would be appreciated.

How I got it working: 0) tried installing Corcoran's chromebook drivers under older kernel 1) http://apt.galliumos.org/pool/main/l/linux-upstream/ – Downloaded 5 GalliumOS Kernel files (there are 5 *_30_amd64.deb files, just get whatever latest version is there) then cd to the folder with those 5 .debs 2) ran sudo dpkg -i *.deb to update kernel and rebooted 3)  Finally, backlit keyboard activated (after binding Ctrl+F6 -> /usr/local/bin/keyboard_brightness down & Ctrl+F7 -> /usr/local/bin/keyboard_brightness up .

At this time, when I type in terminal: ls /sys/class/leds I get an output of chromeos::kbd_backlight phy0-led .

poppyschmo commented on 2016-04-21 02:13

I only get insert errors after kernel upgrades but before reinstalling the modules. And those usually say 'Exec format error,' not 'no such device.' One or two lulu folks have reported success with the driver (on the coreboot G+ page). They were likely not using a full-ROM BIOS, however, but the rw-legacy deal offered by John Lewis's script (just guessing here). Have you tried the alternate 'backlight' config, i.e., loading `chromeos_keyboard_bl.ko` rather than the default led? If not, you can just change `_bl` to '_leds' on line 30 of the PKGBUILD. If that fails, you can try the usual: asking upstream, fiddling with BIOS settings, etc. Good luck.

funn commented on 2016-04-20 08:43

'chromeos_keyboard_leds' module loads just fine, but 'chromebook_kb_backlight' fails with 'ERROR: could not insert 'chromebook_kb_backlight': No such device'
I'm on a Dell Chromebook 13 (Lulu) with coolstar full-rom bios.