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.

    Lenovo W520 owners & Linux

    Discussion in 'Lenovo' started by dimm0k, Jun 27, 2011.

  1. dimm0k

    dimm0k Notebook Consultant

    Reputations:
    145
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    30
    Information for this notebook coupled with Linux seems to be a little scarce, so I'm hoping we can get some interesting tidbits and tips going here in this thread.

    For the most part Slackware installed fine and everything looks to be working "out of the box", except one thing for me and that is the reading of the CPU temperature sensor. Currently running kernel 2.6.39.2 and I believe under /sys/devices/platform/thinkpad_hwmon there should be some listings that correspond to temps, but on my system there are none.
     
  2. lead_org

    lead_org Purveyor of Truth

    Reputations:
    1,571
    Messages:
    8,107
    Likes Received:
    126
    Trophy Points:
    231
  3. Thors.Hammer

    Thors.Hammer Notebook Enthusiast

    Reputations:
    982
    Messages:
    5,162
    Likes Received:
    33
    Trophy Points:
    216
    What's the best distro these days? Why slackware?
     
  4. Kaso

    Kaso Notebook Virtuoso

    Reputations:
    744
    Messages:
    3,546
    Likes Received:
    33
    Trophy Points:
    116
    ^^^ Best distro? :D Any distro is the best. Any release of any distro is the best. A Linux enthusiast's current obsession is the best.
     
  5. chenxiaolong

    chenxiaolong Notebook Geek

    Reputations:
    54
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    15
    A copy of my post from the massive owner's thread :D

    dimm0k:

    You should be able to get the temperatures using lm-sensors and the xsensors frontend to it. I don't have a W520 yet, but here is how to would set up lm-sensors:

    1. Install lm-sensors (could also be called lm_sensors). It should be either in the repository or on the SlackBuilds website.

    2. Run sensors-detect as root. Just answer yes to all the questions.

    3. When sensors-detect finishes, it will give you a list of kernel modules you need to load. For my computer (not W520), the modules were coretemp and sbs. To load them, you would run, as root:

    Code:
    #replace with your modules
    modprobe coretemp
    modprobe sbs
    If you want them to load at boot, just type in the modules in /etc/modules (one module per line).

    4. Now, just run xsensors and it should give you your motherboard/hard drive/CPU/etc temperatures.
     
  6. not.sure

    not.sure Notebook Evangelist

    Reputations:
    101
    Messages:
    480
    Likes Received:
    1
    Trophy Points:
    31
    thinkwiki is the best place to share info about linux on Thinkpads. Of course it depends on people updating it when they have new hardware....
     
  7. Renee

    Renee Notebook Virtuoso

    Reputations:
    610
    Messages:
    2,645
    Likes Received:
    0
    Trophy Points:
    55
    I'm all for what Lead_Org just asked.....

    Renee
     
  8. peepingtom

    peepingtom Notebook Enthusiast

    Reputations:
    0
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    5
  9. wolfindersteppe

    wolfindersteppe Notebook Enthusiast

    Reputations:
    10
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    15
    Confirmation that it works.
    I am running Ubuntu 11.04 64-bit with kernel 2.6.38-8-generic on my W520 and using GNOME HW Sensor Applet 2.2.7, installed the package sensor-applet direct from Synaptic, here the direct link to GNOME Sensors Applet Homepage.
    I am planing to upgrade to 2.6.39 kernel this weekend (in the hope to get the IntelHD 3000 GPU to work with external monitors) and will report back if the CPU sensoring is still working. On attached thumbnail you can see the t° running 2 VMWare VM with 7GB RAM and 3 FF instances, one of them running YouTube videos (aka our much beloved Flash ;-)).
    At the moment, if I run only on integrated GPU, I cannot connect to external monitores, neither from VGA nor from DispayPort nor from docking station. There are reports that the support for integrated IntelHD 3000 GPU is much better in the kernel 2.6.39, that I would like to test.
    Interesting is that also under W7 I cannot connect to external monitor attached to my docking station via VGA port but do not have time to investigate that since working primarly under Linux.
     

    Attached Files:

  10. wonwon

    wonwon Newbie

    Reputations:
    0
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    5
  11. chenxiaolong

    chenxiaolong Notebook Geek

    Reputations:
    54
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    15
    I think only the digital outputs are physically wired to the nVidia card. Not sure about VGA though.
     
  12. dimm0k

    dimm0k Notebook Consultant

    Reputations:
    145
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    30
    My reason for Slackware is because I wanted to learn Linux from the ground up. Learning how to do things at its most basic level, the command line, allows me to hopefully apply what I've learned in Slackware across any other distros I may encounter. The other distros these days seem to cater to people who want to use Linux at some level without the need or want to learn it.

    To some degree it is... The information provided there for when I had my W510 was useful and that was when the W510 first came out. If you look at the info for the W520, it's very basic with nothing too detailed.

    Have you had a chance to try this on the W520?
     
  13. dimm0k

    dimm0k Notebook Consultant

    Reputations:
    145
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    30
    Thanks chenxiaolong and wolfindersteppe for giving me hope! Under kernel 2.6.39.2 I believe I did run sensors-detect to probe and the result was that it could not find any modules for me to use. Will have to re-confirm under 2.6.39.2 with sensors-detect again, as well as maybe an earlier kernel to see if anything has changed.

    I do remember having some issues with 1.24/25 that involved ACPI not working properly in Linux, which was the reason I went to 1.22. This was also mentioned on someone's blog, but no specifics mentioned as to what exactly wasn't working other than the above mentioned statement. Hopefully the next BIOS will fix this issue...

    wolfindersteppe, which BIOS version are you currently using? I'm going to give Ubuntu a shot tonight to see if I can get the sensors recognized on my machine first and then work my way on through that.

    chenxiaolong, what distro are you running?
     
  14. chenxiaolong

    chenxiaolong Notebook Geek

    Reputations:
    54
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    15
    dimm0k: I'm currently running Debian sid/unstable with kernel 3.0-rc5 and also Arch Linux with kernel 2.6.29.
     
  15. Thors.Hammer

    Thors.Hammer Notebook Enthusiast

    Reputations:
    982
    Messages:
    5,162
    Likes Received:
    33
    Trophy Points:
    216
    My first slackware experience was in 1995 I think.
     
  16. dimm0k

    dimm0k Notebook Consultant

    Reputations:
    145
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    30
    I installed sensors-applet under a Ubuntu 11.04 64-bit Live CD, but am not able to get the same display as you. At most I can get the HDD temp and only one other temp, which looks like it might be the CPU? What temps are you able to pull off because in your screenshot there's a total of 6 readings!

    Also wonder what BIOS version you have and if the one I'm using, 1.22, is missing some readings that would give me what you see on yours.
     
  17. skarland

    skarland Notebook Enthusiast

    Reputations:
    0
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    5
    I got a raid 1 setup. I have hard time to install ubuntu 11.04 64 bit. It just won't boot the ubuntu.