Difference between revisions of "Thinkpad W510"

From Blue-IT.org Wiki

(Samsung SSD)
(GOBI wan)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
== lenovo ...what are you doing ==
 +
--[[User:Apos|Apos]] ([[User talk:Apos|talk]]) 11:53, 7 March 2015 (CET)
 +
 +
THINKPAD ... lenovo, what are you doing with 20 years of usability design!
 +
Do not buy one of the xx40-Series thinkpads with new trackpoint / touchpad design of the 2014 / X1 Carbon model! In the 2015 Model it ist back.
 +
 +
Here is why:
 +
 +
* [https://www.youtube.com/watch?v=jb7p3VkQCOo Lenovo's new keyboard & trackpoint are awful and you're never getting your old one back!]
 +
* [https://www.youtube.com/watch?v=doEZMNXz1JY Classic Thinkpad vs. modern Lenovo Thinkpad redesign - thoughts.]
 +
 
== What I like ==
 
== What I like ==
 
* used and was fairly pricy, whcih gave me the ability to to some fancy stuff (SSD, Ram)
 
* used and was fairly pricy, whcih gave me the ability to to some fancy stuff (SSD, Ram)
Line 97: Line 108:
  
 
=== VDPAU ===
 
=== VDPAU ===
  sudo apt-get install livdpau-va-driver bvdpau-va-gl1 vainfo
+
  apt-get install vdpau-va-driver libvdpau1 libvdpau-va-gl1 vainfo vdpauinfo
  
 
For flashplayer:
 
For flashplayer:
 
  sudo mkdir /etc/adobe/ && sudo bash -c "echo 'EnableLinuxHWVideoDecode=1' >> /etc/adobe/mms.cfg"
 
  sudo mkdir /etc/adobe/ && sudo bash -c "echo 'EnableLinuxHWVideoDecode=1' >> /etc/adobe/mms.cfg"
 +
 +
 +
=== Gobi 2000 ===
 +
Copy over the following files for your provider (!)
 +
 +
* http://www.thinkwiki.org/wiki/Qualcomm_Gobi_2000#Firmware
 +
 +
ls /lib/firmware/gobi/
 +
 +
amss.mbn  apps.mbn  UQCN.mbn
 +
 +
Install the gobi-loader package.
 +
The gobi-loader is from standard ubuntu repository and not the one of the tlp repositories.
 +
 +
apt-get install gobi-loader
 +
If you have trouble, try the following (requires tlp):
 +
 +
#!/bin/bash
 +
#
 +
echo "Gobi 2000 loader ... start ..."
 +
 +
if LC_ALL=C nmcli -t -f TYPE,STATE dev | grep gsm
 +
then
 +
echo "start nm wwan ..."
 +
nmcli -t nm wwan on
 +
 +
# break
 +
 +
exit 1
 +
 +
else
 +
echo "unblock wwan via rfkill ..."
 +
rfkill unblock wwan
 +
 +
sleep 1
 +
 +
exit 1
 +
 +
fi
 +
  
  
Line 113: Line 164:
 
     Option        "NoLogo" "True"
 
     Option        "NoLogo" "True"
 
     Option        "RegistryDwords" "EnableBrightnessControl=1"
 
     Option        "RegistryDwords" "EnableBrightnessControl=1"
 +
    # Prevents: Together with CCSM-> OpenGl -> disable 'Sync to VBlank"
 +
    # solves Black border issue on nvidia:
 +
    # https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1292830
 +
    Option        "AddARGBGLXVisuals" "True"
 
  EndSection
 
  EndSection
  
Line 123: Line 178:
  
 
If you encounter the problems mentioned in this paragraph, it is likelely that your mainboard is out of order.
 
If you encounter the problems mentioned in this paragraph, it is likelely that your mainboard is out of order.
 +
 
--[[User:Apos|Apos]] ([[User talk:Apos|talk]]) 11:52, 11 March 2014 (CET)
 
--[[User:Apos|Apos]] ([[User talk:Apos|talk]]) 11:52, 11 March 2014 (CET)
  
 
'''[ NOT SOLVED]:''' Returned the EVO 840 and got a Samsung EVO 840 '''PRO'''.
 
'''[ NOT SOLVED]:''' Returned the EVO 840 and got a Samsung EVO 840 '''PRO'''.
Returned the '''PRO''', bought a Crucial M500 480 - system freezes.
+
 
 +
I returned the '''PRO''', bought a Crucial M500 480 - but the system still freezes.
  
 
* https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1266305
 
* https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1266305
 +
 
--[[User:Apos|Apos]] ([[User talk:Apos|talk]]) 09:45, 14 January 2014 (CET)
 
--[[User:Apos|Apos]] ([[User talk:Apos|talk]]) 09:45, 14 January 2014 (CET)
  
Line 136: Line 194:
  
 
So I did added some boot params and as time of writing a did freezes do occur, but not that many any more.
 
So I did added some boot params and as time of writing a did freezes do occur, but not that many any more.
 +
 
(--[[User:Apos|Apos]] ([[User talk:Apos|talk]]) 20:40, 5 January 2014 (CET))
 
(--[[User:Apos|Apos]] ([[User talk:Apos|talk]]) 20:40, 5 January 2014 (CET))
  

Latest revision as of 07:34, 17 September 2015

lenovo ...what are you doing

--Apos (talk) 11:53, 7 March 2015 (CET)

THINKPAD ... lenovo, what are you doing with 20 years of usability design! Do not buy one of the xx40-Series thinkpads with new trackpoint / touchpad design of the 2014 / X1 Carbon model! In the 2015 Model it ist back.

Here is why:

What I like

  • used and was fairly pricy, whcih gave me the ability to to some fancy stuff (SSD, Ram)
  • has the "old" keyboard style
  • only nvidia, don't need intel (hybrid graphics)
  • no fingerprint
  • umts
  • webcam
  • usb 3.0 (NEC)
  • 4 x 1.6 GHz (up to 2.8 GHz) - 8 Threads. That's more you'll ever need for real work. I mainly do virtualisation, programming, photo and office tasks.
  • 16 GB ram (four banks, up to 32GB)
  • 500 GB SSD Samsung Evo PRO - see, problems!

That's it folks. Work, don't play around!

Hardware

Model: 4391-E46 (CTO)

  • no bluethooth at this model - just added a tiny cheep bluethooth 4.0 dongle which works fine.
  • no wireless lan, but adding a gobi 2000 worked fine - everything was prepared.
# dmidecode -s bios-version && sudo dmidecode -s bios-release-date
6NET84WW (1.45 )
10/03/2012
# lspci
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1c.6 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 (rev 06)
00:1c.7 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 8 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GT216GLM [Quadro FX 880M] (rev a2)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35)
0d:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller (rev 01)
0d:00.1 System peripheral: Ricoh Co Ltd R5U2xx (R5U230 / R5U231 / R5U241) [Memory Stick Host Controller] (rev 01)
0f:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
17:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller (rev 01)
17:00.3 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller (rev 01)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
ff:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
ff:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
ff:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
ff:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
ff:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
ff:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
ff:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
ff:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
ff:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
ff:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
ff:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)


# lsusb
Bus 002 Device 017: ID 05c6:9205 Qualcomm, Inc. 
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
Bus 001 Device 016: ID 17ef:100a Lenovo ThinkPad Mini Dock Plus Series 3
Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Operation System

  • Working on Ubuntu 12.04 LTS
  • Updated to Ubuntu 13.10

Nvidia Quadro FX

VDPAU

apt-get install vdpau-va-driver libvdpau1 libvdpau-va-gl1 vainfo vdpauinfo

For flashplayer:

sudo mkdir /etc/adobe/ && sudo bash -c "echo 'EnableLinuxHWVideoDecode=1' >> /etc/adobe/mms.cfg"


Gobi 2000

Copy over the following files for your provider (!)

ls /lib/firmware/gobi/
amss.mbn  apps.mbn  UQCN.mbn

Install the gobi-loader package. The gobi-loader is from standard ubuntu repository and not the one of the tlp repositories.

apt-get install gobi-loader

If you have trouble, try the following (requires tlp):

#!/bin/bash
#
echo "Gobi 2000 loader ... start ..."

if LC_ALL=C nmcli -t -f TYPE,STATE dev | grep gsm
then
	echo "start nm wwan ..."
	nmcli -t nm wwan on

	# break

	exit 1

else
	echo "unblock wwan via rfkill ..."
	rfkill unblock wwan

	sleep 1

	exit 1

fi


X11

Problems with brightness-control with the nvidia card.

vim /etc/X11/xorg.conf
Section "Device"
    Identifier     "DefaultDevice"
    Option         "NoLogo" "True"
    Option         "RegistryDwords" "EnableBrightnessControl=1"
    # Prevents: Together with CCSM-> OpenGl -> disable 'Sync to VBlank" 
    # solves Black border issue on nvidia: 
    # https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1292830
    Option         "AddARGBGLXVisuals" "True" 
EndSection

Troubleshooting

Samsung SSD

[SOLVED]: The lenovo support changed the mainboard. A Crucial M500 480Gb is running fine.

If you encounter the problems mentioned in this paragraph, it is likelely that your mainboard is out of order.

--Apos (talk) 11:52, 11 March 2014 (CET)

[ NOT SOLVED]: Returned the EVO 840 and got a Samsung EVO 840 PRO.

I returned the PRO, bought a Crucial M500 480 - but the system still freezes.

--Apos (talk) 09:45, 14 January 2014 (CET)

I had real trouble with the EVO and PRO models and had to return the drive:

So I did added some boot params and as time of writing a did freezes do occur, but not that many any more.

(--Apos (talk) 20:40, 5 January 2014 (CET))

sudo vim /etc/default/grub
[...]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash libata.force=1:3.0G,2:1,5G libata.force=noncq"
[...]

Power supply not enough - use standard 135 W

Due to the components that rely on a lot of power in this laptop, an original 135 W power supply is needed! Do not use a power supply from another manufacture (no name). You will not succeed!

If you don't do this, the laptop components do not run at full speed!

Solution: None! Use the 135W power supply or run at battery power.

Ultrabay

Eject the ultrabay

http://www.thinkwiki.org/wiki/How_to_hotswap_Ultrabay_devices#Script_for_Ultrabay_eject

Create this script and run it as root!

Don't forget to alter the DEVICEPATH path at the beginning of the scrip according to your machine!.

udevadm info --query=path --name=/dev/sr0 | perl -pe 's!/block/...$!!'

Make the button for the DVD drive less sensitive

The problem is caused by udev

sudo cp /lib/udev/rules.d/60-cdrom_id.rules /etc/udev/rules.d/.

Uncomment the containing ENV{DISK_EJECT_REQUEST}

sudo vim /etc/udev/rules.d/60-cdrom_id.rules
# media eject button pressed
#ENV{DISK_EJECT_REQUEST}=="?*", RUN+="cdrom_id --eject-media $devnode", GOTO="cdrom_end"

Restart udev

 sudo service udev force-reload
 sudo service udev restart

You should emediately see, that the button.

Lock the device button

Lock:

eject -i on /dev/sr0

Unlock:

eject -i off /dev/sr0


Toggle script:

#!/bin/bash 

DEVICE="/dev/sr0"

if eject "${DEVICE}"
then
        eject -i on "${DEVICE}"
else
        eject -i off "${DEVICE}"
fi

Put this into startup:

#!/bin/bash
DEVICE="/dev/sr0"
eject -i on "${DEVICE}"