我的电脑是 ThinkPad T480s,我使用的是 Ubuntu 18.04,在 Unity 上运行 lightdm。当鼠标和键盘插入扩展坞但未检测到 DisplayPort 时,我可以使用鼠标和键盘。当我插入它时,没有任何反应,xrandr 说:
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
Run Code Online (Sandbox Code Playgroud)
我在扩展坞中尝试了不同的 DisplayPort 电缆和端口。我也尝试过不同的显示器。我还尝试切换回默认的 GNOME 显示管理器,但这也不起作用。
这是我正在使用的坞站:https : //www.lenovo.com/us/en/accessories-and-monitors/docking/universal-cable-docks-usb/Thinkpad-USB-C-Dock/p/40A90090US
这是我的电脑:https : //www.lenovo.com/us/en/laptops/thinkpad/thinkpad-t-series/ThinkPad-T480s/p/22TP2TT480S
编辑:它突然开始工作。我重新启动了几次并尝试使用 VGA 而不是 DisplayPort,它奏效了。当我切换回 DisplayPort 时,一切正常。
我找到了适用于 Lenovo T480s、Ubuntu 19.04 和扩展坞 Thinkpad 135 W 的解决方案。
作为 root 用户在以下位置创建一个文件 20-displaylink.conf:
/usr/share/X11/xorg.conf.d/
Run Code Online (Sandbox Code Playgroud)
包含以下内容:
Section "Device"
Identifier "DisplayLink"
Driver "modesetting"
Option "PageFlip" "false"
EndSection
Run Code Online (Sandbox Code Playgroud)
步骤:
创建文件:
cd /usr/share/X11/xorg.conf.d/
touch 20-displaylink.conf
sudo nano 20-displaylink.conf
Run Code Online (Sandbox Code Playgroud)
粘贴内容
Section "Device"
Identifier "DisplayLink"
Driver "modesetting"
Option "PageFlip" "false"
EndSection
Run Code Online (Sandbox Code Playgroud)
然后
control + O
Run Code Online (Sandbox Code Playgroud)
保存
然后
control + x
Run Code Online (Sandbox Code Playgroud)
退出纳米。
然后重启即可生效。
继续使用“modesetting”驱动程序,并禁用页面翻转是必要的。
Displayport ubuntu 故障排除页面 https://support.displaylink.com/knowledgebase/topics/103927-troubleshooting-ubuntu
PS:我使用从 DVI(显示器)到 dport(坞站)的 IO 适配器。
| 归档时间: |
|
| 查看次数: |
13298 次 |
| 最近记录: |