Lenovo ThinkPad T520: Difference between revisions

From ArchWiki
(Add language)
 
(62 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Lenovo]]
[[Category:Lenovo]]
[[zh-hans:Lenovo ThinkPad T520]]
[[zh-hans:Lenovo ThinkPad T520]]
{{Merge|Laptop/Lenovo}}
{| class="wikitable" style="float: right; margin-left: 0.5em;"
! Hardware !! PCI/USB ID !! Working?
|-
| Bluetooth || {{ic|0a5c:217f}} || {{Yes}}
|-
| Webcam || {{ic|04f2:b217}} || {{Yes}}
|-
| Ethernet || {{ic|8086:1502}} || {{Yes}}
|-
| rowspan="3" | WLAN (Intel) || {{ic|8086:0084}} || {{Yes}}
|-
| {{ic|8086:0085}} || {{Yes}}
|-
| {{ic|8086:4238}} || {{Yes}}
|-
| WLAN (Realtek) || {{ic|10ec:8176}} || {{Yes}}
|-
| WWAN || {{ic|0bdb:1911}} || {{Y|Untested}}
|-
| rowspan="2" | GPU (Intel) || {{ic|8086:0116}} || {{Yes}}
|-
| {{ic|8086:0126}} || {{Yes}}
|-
| GPU (NVIDIA) || {{ic|10de:1057}} || {{Yes}}
|-
| Touchpad || || {{Yes}}
|-
| Trackpoint || || {{Yes}}
|-
| Keyboard || || {{Yes}}
|-
| Fingerprint reader || {{ic|147e:2016}} || {{Y|Untested}}
|-
| Smart card reader || {{ic|17ef:1003}} || {{Y|Untested}}
|-
| rowspan="2" | SD card reader || {{ic|1180:e822}} || {{Y|Untested}}
|-
| {{ic|1180:e823}} || {{Yes}}
|-
| Audio || {{ic|8086:1c20}} || {{Yes}}
|}


== Installation ==
The larger 15-inch variant of the [[Lenovo ThinkPad T420]].


Installation worked without further setting adjustments.
== Accessibility ==
 
The appearance of the ThinkPad Setup program (i.e., the tool used to configure UEFI BIOS settings) is simple and uses contrasting colours, so it may work well with OCR software. A legend of keyboard navigation shortcuts is also clearly listed on the bottom of the screen.
 
{{Note|Blind users should request the help of a sighted person to change UEFI BIOS settings. Keyboard beeps in the ThinkPad Setup program are enabled by default but only happen when unmanageable/invalid key combinations are pressed.}}
 
The [[#See also|user guide]] has a section under Chapter 8, "Advanced configuration", titled "ThinkPad Setup" that highlights the steps need to configure the UEFI BIOS settings. Relevant keyboard shortcuts (including those needed to trigger certain features on device startup) are also mentioned throughout:
 
{| class="wikitable"
! Key !! Effect
|-
| {{ic|ThinkVantage}} || Interrupt normal startup and bring up the Startup menu
|-
| {{ic|F1}} || Start the ThinkPad Setup program
|-
| {{ic|F12}} || Bring up the Boot Menu window
|}
 
== Firmware ==
 
[[fwupd]] does not support this device yet.


== Graphics ==
== Graphics ==


The BIOS option Display->Graphics Device can be switched to these settings:
=== Selecting the graphics device ===
 
=== Integrated Graphics ===


Use this with the xf86-video-intel driver. The nvidia card will be turned off, which means that the system will consume less power and you will not have to worry about installing the nvidia drivers.  
(This section only applies if your laptop also comes with the NVIDIA graphics card.)


The integrated graphics is fast enough to run some older games.
Selecting a graphics device can be done by entering the ThinkPad Setup program and selecting one of the following options from ''Config > Display > Graphics Device'':
It is a good option if you do not use demanding 3D applications


A major disadvantage of this mode is that the DisplayPort will not work, because it is hardwired to the Nvidia card.
* ''Integrated Graphics''
* ''Discrete Graphics''
* ''NVIDIA Graphics''


=== Discrete Graphics ===
See [[Intel graphics]], [[NVIDIA]], and [[NVIDIA Optimus]] or [[Bumblebee]] for more details.


This will give you good consistent 3D performance in all applications, without having to worry about the complexities of bumblebee. It is also a good option if you want an easy way to connect and use a DisplayPort monitor.
{{Note|
* The [https://www.thinkwiki.org/wiki/DisplayPort#T420s_and_T520 DisplayPort will not work in Integrated Graphics mode] since it is hardwired to the NVIDIA graphics card. One of the other modes must be used to make the DisplayPort available.
* A maximum of one external monitor can be used in ''Discrete Graphics'' mode since the NVIDIA (discrete) graphics card can only drive two screens at most (including the laptop's built-in screen). ''NVIDIA Optimus'' can be selected instead for configurations with more than one external monitor.
* ''OS Detection for NVIDIA Optimus'' must also be set to ''Disabled'' if you want to use ''NVIDIA Optimus''.
}}


You will not get the power-savings of running from the intel-gfx and turning the discrete nvidia card off. Another disadvantage is that you cannot use this mode to run tripple-head with 2 external Monitors on VGA and DP. This is a hardware limitation, the discrete-nvidia and integrated-intel card can both only drive at most 2 different screens each.
=== Screen freeze in Discrete Graphics mode ===


=== NVidia Optimus ===
In ''Discrete Graphics'' mode, [[GRUB]]'s framebuffer can freeze the screen before the login prompt appears. [[GRUB/Tips and tricks#Disable framebuffer|Disabling the framebuffer]] resolves this issue.


If you choose this option, set "OS Detection for NVIDIA Optimus" BIOS Option to Disabled.
== Touchpad ==


See the [[Bumblebee]] page for details on how to use both cards with linux.
[[libinput]] does not support horizontal edge scrolling on the T520's touchpad.


== Using a dock ==
== Function keys ==


See [[dockd]].
{| class="wikitable"
! Key !! Visible?<sup>1</sup> !! Marked?<sup>2</sup> !! Effect
|-
| {{ic|Fn}} || {{Yes}} || {{No}} || {{ic|XF86Wakeup}}
|-
| {{ic|Fn+F2}} || {{Yes}} || {{Yes}} || {{ic|XF86ScreenSaver}}
|-
| {{ic|Fn+F3}} || {{Yes}} || {{Yes}} || {{ic|XF86Battery}}
|-
| {{ic|Fn+F4}} || {{Yes}} || {{Yes}} || {{ic|XF86Sleep}}
|-
| {{ic|Fn+F5}} || {{Yes}} || {{Yes}} || {{ic|XF86WLAN}}
|-
| {{ic|Fn+F6}} || {{Yes}} || {{Yes}} || {{ic|XF86WebCam}}
|-
| {{ic|Fn+F7}} || {{Yes}} || {{Yes}} || {{ic|XF86Display}}
|-
| {{ic|Fn+F8}} || {{Yes}} || {{Yes}} || {{ic|XF86TouchpadToggle}}
|-
| {{ic|Fn+F9}} || {{Yes}} || || {{ic|NoSymbol}}
|-
| {{ic|Fn+F12}} || {{Yes}} || {{Yes}} || {{ic|XF86Suspend}}
|-
| {{ic|Fn+PageUp}} || {{No}} || {{Yes}} || Toggles the ThinkLight
|-
| {{ic|Fn+Home}} || {{Yes}} || {{Yes}} || {{ic|XF86MonBrightnessUp}}
|-
| {{ic|Fn+End}} || {{Yes}} || {{Yes}} || {{ic|XF86MonBrightnessDown}}
|-
| {{ic|Fn+Space}} || {{No}} || {{Yes}} || None
|-
| {{ic|Fn+PrintScreen}} || {{Yes}} || {{Yes}} || {{ic|Alt_L}} {{ic|Alt_L+Sys_Req}}
|-
| {{ic|Fn+ScrollLock}} || {{Yes}} || {{Yes}} || {{ic|Num_Lock}}
|-
| {{ic|Fn+Pause}} || {{Yes}} || {{Yes}} || {{ic|Control_L+Break}}
|-
| {{ic|Fn+Down}} || {{Yes}} || {{Yes}} || {{ic|XF86AudioPlay}}
|-
| {{ic|Fn+Up}} || {{Yes}} || {{Yes}} || {{ic|XF86AudioStop}}
|-
| {{ic|Fn+Right}} || {{Yes}} || {{Yes}} || {{ic|XF86AudioNext}}
|-
| {{ic|Fn+Left}} || {{Yes}} || {{Yes}} || {{ic|XF86AudioPrev}}
|}


== Troubleshooting ==
# The key is visible to {{ic|xev}} and similar tools.
=== Screen freezes before login prompt when using discrete graphics ===
# The physical key has a symbol on it, which describes its function.


If you are using GRUB2 bootmanager, its framebuffer graphics mode
{{Note|Pressing {{ic|Fn+ScrollLock}} even once (to toggle Num Lock) will cause subsequent {{ic|Fn+ScrollLock}} key presses to become invisible to {{ic|xev}} and similar tools until the system is rebooted. }}
can cause problems later on in the boot process. See [[GRUB2#Disable framebuffer]]{{Broken section link}}.


You might also try to set the nomodeset kernel commandline flags:
{{Tip|Fn key lock can be enabled in the BIOS settings. When this option is enabled, pressing {{ic|Fn}} once keeps the key in a pressed condition, similar to [[wikipedia:sticky keys|sticky keys]]. Pressing {{ic|Fn}} twice will keep it in a locked stated until {{ic|Fn}} is pressed again.}}


[[Kernel mode setting#Disabling modesetting]]
== See also ==


Although, currently (Oct 2013, kernel 3.11.6), my T520 boots in "Discrete Graphics" mode only when i disable the GRUB2 framebuffer, but '''do not''' set  any of the nomodeset kernel options.
* https://www.thinkwiki.org/wiki/Category:T520 — Contains extensive and useful hardware information
* [https://psref.lenovo.com/syspool/Sys/PDF/withdrawnbook/ltwbook_2013.pdf#page=420 Product Specifications Reference (PSREF)] — See pages 420–431 for the ThinkPad T520, T520i
* [https://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles_pdf/t520_t520i_w520_hmm_en_0A60078_08.pdf Hardware maintenance manual]
* [https://download.lenovo.com/pccbbs/mobiles_pdf/t520_t520i_w520_ug_en.pdf User guide]

Latest revision as of 10:53, 8 December 2022

Hardware PCI/USB ID Working?
Bluetooth 0a5c:217f Yes
Webcam 04f2:b217 Yes
Ethernet 8086:1502 Yes
WLAN (Intel) 8086:0084 Yes
8086:0085 Yes
8086:4238 Yes
WLAN (Realtek) 10ec:8176 Yes
WWAN 0bdb:1911 Untested
GPU (Intel) 8086:0116 Yes
8086:0126 Yes
GPU (NVIDIA) 10de:1057 Yes
Touchpad Yes
Trackpoint Yes
Keyboard Yes
Fingerprint reader 147e:2016 Untested
Smart card reader 17ef:1003 Untested
SD card reader 1180:e822 Untested
1180:e823 Yes
Audio 8086:1c20 Yes

The larger 15-inch variant of the Lenovo ThinkPad T420.

Accessibility

The appearance of the ThinkPad Setup program (i.e., the tool used to configure UEFI BIOS settings) is simple and uses contrasting colours, so it may work well with OCR software. A legend of keyboard navigation shortcuts is also clearly listed on the bottom of the screen.

Note: Blind users should request the help of a sighted person to change UEFI BIOS settings. Keyboard beeps in the ThinkPad Setup program are enabled by default but only happen when unmanageable/invalid key combinations are pressed.

The user guide has a section under Chapter 8, "Advanced configuration", titled "ThinkPad Setup" that highlights the steps need to configure the UEFI BIOS settings. Relevant keyboard shortcuts (including those needed to trigger certain features on device startup) are also mentioned throughout:

Key Effect
ThinkVantage Interrupt normal startup and bring up the Startup menu
F1 Start the ThinkPad Setup program
F12 Bring up the Boot Menu window

Firmware

fwupd does not support this device yet.

Graphics

Selecting the graphics device

(This section only applies if your laptop also comes with the NVIDIA graphics card.)

Selecting a graphics device can be done by entering the ThinkPad Setup program and selecting one of the following options from Config > Display > Graphics Device:

  • Integrated Graphics
  • Discrete Graphics
  • NVIDIA Graphics

See Intel graphics, NVIDIA, and NVIDIA Optimus or Bumblebee for more details.

Note:
  • The DisplayPort will not work in Integrated Graphics mode since it is hardwired to the NVIDIA graphics card. One of the other modes must be used to make the DisplayPort available.
  • A maximum of one external monitor can be used in Discrete Graphics mode since the NVIDIA (discrete) graphics card can only drive two screens at most (including the laptop's built-in screen). NVIDIA Optimus can be selected instead for configurations with more than one external monitor.
  • OS Detection for NVIDIA Optimus must also be set to Disabled if you want to use NVIDIA Optimus.

Screen freeze in Discrete Graphics mode

In Discrete Graphics mode, GRUB's framebuffer can freeze the screen before the login prompt appears. Disabling the framebuffer resolves this issue.

Touchpad

libinput does not support horizontal edge scrolling on the T520's touchpad.

Function keys

Key Visible?1 Marked?2 Effect
Fn Yes No XF86Wakeup
Fn+F2 Yes Yes XF86ScreenSaver
Fn+F3 Yes Yes XF86Battery
Fn+F4 Yes Yes XF86Sleep
Fn+F5 Yes Yes XF86WLAN
Fn+F6 Yes Yes XF86WebCam
Fn+F7 Yes Yes XF86Display
Fn+F8 Yes Yes XF86TouchpadToggle
Fn+F9 Yes NoSymbol
Fn+F12 Yes Yes XF86Suspend
Fn+PageUp No Yes Toggles the ThinkLight
Fn+Home Yes Yes XF86MonBrightnessUp
Fn+End Yes Yes XF86MonBrightnessDown
Fn+Space No Yes None
Fn+PrintScreen Yes Yes Alt_L Alt_L+Sys_Req
Fn+ScrollLock Yes Yes Num_Lock
Fn+Pause Yes Yes Control_L+Break
Fn+Down Yes Yes XF86AudioPlay
Fn+Up Yes Yes XF86AudioStop
Fn+Right Yes Yes XF86AudioNext
Fn+Left Yes Yes XF86AudioPrev
  1. The key is visible to xev and similar tools.
  2. The physical key has a symbol on it, which describes its function.
Note: Pressing Fn+ScrollLock even once (to toggle Num Lock) will cause subsequent Fn+ScrollLock key presses to become invisible to xev and similar tools until the system is rebooted.
Tip: Fn key lock can be enabled in the BIOS settings. When this option is enabled, pressing Fn once keeps the key in a pressed condition, similar to sticky keys. Pressing Fn twice will keep it in a locked stated until Fn is pressed again.

See also