Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source

Reply
 
Thread Tools Search this Thread Display Modes
Old 08-26-2015, 08:22 PM   #1
stuguy909
Member
 
Join Date: Aug 2015
Posts: 37
Default

I was reading the other post about the gentleman with the custom display-link driver for debian 8.1. His installer seems to have started the dlm service, where as, mine did not. I do not appear to have DLM in my services list.

Code:
# service --status-all
 [ + ]  acpid
 [ - ]  alsa-utils
 [ - ]  anacron
 [ + ]  atd
 [ + ]  avahi-daemon
 [ + ]  bluetooth
 [ - ]  bootlogs
 [ - ]  bootmisc.sh
 [ - ]  checkfs.sh
 [ - ]  checkroot-bootclean.sh
 [ - ]  checkroot.sh
 [ + ]  console-setup
 [ + ]  cron
 [ - ]  cryptdisks
 [ - ]  cryptdisks-early
 [ + ]  dbus
 [ + ]  ebtables
 [ + ]  exim4
 [ + ]  hdparm
 [ - ]  hostname.sh
 [ - ]  hwclock.sh
 [ + ]  kbd
 [ + ]  kdm
 [ + ]  keyboard-setup
 [ - ]  killprocs
 [ + ]  kmod
 [ + ]  libvirt-guests
 [ + ]  libvirtd
 [ - ]  lvm2
 [ - ]  motd
 [ - ]  mountall-bootclean.sh
 [ - ]  mountall.sh
 [ - ]  mountdevsubfs.sh
 [ - ]  mountkernfs.sh
 [ - ]  mountnfs-bootclean.sh
 [ - ]  mountnfs.sh
 [ + ]  network-manager
 [ + ]  networking
 [ + ]  nfs-common
 [ + ]  openvpn
 [ - ]  pppd-dns
 [ + ]  procps
 [ ? ]  qemu-system-x86
 [ + ]  rc.local
 [ - ]  rmnologin
 [ + ]  rpcbind
 [ + ]  rsyslog
 [ + ]  saned
 [ - ]  sendsigs
 [ + ]  speech-dispatcher
 [ + ]  ssh
 [ - ]  sudo
 [ + ]  udev
 [ + ]  udev-finish
 [ - ]  umountfs
 [ - ]  umountnfs.sh
 [ - ]  umountroot
 [ - ]  unattended-upgrades
 [ + ]  urandom
 [ ? ]  vboxautostart-service
 [ + ]  vboxballoonctrl-service
 [ + ]  vboxdrv
 [ + ]  vboxweb-service
 [ - ]  x11-common
 [ + ]  xen
 [ + ]  xendomains
Edit: Upon further research. This is a common occurrence because the install script only supports Ubuntu and its /lib/system.d/system hierarchy. There are work-arounds available. Searching....

Last edited by stuguy909; 08-26-2015 at 09:04 PM.
stuguy909 is offline   Reply With Quote
Old 08-26-2015, 09:36 PM   #2
stuguy909
Member
 
Join Date: Aug 2015
Posts: 37
Default found work around, sort of.

A temporary work around to at least get a step further in the process:

run the displaylink-driver-1.0.68.run file with the --keep --noexec options to unpack the files into a directory. cd into that driver directory. edit the displaylink-installer.sh file. Edit the line with SYSTEMINITDAEMON= to be SYSTEMINITDAEMON=systemd

run

Code:
displaylink-installer.sh -install
With my symbolic link work around and editing this file, the driver installs and dlm is installed and started. HOWEVER, on my computer, my system crashed. After reboot, I am unable to start the displaylink.service because it is masked.

Code:
# systemctl start displaylink.service
Failed to start displaylink.service: Unit displaylink.service is masked.
Edit: kicked off:

Code:
# systemctl -a
UNIT                                                                        LOAD      ACTIVE   SUB       DESCRIPTION
● display-manager.service                                                     not-found inactive dead      display-manager.service

Last edited by stuguy909; 08-26-2015 at 09:40 PM. Reason: More troubleshooting
stuguy909 is offline   Reply With Quote
Old 08-27-2015, 11:35 AM   #3
guerrierk
Junior Member
 
Join Date: Jul 2015
Posts: 21
Default

Hi stuguy909,

Could you post results for
# dmesg
# lsusb

when your display is connected please.

Thx.

PS : I test on another system and I had to blacklist udlfb to work correctly (it's not done by the installer). I have specify it into /etc/modprobe.d/blacklist-framebuffer.conf
Code:
blacklist udlfb
I will update my installer and re-upload it.

Last edited by guerrierk; 08-27-2015 at 11:44 AM.
guerrierk is offline   Reply With Quote
Old 08-27-2015, 02:21 PM   #4
stuguy909
Member
 
Join Date: Aug 2015
Posts: 37
Default dmesg & lsusb

dmesg: http://stuartanderson.info/dmesg.txt

Code:
# lsusb
Bus 003 Device 004: ID 056a:00ec Wacom Co., Ltd 
Bus 003 Device 003: ID 0483:91d1 STMicroelectronics 
Bus 003 Device 002: ID 8087:8000 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 17e9:4302 DisplayLink 
Bus 002 Device 003: ID 2109:0811  
Bus 002 Device 002: ID 2109:0811  
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04f2:b39f Chicony Electronics Co., Ltd 
Bus 001 Device 004: ID 04f3:0254 Elan Microelectronics Corp. 
Bus 001 Device 003: ID 8087:07dc Intel Corp. 
Bus 001 Device 008: ID 2109:3431  
Bus 001 Device 007: ID 04f2:0112 Chicony Electronics Co., Ltd KU-8933 Keyboard with PS/2 Mouse port
Bus 001 Device 006: ID 046d:c03d Logitech, Inc. M-BT96a Pilot Optical Mouse
Bus 001 Device 002: ID 2109:3431  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
stuguy909 is offline   Reply With Quote
Old 08-27-2015, 02:27 PM   #5
guerrierk
Junior Member
 
Join Date: Jul 2015
Posts: 21
Default

Thanks,

Your dmesg have no problem. Your ThinkPad USB 3.0 Dock is correctly detected...

Could you post the result of lsmod please ?
guerrierk is offline   Reply With Quote
Old 08-27-2015, 03:55 PM   #6
stuguy909
Member
 
Join Date: Aug 2015
Posts: 37
Default lsmod

new dmesg: http://stuartanderson.info/dmesg.txt


# lsmod
Module Size Used by
evdi 32278 0
pci_stub 12429 1
vboxpci 23078 0
vboxnetadp 25443 0
vboxnetflt 27648 0
vboxdrv 375481 3 vboxnetadp,vboxnetflt,vboxpci
bnep 17431 2
nfsd 263032 2
auth_rpcgss 51211 1 nfsd
oid_registry 12419 1 auth_rpcgss
nfs_acl 12511 1 nfsd
nfs 188136 0
lockd 83389 2 nfs,nfsd
fscache 45542 1 nfs
sunrpc 237402 6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
snd_hda_codec_hdmi 45118 1
nls_utf8 12456 1
nls_cp437 16553 1
vfat 17135 1
fat 61986 1 vfat
hid_sensor_incl_3d 12667 0
hid_sensor_accel_3d 12674 0
hid_sensor_rotation 12667 0
hid_sensor_als 12639 0
hid_sensor_gyro_3d 12667 0
hid_sensor_magn_3d 12667 0
hid_sensor_trigger 12521 12 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_a ccel_3d,hid_sensor_rotation,hid_sensor_als,hid_sen sor_magn_3d
industrialio_triggered_buffer 12417 6 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_a ccel_3d,hid_sensor_rotation,hid_sensor_als,hid_sen sor_magn_3d
kfifo_buf 12834 1 industrialio_triggered_buffer
hid_sensor_iio_common 12795 6 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_a ccel_3d,hid_sensor_rotation,hid_sensor_als,hid_sen sor_magn_3d
industrialio 42405 9 hid_sensor_trigger,hid_sensor_gyro_3d,industrialio _triggered_buffer,hid_sensor_incl_3d,hid_sensor_ac cel_3d,hid_sensor_rotation,hid_sensor_als,kfifo_bu f,hid_sensor_magn_3d
joydev 17063 0
iTCO_wdt 12831 0
iTCO_vendor_support 12649 1 iTCO_wdt
cdc_mbim 12825 0
cdc_wdm 17427 1 cdc_mbim
cdc_ncm 26618 1 cdc_mbim
usbnet 30844 2 cdc_mbim,cdc_ncm
x86_pkg_temp_thermal 12951 0
intel_powerclamp 17159 0
mii 12675 1 usbnet
snd_usb_audio 135354 2
intel_rapl 17356 0
snd_usbmidi_lib 23388 1 snd_usb_audio
coretemp 12820 0
snd_rawmidi 26806 1 snd_usbmidi_lib
snd_seq_device 13132 1 snd_rawmidi
kvm_intel 139116 0
uvcvideo 79005 0
videobuf2_vmalloc 12816 1 uvcvideo
kvm 388635 1 kvm_intel
videobuf2_memops 12519 1 videobuf2_vmalloc
videobuf2_core 47787 1 uvcvideo
wacom 59529 0
hid_sensor_hub 17310 8 hid_sensor_trigger,hid_sensor_gyro_3d,hid_sensor_i ncl_3d,hid_sensor_accel_3d,hid_sensor_rotation,hid _sensor_als,hid_sensor_magn_3d,hid_sensor_iio_comm on
v4l2_common 12995 1 videobuf2_core
videodev 126451 3 uvcvideo,v4l2_common,videobuf2_core
hid_multitouch 17057 0
media 18305 2 uvcvideo,videodev
ecb 12737 1
btusb 29721 0
bluetooth 374429 21 bnep,btusb
6lowpan_iphc 16588 1 bluetooth
pcspkr 12595 0
iwlwifi 96547 0
evdev 17445 31
snd_hda_codec_conexant 17841 1
psmouse 99249 0
rtsx_pci_ms 16898 0
efi_pstore 12805 1
snd_hda_codec_generic 63181 1 snd_hda_codec_conexant
i915 837138 6
serio_raw 12849 0
i2c_i801 16965 0
cfg80211 405538 1 iwlwifi
memstick 13696 1 rtsx_pci_ms
efivars 17257 1 efi_pstore
lpc_ich 20768 0
snd_hda_intel 26327 5
mei_me 17941 0
snd_hda_controller 26646 1 snd_hda_intel
mei 74977 1 mei_me
shpchp 31121 0
snd_hda_codec 104463 5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_ codec_generic,snd_hda_intel,snd_hda_controller
wmi 17339 0
drm_kms_helper 49210 2 i915,evdi
snd_hwdep 13148 2 snd_usb_audio,snd_hda_codec
snd_pcm 88662 5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd _hda_intel,snd_hda_controller
thinkpad_acpi 69119 1
drm 249955 6 i915,evdi,drm_kms_helper
snd_timer 26614 1 snd_pcm
nvram 13034 1 thinkpad_acpi
snd 65244 27 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hd mi,snd_hda_codec_conexant,snd_pcm,snd_rawmidi,snd_ hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,sn d_hda_intel,thinkpad_acpi,snd_seq_device
i2c_algo_bit 12751 1 i915
soundcore 13026 2 snd,snd_hda_codec
ac 12715 0
rfkill 18867 4 cfg80211,thinkpad_acpi,bluetooth
battery 13356 0
i2c_core 46012 7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,v4l2 _common,videodev
button 12944 1 i915
video 18096 1 i915
processor 28221 0
fuse 83350 1
autofs4 35529 2
ext4 473802 3
crc16 12343 2 ext4,bluetooth
mbcache 17171 1 ext4
jbd2 82413 1 ext4
algif_skcipher 13008 0
af_alg 12988 1 algif_skcipher
hid_generic 12393 0
usbhid 44460 0
hid 102264 4 hid_multitouch,hid_generic,hid_sensor_hub,usbhid
dm_crypt 22595 1
dm_mod 89405 12 dm_crypt
sg 29973 0
sd_mod 44356 4
crc_t10dif 12431 1 sd_mod
crct10dif_generic 12581 0
rtsx_pci_sdmmc 21105 0
crct10dif_pclmul 13387 1
mmc_core 102374 1 rtsx_pci_sdmmc
crct10dif_common 12356 3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
crc32_pclmul 12915 0
crc32c_intel 21809 0
ghash_clmulni_intel 12978 0
aesni_intel 151423 3
aes_x86_64 16719 1 aesni_intel
lrw 12757 1 aesni_intel
gf128mul 12970 1 lrw
glue_helper 12695 1 aesni_intel
ablk_helper 12572 1 aesni_intel
cryptd 14516 4 ghash_clmulni_intel,aesni_intel,ablk_helper
ahci 33291 3
libahci 27158 1 ahci
libata 177457 2 ahci,libahci
ehci_pci 12512 0
scsi_mod 191405 3 sg,libata,sd_mod
ehci_hcd 69837 1 ehci_pci
xhci_hcd 148881 0
usbcore 195340 13 btusb,wacom,snd_usb_audio,uvcvideo,snd_usbmidi_lib ,ehci_hcd,ehci_pci,usbhid,usbnet,cdc_mbim,cdc_ncm, cdc_wdm,xhci_hcd
rtsx_pci 37719 2 rtsx_pci_ms,rtsx_pci_sdmmc
thermal 17559 0
mfd_core 12601 3 lpc_ich,rtsx_pci,hid_sensor_hub
usb_common 12440 1 usbcore
thermal_sys 27642 5 video,intel_powerclamp,thermal,processor,x86_pkg_t emp_thermal
stuguy909 is offline   Reply With Quote
Old 08-27-2015, 08:57 PM   #7
guerrierk
Junior Member
 
Join Date: Jul 2015
Posts: 21
Default

To help users in solving problem about the displaylink, some tests could be done :
Code:
# lsmod | grep evdi
It must return some lines with evdi module
Code:
# dmesg | grep -i display
It must not return any error.

Finally these two command should display services as active
Code:
# systemctl status display-manager.service
# systemctl status displaylink.service
If all of these command are correct, your device should be correctly detected and usable.

;-)
guerrierk is offline   Reply With Quote
Old 08-27-2015, 02:26 PM   #8
stuguy909
Member
 
Join Date: Aug 2015
Posts: 37
Default blacklist udlfb

Quote:
Originally Posted by guerrierk View Post
Hi stuguy909,


PS : I test on another system and I had to blacklist udlfb to work correctly (it's not done by the installer). I have specify it into /etc/modprobe.d/blacklist-framebuffer.conf
Code:
blacklist udlfb
I will update my installer and re-upload it.
the udlfb was already blacklisted on my system. I didn't do it personally, however. My procedure may have been slightly different than yours.
stuguy909 is offline   Reply With Quote
Old 09-09-2015, 01:07 AM   #9
stuguy909
Member
 
Join Date: Aug 2015
Posts: 37
Default Script Update

A new version of the script is uploaded. This will automatically detect and activate your monitors. You will currently need to edit the xposition function to suit your needs. The script will not currently turn ON your monitors.
http://stuartanderson.info/displaylink_v_alpha0.06.txt
Edit: To elaborate on the ON, you still need to activate your monitors in the display settings menu. I wasn't being cynical.

Last edited by stuguy909; 09-09-2015 at 03:45 AM.
stuguy909 is offline   Reply With Quote
Old 09-09-2015, 03:45 PM   #10
stuguy909
Member
 
Join Date: Aug 2015
Posts: 37
Default

eureka! I found a few syntax and coding bugs that was preventing the script from properly completing. I uploaded the new displaylink script that turns on your monitors and positions them for you with a simple command. This is a work in progress. I am working on completely automating this driver to be plug and play with only a minor pre-configuration requirement required for Debian 8.1. This script is dependent on having successfully installed the Displaylink driver on Debian 8.1. I am not currently supporting anything but Debian 8.1. There is another thread containing a working installer for Debian 8.1.

Here is my working beta script:
http://stuartanderson.info/displaylink_v_alpha0.07.txt
stuguy909 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:22 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.