Lenovo ThinkPad W520
外观
GPT / MBR 分区表
我无法让最新版本的 BIOS 从 GPT 分区表启动。一旦我尝试了 MBR(gparted 中的 "msdos")分区表,一切都正常工作。
Wi-Fi 问题
- 随机断线
- 以 root 身份运行
dmesg | grep wlan0的输出将包含 "wlan0: deauthenticating from MAC by local choice (reason=3)" - 在 BIOS 中禁用 pci-express 的电源管理
- 以 root 身份运行
Nvidia Optimus 设置
Bumblebee
nVidia Optimus 与标准的 bumblebee 设置配合良好,使用专有的 NVIDIA 驱动程序。有关更多信息,请参阅 NVIDIA Optimus 文章。
多显示器
数字和模拟视频输出硬连接到 nVidia 芯片,因此在标准的 bumblebee 设置中不可用,因为 X 服务器由 Intel GPU 运行。与早期 Thinkpad W 型号不同,VGA 输出未连接到集成芯片。有几种变通方法可用。
使用 intel-virtual-output,只需少量调整即可很好地工作
$ intel-virtual-output -f
注意 -f 参数可防止其成为守护进程(从而更容易停止)
注意 从 nvidia-360 开始,nvidia-modeset 模块将阻止 bumblebee 正确卸载,必须先将其删除。
需要在 xorg.conf.d 中为 Intel 显卡启用虚拟输出。
20-intel.conf
Section "Device"
Identifier "intelgpu0"
Driver "intel"
Option "VirtualHeads" "2"
EndSection
另请参阅 Stackexchange,了解虚拟输出的故障排除
multiscreen_enable.sh
#!/bin/bash # Initializes Bumblebee for multi-screen functionality. #modprobe bbswitch # probably not needed optirun true intel-virtual-output #following line needs to be adapted to the according sceanrio xrandr --output LVDS1 --auto --pos 0x0 --output VIRTUAL8 --mode VIRTUAL8.740-1920x1200 --pos 1920x-60
multiscreen_term.sh
#!/bin/bash
# Initializes Bumblebee for multi-screen functionality.
xrandr --output VIRTUAL8 --off
xorg_process=$(ps aux | grep 'Xorg :8' | awk '{print $2}')
kill -15 $xorg_process
sleep 1
rmmod nvidia_modeset
sleep 1
rmmod nvidia
multiscreen_reinit.sh
#!/bin/bash # Restarts Bumblebee for multi-screen functionality. tee /proc/acpi/bbswitch <<<ON modprobe bbswitch modprobe nvidia-modeset optirun true intel-virtual-output xrandr --output LVDS1 --auto --pos 0x0 --output VIRTUAL8 --mode VIRTUAL8.740-1920x1200 --pos 1920x-60
为了让 nvidia 显卡识别外部显示器,必须将 /etc/bumblebee/xorg.conf.nvidia 默认配置文件中的某些行注释掉。
xorg.conf.nvidia
... # Option "UseEDID" "false" # Option "UseDisplayDevice" "none" ...
Ultranav - 指示杆和触摸板
指示杆和触摸板将开箱即用,但需要一些调整才能进行进一步配置。
- 通过在
xorg.conf.d中添加新配置来设置指示杆滚动。
20-trackpoint.conf
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
- 可以使用
/etc/udev/rules.d/中的 udev 规则来设置指示杆灵敏度和速度(添加规则将解决在指示杆未加载时未应用配置的问题,或者可以使用 wait-for,但其缺点是引导后一段时间指示杆的响应性会降低)
82-trackpoint.rules
# Set the trackpoint speed and sensitivity
ACTION=="add",SUBSYSTEM=="input",ATTR{name}=="TPPS/2 IBM TrackPoint",ATTR{device/sensitivity}="240"
- 在 安装 xf86-input-synaptics 后可以使用触摸板
其他
启动时 UDEV 超时问题
# dmesg | grep -i pci
udevd[169]: seq 1352 '/devices/pci0000:00/0000:00:1c.1/0000:03:00.0' killed
在 FS#27938 中有类似问题。
系统蜂鸣声
请参阅 PC speaker#Disabling the PC speaker。
屏幕亮度
video.use_native_backlight 默认启用,不幸的是,此设置对 W520 效果不佳,禁用它应该可以解决问题
video.use_native_backlight=0
在 X 会话中使用 NVIDIA 驱动程序时,以下 内核参数也可能对于背光控制正常工作是必需的
acpi_backlight=video
并创建文件
/usr/share/X11/xorg.conf.d/10-nvidia-brightness.conf
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro 1000M"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
使用 Thinkfan 进行风扇设置
默认的温度管理只允许有限的风扇速度。这不可避免地会导致过热,因为笔记本电脑设计为在高负载下以不受管制的风扇速度运行。
Thinkfan.conf
thinkfan.conf
Section hwmon /sys/devices/virtual/thermal/thermal_zone0/temp # Fan Temp1 Temp2 (0, 0, 35) (1, 30, 40) (2, 35, 45) (3, 40, 50) (4, 45, 55) (5, 50, 60) (6, 55, 65) (7, 60, 70) (127, 65, 32767) # last line is unregulated/max speed. Like this the Laptop will be ~ at 60 EndSection