SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm looking to add a 3rd (and possibly 4th) monitor to my laptop. I currently have this running under Windows, but when booted to Slackware it doesn't see the USB VGA.
I have two USB/VGAs that identify themselves as Magic Control Technology (in `lsusb`):
idVendor 0x0711 Magic Control Technology Corp.
idProduct 0x5100 Magic Control Technology Corp. (USB2VGA dongle)
The case of one is labeled "SIIG USB 2.0 to VGA" and the other is labeled "J5 Create". Both return the same product ID in lsusb so I'm guessing that these vendors both use the MCT chipset.
Not sure I quite understand your comment. I can't really rephrase the question at this point. Do *you* know whether the linux kernel supports vga through USB? Since it appears that DisplayLink offers such a driver for Ubuntu (probably portable to Slackware), I would have to guess the answer is "yes" -- that is, if it *needs* to have kernel support. There might be other possibilities, but I'm not experienced enough with this to know.
When you say, "up to you to read about Dongle and slackware", are you referring to some article or resource you know about? If so, please share. I searched for "Dongle and slackware" and turned up plenty on WiFi and bluetooth, but nothing on VGA.
My objective is not to do any kernel programming or configuring Xorg or framebuffers -- I'm not proficient at that level. I'm asking whether anyone has done this with Slackware and, if so, what hardware, drivers, etc. they may have used. I'm interested in a solution where I can plug in the dongle, possible load driver(s), and possible modify config files. I'm not looking to *create* anything new.
Following the instructions there, I installed the dkms SBo package which is described as "Helper script for creating kernel modules.", then installed the DisplayLink driver. Output from that build is:
Code:
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.2.65 100%
DisplayLink Linux Software 1.2.65 install script called: install
/sbin/init: invalid option -- '-'
Usage: init {-e VAR[=VAL] | [-t SECONDS] {0|1|2|3|4|5|6|S|s|Q|q|A|a|B|b|C|c|U|u}}
which: no lsb_release in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/user/util/bin:/usr/lib/java/bin:/usr/lib64/kde4/libexec:/usr/lib64/libreoffice/program:/usr/lib64/qt/bin:/usr/share/texmf/bin)
WARNING: This is not an officially supported distribution.
Please use DisplayLink Forum for getting help if you find issues.
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
warning: Generating 12 missing index(es), please wait...
Building EVDI kernel module with DKMS
Installing EVDI kernel module to kernel tree
EVDI kernel module built successfully
./displaylink-installer.sh: line 255: lsb_release: command not found
Installing x64-ubuntu-1604/DisplayLinkManager
Installing libraries
Installing firmware packages
Installing license file
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
./displaylink-installer.sh: line 114: /lib/systemd/system/dlm.service: No such file or directory
chmod: cannot access '/lib/systemd/system/dlm.service': No such file or directory
ln: failed to create symbolic link '/lib/systemd/system-sleep/displaylink.sh': No such file or directory
I don't think I'm too concerned with the systemd stuff not being found as Slackware doesn't use systemd. The howto link gives instructions on manually starting this. I followed the post build instruction:
Code:
$ modprobe evdi
$ cd /usr/lib/displaylink
$ ./DisplayLinkManager & # mine was actually in opt/displaylink/DisplayLinkManager
So far, all that seemed to work OK. `lsmod` shows the evdi module. Next I'm supposed to run `xrandr --listproviders` to show the new displays, and here's where I've ground to a halt:
Code:
xrandr --listproviders
No protocol specified
Can't open display :0
I've tried several things I've found by searching (permissions ...), but nothing is working. This should work even without the DisplayLink mucking about, right? Can anyone advise on how to fix this? I've also tried `xrandr --q1 --listproviders`, `xrand --q12 --listproviders` and just `xrandr`. All return the same error.
more info ... I had tried that `xrandr` command logged in as a normal user, with su - to root. For the heck of it, I tried logging in as root. That did work. However, no additional providers were listed:
I'm back to this thread. I could not get anything going with the MTC driver. I did purchase a DisplayLink USB 2.0 VGA adapter. Some progress. I followed the instructions here: http://docs.slackware.com/howtos:hardware:displaylink, even using the same DisplayLink driver version as the author used (the more recent drivers gave errors when running the DisplayLinkManager program, and they all expected systemd). My output for installing is exactly like that on the webpage:
Code:
$ ./displaylink-driver-1.0.335.run
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.0.335 100%
DisplayLink Linux Software 1.0.335 install script called: install
Distribution discovered: "NAME=Slackware"
WARNING: Kernel version 4.4.38 is not supported. Highest supported version is 3.19.
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
Installing EVDI kernel module to kernel tree
EVDI kernel module built successfully
Installing x64/DisplayLinkManager
Installing libraries
Installing firmware packages
Installing license file
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
except I didn't get an "Unknown distribution" warning. I then started the driver per the instructions:
Code:
# modprobe evdi
# cd /usr/lib/displaylink
# ./DisplayLinkManager &
then ran the `$ xrandr --listproviders` command, and this time, finally it saw the 2nd display!
Not sure why I show 3 providers or what the --setprovideroutputsource actually does.
When I go to KDE Launcer > System Settings > Display Configurations, it does show the new monitor, sort of, but its grayed out.
Making progress, but I need some suggestions on what to try next.
Later ...
Actually, the display did finally show in KDE - first I got a "do you want to configure ..." dialog. I answered to "try automatically" whereupon I got a screen of 4 alternating green and purple horizontal stripes. Doing a manual config doesn't seem to help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.