Clevo P150EM/P170EM Sager NP9150/9170 backlit keyboard driver beta testers needed

Discussion in 'Linux Compatibility and Software' started by klystron34, Feb 17, 2013.

Thread Status:
Not open for further replies.
  1. klystron34

    klystron34 Notebook Enthusiast

    Reputations:
    0
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    15
    Like ALLurGroceries says, use insmod. So if you type "make" to build it just insmod clevo_wmi.ko in the same dir and it will insert. The keyboard should turn on all dark blue (default) at that point.

    From there, go into /sys/devices/platform/clevo_wmi/kbled and look at all the files. Try echo 1 > random
     
  2. Penguissimo

    Penguissimo Notebook Enthusiast

    Reputations:
    31
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    15
    Thanks!! I've got it successfully inserted and am happily playing around with the various colours and patterns that are available...seems to be working like a charm! How could I configure it so the kernel module loads automatically upon boot?

    Is it worth testing the 3.7 kernel even though I don't have Bluetooth? Could that provide anything useful towards solving the BT issues? I'd be glad to do so if so!
     
  3. klystron34

    klystron34 Notebook Enthusiast

    Reputations:
    0
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    15
    In my opinion it is not worth having you test anything until we figure out how to fix the issue.

    Glad the keyboard driver is working.

    You can configure the module to load upon boot but how you do that depends on your distribution. On gentoo, you edit /etc/conf.d/modules and add its name to the modules= line. You would have to install the module in the modpath. You could then until something more elegant is made put something in /etc/local.d to write the value you want upon bootup.

    You could write the scripts to handle value save/load on bootup while you are at it. :)

    Above applies to gentoo. I have very little experience with other distros.
     
  4. rugebiker

    rugebiker Newbie

    Reputations:
    0
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    5
    What up :)
    So I recently bought a sager np9170,., and I would love to change the colors on my keyboard :)
    i cloned your git repo and did "make",., what else do I need to do so I can change the colors? =/
    im running fedora 18 kernel: 3.7.8-202

    thanks!
     
  5. klystron34

    klystron34 Notebook Enthusiast

    Reputations:
    0
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    15
    Read the entire thread. :)

    From the directory:
    insmod clevo_wmi.ko

    The driver interface is in /sys/devices/platform/clevo_wmi/kbled

    You can try echo 1 > random
    Or echo XXX > left

    where X is 0 or 1

    Just play around that way.
     
  6. rugebiker

    rugebiker Newbie

    Reputations:
    0
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    5
    thanks! that made it :)

    everything works well under my laptop :D
    colors and everything cool!
    thanks a lot! :)

    now to look for a way to play blurays on linux.. :p
     
  7. klystron34

    klystron34 Notebook Enthusiast

    Reputations:
    0
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    15
    That's easy, too.

    VLC Blu-Ray

    Get the database here. Put it where it says it goes. You'll need libbluray libaacs and a player like vlc. VLC crashes a lot unless you use skins2 interface on my system. I was able to install this all using Gentoo's package manager. I am not sure what distro you use but it can be done. I have been watching the Soul Eater blu-rays with my wife with the laptop hooked up to the tv via hdmi with VLC.
     
  8. gflam

    gflam Notebook Enthusiast

    Reputations:
    37
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    5
    Been looking for this since I got my laptop last year! Very excited one question though I have a Malibal Lotus P150 SE would there be any problems because of this? It's built using the Clevo P150EM I'm not excellent with this linux stuff so just thought I'd ask to be safe. I'm running Ubuntu 12.04 LTS I can get you my specs if needed anyway looking forward to giving it a try!

    O and I ran this to check my kernel source which you said should be in /usr/src/linux
    ls /usr/src
    and my output was
    bbswitch-0.4.2 linux-headers-3.2.0-32
    linux-headers-3.2.0-23 linux-headers-3.2.0-32-generic
    linux-headers-3.2.0-23-generic linux-headers-3.2.0-33
    linux-headers-3.2.0-24 linux-headers-3.2.0-33-generic
    linux-headers-3.2.0-24-generic linux-headers-3.2.0-34
    linux-headers-3.2.0-25 linux-headers-3.2.0-34-generic
    linux-headers-3.2.0-25-generic linux-headers-3.2.0-35
    linux-headers-3.2.0-26 linux-headers-3.2.0-35-generic
    linux-headers-3.2.0-26-generic linux-headers-3.2.0-36
    linux-headers-3.2.0-27 linux-headers-3.2.0-36-generic
    linux-headers-3.2.0-27-generic linux-headers-3.2.0-37
    linux-headers-3.2.0-29 linux-headers-3.2.0-37-generic
    linux-headers-3.2.0-29-generic linux-headers-3.2.0-38
    linux-headers-3.2.0-30 linux-headers-3.2.0-38-generic
    linux-headers-3.2.0-30-generic linux-headers-3.3.6-030306
    linux-headers-3.2.0-31 linux-headers-3.3.6-030306-generic
    linux-headers-3.2.0-31-generic nvidia-current-304.64

    Is that bad?

    Also how can I tell if CONFIG_ACPI_WMI is enabled on my kernel?
     
  9. ALLurGroceries

    ALLurGroceries   Super Moderator

    Reputations:
    15,720
    Messages:
    7,144
    Likes Received:
    2,316
    Trophy Points:
    331
    You need to get your linux source package. And you will also need build-essential.
    Code:
    sudo apt get update && sudo apt-get install build-essential linux-source
    It will end up in /usr/src/linux-source-VERSION.tar.bz2

    Code:
    zgrep 'CONFIG_ACPI_WMI' /proc/config.gz
    or
    Code:
    grep 'CONFIG_ACPI_WMI' /boot/config-`uname -r`
    It should return m or y.
     
  10. gflam

    gflam Notebook Enthusiast

    Reputations:
    37
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    5
    Okay I know have the following where linux-source-3.2.0.tar.bz2 and linux-source-3.2.0 are both in my /usr/src/
    Code:
    george@george-P15xEMx:~$ ls /usr/src/
    bbswitch-0.4.2                  linux-headers-3.2.0-32-generic
    linux-headers-3.2.0-23          linux-headers-3.2.0-33
    linux-headers-3.2.0-23-generic  linux-headers-3.2.0-33-generic
    linux-headers-3.2.0-24          linux-headers-3.2.0-34
    linux-headers-3.2.0-24-generic  linux-headers-3.2.0-34-generic
    linux-headers-3.2.0-25          linux-headers-3.2.0-35
    linux-headers-3.2.0-25-generic  linux-headers-3.2.0-35-generic
    linux-headers-3.2.0-26          linux-headers-3.2.0-36
    linux-headers-3.2.0-26-generic  linux-headers-3.2.0-36-generic
    linux-headers-3.2.0-27          linux-headers-3.2.0-37
    linux-headers-3.2.0-27-generic  linux-headers-3.2.0-37-generic
    linux-headers-3.2.0-29          linux-headers-3.2.0-38
    linux-headers-3.2.0-29-generic  linux-headers-3.2.0-38-generic
    linux-headers-3.2.0-30          linux-headers-3.3.6-030306
    linux-headers-3.2.0-30-generic  linux-headers-3.3.6-030306-generic
    linux-headers-3.2.0-31          linux-source-3.2.0
    linux-headers-3.2.0-31-generic  linux-source-3.2.0.tar.bz2
    linux-headers-3.2.0-32          nvidia-current-304.64
    And then I got an m on your second command
    Code:
    george@george-P15xEMx:~$ zgrep 'CONFIG_ACPI_WMI' /proc/config.gz
    gzip: /proc/config.gz: No such file or directory
    george@george-P15xEMx:~$ grep 'CONFIG_ACPI_WMI' /boot/config-`uname -r`
    CONFIG_ACPI_WMI=m
    Does this mean I'm good to go?
     
Loading...
Thread Status:
Not open for further replies.

Share This Page