Sunday, April 3, 2016

xorg - How to get Lilliput USB monitor working?



Okay, I just got a Lilliput 7" USB Monitor:





(source: thinkgeek.com)



Unfortunately, I am having some trouble getting it to work in Ubuntu.



It is a DisplayLink device, so it should work in Ubuntu.



Here is the output of lsusb:





...
Bus 002 Device 007: ID 17e9:02a9 Newnham Research
...




I modified my xorg.conf file to accommodate the device.




# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@yellow) Fri Apr 9 11:51:21 UTC 2010

# nvidia-xconfig: X configuration file generated by nvidia-xconfig

# nvidia-xconfig: version 1.0 (buildmeister@builder58) Fri Mar 12 02:12:40 PST 2010

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "DisplayLinkScreen" 0 0
Screen 1 "Screen0" RightOf "DisplayLinkScreen"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection


Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"

EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"

Identifier "Monitor0"
VendorName "Unknown"
ModelName "LPL"
HorizSync 30.0 - 75.0
VertRefresh 60.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"

VendorName "Unknown"
ModelName "BenQ T705"
HorizSync 31.0 - 83.0
VertRefresh 56.0 - 76.0
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"

BoardName "GeForce 8400M GS"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8400M GS"
BusID "PCI:1:0:0"
Screen 1

EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"

Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"

Option "metamodes" "CRT: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

#################################################

Section "Files"
ModulePath "/usr/lib/xorg/modules"

ModulePath "/usr/local/lib/xorg/modules"
ModulePath "/usr/local/lib/xorg/modules/drivers"
EndSection

############### DisplayLink Stuff ###############
Section "Device"
Identifier "DisplayLinkDevice"
driver "displaylink"
Option "fbdev" "/dev/fb1"
EndSection


Section "Monitor"
Identifier "DisplayLinkMonitor"
EndSection

Section "Screen"
Identifier "DisplayLinkScreen"
Device "DisplayLinkDevice"
Monitor "DisplayLinkMonitor"
DefaultDepth 16

SubSection "Display"
Depth 16
Modes "800×480"
EndSubSection
EndSection


All I get is a green screen.



Any tips or advice would be appreciated!







Update: I discovered that X11 was having trouble finding the displaylink_drv.so module, so I fixed that. Then my XServer completely crashed. (Segmentation fault, I believe.)



Now I'm really confused.



It's actually working... and I all did was restore xorg.conf.backup. Weird. Oh well.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...