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 Server 由 Intel GPU 运行。与早期的 Thinkpad W 型号不同,VGA 输出未连接到集成芯片。有几种可用的解决方法。
使用 intel-virtual-output
效果很好,几乎不需要调整
$ intel-virtual-output -f
注意: -f 阻止它成为守护进程(因此更容易停止)
注意: 从 nvidia-360 开始,nvidia-modeset 模块将阻止 bumblebee 正常卸载,必须首先移除。
需要为 intel 显卡在 xorg.conf.d
中启用虚拟输出。
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" ...
另请参阅:Phoronix Nvidia Forums
Trackpoint 和触摸板开箱即用,但进一步配置需要进行一些调整。
- 通过在
xorg.conf.d
中添加新配置来设置 Trackpoint 滚动。
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
- Trackpoint 灵敏度和速度可以使用
/etc/udev/rules.d/
中的 udev 规则进行设置(add-rule 将解决在 Trackpoint 尚未加载时配置未应用的问题,或者可以使用 wait-for,但这会带来在启动后一段时间 Trackpoint 无响应的额外缺点)
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#禁用 PC 扬声器。
屏幕亮度
video.use_native_backlight
默认启用,但不幸的是,此设置对 W520 效果不佳,禁用它应该可以解决问题
video.use_native_backlight=0
以下 内核参数 也可能是必要的,以使背光控制在带有 NVIDIA 驱动程序的 X 会话中工作
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