The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Linux drivers?

    Discussion in 'Sager and Clevo' started by 12000Monkeys, Jun 27, 2017.

  1. 12000Monkeys

    12000Monkeys Notebook Enthusiast

    Reputations:
    0
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    6
    Hi guys!

    My first time on here. Awesome forum I have to say.
    A lot of great info! Nearly to much lol..
    I have tried to look for threads about linux drivers for Clevo laptops.
    Haven't found what I'm searching for.
    I just got my hands on a Clevo P670HS-G for a song.
    Installed Linux Mint 18.1.
    Everything seemed to work very nicely thank you, multiple steam
    games running beautiful, stuff starting lightning fast etc

    But, two problems:
    * Can not get my sound working
    * Can not get the keyboard back light working (or rather, it's
    stuck on blue)
    Other Fn commands work, like brightness.

    Any thoughts would be greatly appreciated!

    Thx and greetings
    Mikael
     
    chezzzz likes this.
  2. Prostar Computer

    Prostar Computer Company Representative

    Reputations:
    1,257
    Messages:
    7,426
    Likes Received:
    1,016
    Trophy Points:
    331
    Since Clevo does not support Linux, drivers have to come from either the community or the vendors (e.g. Realtek).

    Keyboard LEDs are controlled through the Clevo Control Center software. Not sure if there's a Linux community driven alternative to it yet.
     
    chezzzz likes this.
  3. saturnotaku

    saturnotaku Notebook Nobel Laureate

    Reputations:
    4,879
    Messages:
    8,926
    Likes Received:
    4,707
    Trophy Points:
    431
    There apparently is a Linux driver for the Realtek audio, but it requires some additional steps to install correctly. Link.

    Far as the keyboard backlighting, you're pretty much stuck unless some enterprising hacker has created a compatible program.
     
    chezzzz likes this.
  4. Prostar Computer

    Prostar Computer Company Representative

    Reputations:
    1,257
    Messages:
    7,426
    Likes Received:
    1,016
    Trophy Points:
    331
    I saw that, but couldn't for the life of me remember which exact audio codec this model used. Hopefully that's an applicable workaround. :vbsmile:
     
    chezzzz likes this.
  5. John@OBSIDIAN-PC

    John@OBSIDIAN-PC Company Representative

    Reputations:
    754
    Messages:
    2,265
    Likes Received:
    2,862
    Trophy Points:
    181
    Most of the linux distros i tried already include a kernel with support for the realtek audio card, if not you can just update the kernel.
    Now i noticed you said "for a song", are we talking about professional Audio? Because if so it makes no sense that you are using the Realtek card and not one decent External Audio Device. Well i´ll say more, if you really intend to use Linux for Professional Audio you should probably read about KXStudio and other professional audio setups. I´ve used RME hardware with Reaper DAW in Linux, fully loading my Windows VSTs, it will require some learning from your side but it actually works very good.

    My Linux machine:
    [​IMG]
     
    Vasudev, chezzzz and bloodhawk like this.
  6. 12000Monkeys

    12000Monkeys Notebook Enthusiast

    Reputations:
    0
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    6
    First of all, I have to say: Thank you people. Thx for fast answers and multiple tips!

    Mr OBSIDIAN.
    For a song.. I meant cheaply ;)
    That's what I did. I updated the kernel. It was as easy as that. Me being a bit redfaced.....
    Thanks John!
    My audio does work now.

    And also:
    Get it. Thanks mate!

    Regards
    Mikael
     
    chezzzz likes this.
  7. Mangix

    Mangix Notebook Guru

    Reputations:
    12
    Messages:
    69
    Likes Received:
    41
    Trophy Points:
    26
    Vasudev and chezzzz like this.
  8. chezzzz

    chezzzz Notebook Geek

    Reputations:
    16
    Messages:
    92
    Likes Received:
    65
    Trophy Points:
    26
    since the subject has been raised here ...perhaps you can, if not too much trouble, provide a short list of current Linux Distos that you have found thru your own experience to work quite well with Clevo laptops. this kind of helpful information would prove most invaluable to those of us on these forums who use Linux exclusively and are considering purchasing a Clevo in the not too distant future, and also for members here who currently have a Clevo and would like to install Linux on it.

    a couple of informative links about updating Kernel in Linux Mint :
    https://forums.linuxmint.com/viewtopic.php?t=241831

    https://forums.linuxmint.com/viewtopic.php?t=242909
     
    Last edited: Jun 27, 2017
    steberg likes this.
  9. Mangix

    Mangix Notebook Guru

    Reputations:
    12
    Messages:
    69
    Likes Received:
    41
    Trophy Points:
    26
    Any distro with a recent enough kernel. The Problem with Linux Mint is that it's build on top of Ubuntu LTS which contains a kernel and software that gets old real fast. The kernel is actually relevant for me since I refuse to install the cancer that is the Nvidia driver on Linux.

    I personally use Fedora but any distro not based on some LTS model should be good.
     
    steberg and chezzzz like this.
  10. 12000Monkeys

    12000Monkeys Notebook Enthusiast

    Reputations:
    0
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    6
    Still looking around. Is there anyone with some input?

    Mikael
     
    Last edited: Jul 11, 2017
  11. Mangix

    Mangix Notebook Guru

    Reputations:
    12
    Messages:
    69
    Likes Received:
    41
    Trophy Points:
    26
    The driver I linked to works fine
     
    12000Monkeys likes this.
  12. 12000Monkeys

    12000Monkeys Notebook Enthusiast

    Reputations:
    0
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    6
    Mangix. I really, really appreciate that yo take the time to talk to me and help me.
    My problem is, when I try to use the https://bitbucket.org/lynthium/clevo-xsm-wmi
    stuff I get this:
    xx@xxxx ~ $ cd module && make && sudo make install
    bash: cd: module: No such file or directory
    xx@xxxx ~ $ cd utility && qmake && make
    bash: cd: utility: No such file or directory

    I am a newbie... So if you can maybe help me over this hurdle?

    Mikael
     
  13. Mangix

    Mangix Notebook Guru

    Reputations:
    12
    Messages:
    69
    Likes Received:
    41
    Trophy Points:
    26
    Did you clone the git repo?
     
  14. 12000Monkeys

    12000Monkeys Notebook Enthusiast

    Reputations:
    0
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    6
    Thx for answering. I do not know what that is mate. If you want to help me you
    have to assume I am at year zero. And also. If you have the patience I will
    do my best to follow your lead
     
  15. Mangix

    Mangix Notebook Guru

    Reputations:
    12
    Messages:
    69
    Likes Received:
    41
    Trophy Points:
    26
    Vasudev likes this.
  16. 12000Monkeys

    12000Monkeys Notebook Enthusiast

    Reputations:
    0
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    6
    This is how much newbie I am...
    after
    sudo apt-get install git
    what do I do?
     
  17. 12000Monkeys

    12000Monkeys Notebook Enthusiast

    Reputations:
    0
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    6
  18. Mangix

    Mangix Notebook Guru

    Reputations:
    12
    Messages:
    69
    Likes Received:
    41
    Trophy Points:
    26
    run it in terminal
     
  19. 12000Monkeys

    12000Monkeys Notebook Enthusiast

    Reputations:
    0
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    6
    I did. and come as far as:
     
  20. 12000Monkeys

    12000Monkeys Notebook Enthusiast

    Reputations:
    0
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    6
    xx@xxxx ~/clevo-xsm-wmi $ cd module && make && sudo make install
    make -C /lib/modules/4.4.0-83-generic/build M=/home/kimi/clevo-xsm-wmi/module modules
    make[1]: Entering directory '/usr/src/linux-headers-4.4.0-83-generic'
    Building modules, stage 2.
    MODPOST 1 modules
    make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-83-generic'
    make -C /lib/modules/4.4.0-83-generic/build M=/home/kimi/clevo-xsm-wmi/module modules_install
    make[1]: Entering directory '/usr/src/linux-headers-4.4.0-83-generic'
    INSTALL /home/kimi/clevo-xsm-wmi/module/clevo-xsm-wmi.ko
    At main.c:222:
    - SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
    - SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
    sign-file: certs/signing_key.pem: No such file or directory
    DEPMOD 4.4.0-83-generic
    make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-83-generic'
    xx@xxxx ~/clevo-xsm-wmi/module $ cd utility && qmake && make
    bash: cd: utility: No such file or directory
    xx@xxxx ~/clevo-xsm-wmi/module $ sudo install -Dm755 clevo-xsm-wmi /usr/bin/clevo-xsm-wmi
    install: cannot stat 'clevo-xsm-wmi': No such file or directory
    xx@xxxx ~/clevo-xsm-wmi/module $
     
  21. Vasudev

    Vasudev Notebook Nobel Laureate

    Reputations:
    12,050
    Messages:
    11,278
    Likes Received:
    8,815
    Trophy Points:
    931
    You must disable secure boot in Linux specifically to get unsigned apps and drivers working. At least you must upgrade to linux kernel 4.8 to get improvements for your hardware.
    For using NVidia GPU you must disable SB and install proprietary driver from Launchpad.net
     
  22. Mangix

    Mangix Notebook Guru

    Reputations:
    12
    Messages:
    69
    Likes Received:
    41
    Trophy Points:
    26
    So module
    sudo apt-get install qtdeclarative5-dev
     
  23. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
    Hey there,

    You can use this driver for that.

    Tuxedo Computers also has Linux repositories (for Ubuntu and OpenSUSE) that can simplify setup, as shown here.

    I was able to achieve some success with the back light issue on the P751DM2-G chassis on Ubuntu by studying how the System76 Linux driver works, as shown here. It might help.
     
    Vasudev likes this.
  24. Vasudev

    Vasudev Notebook Nobel Laureate

    Reputations:
    12,050
    Messages:
    11,278
    Likes Received:
    8,815
    Trophy Points:
    931
    If you want creative SB audio to work perfectly disable secure boot and try this https://code.launchpad.net/~ubuntu-audio-dev/+archive/ubuntu/alsa-daily/+packages
     
    Dennismungai likes this.
  25. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
    Vasudev likes this.
  26. Vasudev

    Vasudev Notebook Nobel Laureate

    Reputations:
    12,050
    Messages:
    11,278
    Likes Received:
    8,815
    Trophy Points:
    931
    For me it works. I have creative SB Recon audio chip.
     
    Dennismungai likes this.
  27. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
    What version of Ubuntu are you on? You can confirm by running:

    lsb_release -a

    As of today, all packages built for Ubuntu 16.04LTS are broken, and have no built artifacts. We may have to wait a few days to see what else comes up.
     
  28. Vasudev

    Vasudev Notebook Nobel Laureate

    Reputations:
    12,050
    Messages:
    11,278
    Likes Received:
    8,815
    Trophy Points:
    931
    I used an older version of the deb file.
    Do you have Gdebi installed?
    I'm using Xubuntu 16.04.3 with 4.13 kernel
    Try this https://code.launchpad.net/~ubuntu-audio-dev/+archive/ubuntu/alsa-daily/+build/13722443
     
    Dennismungai likes this.
  29. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
    Vasudev likes this.
  30. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
    I was able to install the package, but I had to downgrade to the Linux 4.4 kernel to get the dkms module to build.

    However, the headset jack (ESS Sabre DAC option) is still not working. Still investigating.
     
  31. Vasudev

    Vasudev Notebook Nobel Laureate

    Reputations:
    12,050
    Messages:
    11,278
    Likes Received:
    8,815
    Trophy Points:
    931
    Use the latest kernel for best performance. I think you had dependency issues. Use Synaptic package manager and Click Mark All upgrades and hit Apply.