Trying to get USB connected VGA to work on Linux/Ubuntu
I have a HP 2000 Notebook PC running Ubuntu 14.04.3. I have an external monitor and 2 USB/VGA connected monitors, one is a SIIG USB VGA and the other is J5create USB Display Adapter (athough I think they might have the same internals). Both work on Windows giving me 4 monitors. On Ubuntu, only the normal external VGA works, the USB VGAs do not.
I've searched and have found mostly "not implemented for Linux", though with all the Linux propeller-heads out there it's hard to believe no one has a desire for a half-dozen or so monitors all at once! I did get this sort-of working with a lot of help on Slackware with a Displaylink USB 2.0 VGA, but at least I had a green screen to start with indicating that the OS was recognizing something. Any ideas/solutions out there? My lsusb is below. I believe the USB/VGAs are devices 001:006 and 001:003 Code:
$ lsusb |
Doesn't look promising I'm afraid. A quick google of the chipset turns up limited and dated information, including this...
http://ubuntuforums.org/showthread.php?t=1842213 The sisusbvga driver supports a limited number of chipsets, but not 0711:5100 unfortunately Code:
modinfo sisusbvga |
Well, that's too bad. That thread you posted is from 2011. I guess not much progress on this since then. With all the esoteric devices people have gotten running in Linux, you would think multiple monitors would be at the top of the list. I'll keep my eye on it. Meanwhile, I guess Windows & will be my development workstation of choice, unfortunately.
|
We had a thread about 0711:5100 lately here. It is still not supported by kernel driver, however, there are reports if you add 0711:5100 to the kernel sources by hand it will work.
|
Quote:
Pointers? |
In kernel source directory edit drivers/usb/misc/sisusbvga/sisusb.c. At the end of this file you will see USB ID's the driver is supposed to work with:
Code:
static const struct usb_device_id sisusb_table[] = { |
I'll give it a try and report back. Seems too easy. What am I missing? If all that's needed us to add one line to one module why wouldn't someone have done this years ago?
|
Because the author of this driver didn't feel this particular device is properly supported by his code. You add it, you are in your own.
|
Well, I can (hopefully) revert to a previous kernel if it doesn't work. If I'm really bored one day, I can look through the code and see if there are things I can tweak.
Another question ... I've downloaded and built a new kernel according to your suggestion and according to the instructions in https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel. Everything went smoothly. When finished I had the following .deb files created: -rw-r--r-- 1 root root 16813850 Nov 7 16:30 linux-image-3.19.0-32-generic_3.19.0-32.37~14.04.1_amd64.deb -rw-r--r-- 1 root root 38392766 Nov 7 16:31 linux-image-extra-3.19.0-32-generic_3.19.0-32.37~14.04.1_amd64.deb -rw-r--r-- 1 root root 871582 Nov 7 16:31 linux-headers-3.19.0-32-generic_3.19.0-32.37~14.04.1_amd64.deb -rw-r--r-- 1 root root 151264 Nov 7 16:31 linux-tools-3.19.0-32-generic_3.19.0-32.37~14.04.1_amd64.deb -rw-r--r-- 1 root root 151182 Nov 7 16:31 linux-cloud-tools-3.19.0-32-generic_3.19.0-32.37~14.04.1_amd64.deb The author of that link mentions most of these except the cloud deb. I'm not really interested in cloud stuff, but I'm not sure I can omit that deb from the next step: `dpkg -i linux*3.19.0-32-*.deb. I've searched the net and can find plenty of "how to install" for cloud tools, but nothing actually describing what they are and what they do. Do you know what they are, or where I can find info on them? Do you think I can omit installing the *cloud*.deb, or might that break the kernel installation? (I do not have any "cloud" package currently installed) |
You need linux-image for sure, maybe linux-image-extra (is this where new module is?), rest is not required to boot and run the box.
|
Well, I was worried about dependencies (and probably still should be) so I did the dpkg on all the deb's. The linux-tools and linux-cloud-tools had additional dependencies with linux-lts-vivid-tools-3.19.0-32 and did not install. No problem (I thought).
I rebooted ... Ubuntu/Debian does things differently than Slackware. With Slackware, I had to copy the newly created kernel into /boot and add it to /etc/lilo.conf. Ubuntu seems to have update *all* the files in /boot: Code:
w-r--r-- 1 root root 178680 Mar 12 2014 memtest86+_multiboot.bin Ubuntu Ubuntu, with Linux 3.19.0-32-generic Ubuntu, with Linux 3.19.0-32-generic (recovery mode) Memory test (memtest86+) Windows 7 (loader) (on /dev/sda1) Windows 7 (loader) (on /dev/sda2) This is exactly the same as before (old /boot/grub/grub.cfg is the same as the new one). On my Cinnamon panel is a red circle with white horizontal line. Clicking on that gives me the message: Quote:
Perhaps I've bitten off more than I can chew. At least I have a backup. Suggestions? Can you decode that message for me and tell me what `apt-get` option I should use and/or what the 'right-click menu' is, or what the "Package Manager" is? |
Better explaining than I can do. I am on AntiX which is not ubuntu.
http://nerdsngeeks.net/fix-error-broken-count-0-ubuntu/ |
Suspecting that maybe the linux-tools and linux-cloud not installing were the source of the dependency error, I installed their missing dependencies, then `dpkg -i linux-tools-3.19.0-32-generic_3.19.0-32.37~14.04.1_amd64.deb linux-cloud-tools-3.19.0-32-generic_3.19.0-32.37~14.04.1_amd64.deb`. That did get rid of the red-circle error.
However, nothing indicating the 0711:5100 Magic Control Technology Corp. USB2VGA is detected. I expected to possibly see it in the System Settings > Display > Detect Display. Any last thoughts before I rip this all out and restore back to the old kernel(s)? Also, given the list of USBVGA IDs in that sisusb.c module, is there a way to determine what manufacturers and models these correspond to? My simplest solution might be to just buy a supported adapter. |
The module may not load automatically, try with modprobe.
|
OK, will try that. What about the deal with all my existing kernels showing on the grub boot menu getting clobbered by the new build? Isn't there a way to save the old kernel ... in case?
|
All times are GMT -5. The time now is 06:23 AM. |