我有一个UGA-2K-A USB 2.0 转 DVI DisplayLink 图形适配器我正在尝试让它在 Ubuntu 13.10 上运行,以便将它连接到显示器。
首先,我确认软件包xserver-xorg-video-modesetting
已经安装。这是默认安装的。
接下来,我连接了图形适配器。dmesg
初始连接时的输出如下:
[ 4679.672775] usb 2-2: new high-speed USB device number 9 using xhci_hcd
[ 4679.690786] usb 2-2: device descriptor read/8, error -32
[ 4679.810714] usb 2-2: device descriptor read/8, error -32
[ 4680.025025] usb 2-2: new high-speed USB device number 10 using xhci_hcd
[ 4680.045611] usb 2-2: New USB device found, idVendor=17e9, idProduct=0378
[ 4680.045621] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4680.045626] usb 2-2: Product: Plugable UGA-2K-A
[ 4680.045631] usb 2-2: Manufacturer: DisplayLink
[ 4680.045634] usb 2-2: SerialNumber: 786492
[ 4680.097418] [drm] vendor descriptor length:22 data:22 5f 01 00 20 05 00 01 03 00 04
[ 4680.330439] udl 2-2:1.0: fb1: udldrmfb frame buffer device
[ 4680.330452] [drm] Initialized udl 0.0.1 20120220 on minor 1
[ 4680.330503] usbcore: registered new interface driver udl
我理解
udl 2-2:1.0: fb1: udldrmfb frame buffer device
暗示内核驱动程序已经绑定。
此时,设备上的 LED 未亮,并且连接到图形适配器的显示器未注册信号。
有关内核和 xrandr 的一些信息如下:
uname -r
3.11.0-18-generic
xrandr --version
xrandr program version 1.4.0
Server reports RandR version 1.4
xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x49 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 6 associated providers: 0 name:Intel
我重启了连接了显卡的电脑。dmesg
启动时的相关输出如下:
[ 2.118884] usb 2-2: new high-speed USB device number 3 using xhci_hcd
[ 2.138973] usb 2-2: New USB device found, idVendor=17e9, idProduct=0378
[ 2.138978] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.138980] usb 2-2: Product: Plugable UGA-2K-A
[ 2.138982] usb 2-2: Manufacturer: DisplayLink
[ 2.138984] usb 2-2: SerialNumber: 786492
[ 2.144629] [drm] Initialized drm 1.1.0 20060810
[ 2.149981] [drm] vendor descriptor length:22 data:22 5f 01 00 20 05 00 01 03 00 04
[ 2.262948] tsc: Refined TSC clocksource calibration: 2394.457 MHz
[ 2.290353] open /dev/fb0 user=0 fb_info=ffff88020e9e2800 count=1
[ 2.293046] [drm] write mode info 153
[ 2.293051] Console: switching to colour frame buffer device 210x65
[ 2.307012] usb 2-4: new full-speed USB device number 4 using xhci_hcd
[ 2.317593] udl 2-2:1.0: fb0: udldrmfb frame buffer device
[ 2.317595] udl 2-2:1.0: registered panic notifier
[ 2.317599] [drm] Initialized udl 0.0.1 20120220 on minor 0
[ 2.317628] usbcore: registered new interface driver udl
[ 2.324247] usb 2-4: New USB device found, idVendor=8087, idProduct=07dc
[ 2.324251] usb 2-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.491175] usb 2-5: new full-speed USB device number 5 using xhci_hcd
此时,设备上的 LED 亮起,并且连接到图形适配器的显示器记录信号(尽管图像是黑色的)。
的输出xrandr --listproviders
仍然如下:
Providers: number : 1
Provider 0: id: 0x49 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 6 associated providers: 0 name:Intel
我不知道下一步该做什么。根据论坛帖子,我可能需要将第二个图形设备从属于第一个,但我不知道该怎么做。我真的很感激一些指导。:) 谢谢!
答案1
虽然有时帧速率有点慢并且偶尔会出现显示尺寸识别错误,但它在 Ubuntu 14.04 中运行正常,因此升级是一种解决方案。