DisplayLink Forum

DisplayLink Forum (https://displaylink.org/forum/index.php)
-   Linux and Open Source (https://displaylink.org/forum/forumdisplay.php?f=29)
-   -   Debian 8.1 driver install (https://displaylink.org/forum/showthread.php?t=64041)

stuguy909 08-25-2015 07:04 PM

Debian 8.1 driver install
 
I installed DKMS but I am getting the error:
Unsatisfied dependencies. Missing component: Linux headers for running kernel, 3.16.0-4-amd64

whenever I run the displaylink-driver-1.0.68.run script. I am doing UEFI boot, so do I have to edit my kernel somewhere to bipass this? Ubuntu instructions has a signed kernel available in the Ubuntu repo for UEFI boots, but debian is a little different. Any thoughts?

kernel 3.16.0-4-amd64

mlukaszek 08-26-2015 08:18 AM

The installer script is looking for
Code:

/lib/modules/$(uname -r)/build/Kbuild
to ensure that kernel headers are available for a running kernel. Ensure the headers are indeed installed, then change or remove the line to match files available on Debian.

Hope this helps.
Michal

stuguy909 08-26-2015 08:18 PM

Kbuild
 
It is indeed installed.
Code:

sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree     
Reading state information... Done
linux-headers-3.16.0-4-amd64 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

However, there is no Kbuild file:
Code:

/lib/modules/3.16.0-4-amd64/build# ls
arch  include  Makefile  Module.symvers  scripts

Do you know of some alternative I can create a symbolic link to?

Edit:
the Makefile.

stuguy909 08-26-2015 08:38 PM

finishing up
 
Code:

/lib/modules/3.16.0-4-amd64/build# ln -sf Makefile Kbuild
linking the Makefile to Kbuild seemed to allow me to install the drivers without error.

Code:

# ./displaylink-driver-1.0.68.run
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.0.68  100% 
DisplayLink Linux Software 1.0.68 install script called: install
Distribution discovered: Debian GNU/Linux 8.1 (jessie)
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

I rebooted and now I guess I need to run some more commands? If the above output looks correct, do you have a link to a thread or directions on how to load my screens or check if the driver is working?

Edit: lsmod and lsusb outputs
Code:

# lsmod
Module                  Size  Used by
binfmt_misc            16949  1
pci_stub              12429  1
vboxpci                23078  0
vboxnetadp            25443  0
vboxnetflt            27648  0
vboxdrv              375481  3 vboxnetadp,vboxnetflt,vboxpci
bnep                  17431  2
snd_hda_codec_hdmi    45118  1
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
nls_utf8              12456  1
nls_cp437              16553  1
vfat                  17135  1
fat                    61986  1 vfat
cdc_mbim              12825  0
cdc_wdm                17427  1 cdc_mbim
hid_sensor_als        12639  0
hid_sensor_incl_3d    12667  0
hid_sensor_rotation    12667  0
hid_sensor_gyro_3d    12667  0
hid_sensor_accel_3d    12674  0
hid_sensor_magn_3d    12667  0
hid_sensor_trigger    12521  12 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_rotation,hid_sensor_als,hid_sensor_magn_3d
industrialio_triggered_buffer    12417  6 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_rotation,hid_sensor_als,hid_sensor_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_accel_3d,hid_sensor_rotation,hid_sensor_als,hid_sensor_magn_3d
iTCO_wdt              12831  0
industrialio          42405  9 hid_sensor_trigger,hid_sensor_gyro_3d,industrialio_triggered_buffer,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_rotation,hid_sensor_als,kfifo_buf,hid_sensor_magn_3d
joydev                17063  0
iTCO_vendor_support    12649  1 iTCO_wdt
cdc_ncm                26618  1 cdc_mbim
snd_usb_audio        135354  2
usbnet                30844  2 cdc_mbim,cdc_ncm
mii                    12675  1 usbnet
snd_usbmidi_lib        23388  1 snd_usb_audio
snd_rawmidi            26806  1 snd_usbmidi_lib
snd_seq_device        13132  1 snd_rawmidi
ecb                    12737  1
btusb                  29721  0
hid_sensor_hub        17310  8 hid_sensor_trigger,hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_rotation,hid_sensor_als,hid_sensor_magn_3d,hid_sensor_iio_common
uvcvideo              79005  0
wacom                  59529  0
bluetooth            374429  21 bnep,btusb
videobuf2_vmalloc      12816  1 uvcvideo
videobuf2_memops      12519  1 videobuf2_vmalloc
videobuf2_core        47787  1 uvcvideo
6lowpan_iphc          16588  1 bluetooth
v4l2_common            12995  1 videobuf2_core
videodev              126451  3 uvcvideo,v4l2_common,videobuf2_core
hid_multitouch        17057  0
media                  18305  2 uvcvideo,videodev
x86_pkg_temp_thermal    12951  0
intel_powerclamp      17159  0
intel_rapl            17356  0
coretemp              12820  0
iwlwifi                96547  0
kvm_intel            139116  0
rtsx_pci_ms            16898  0
kvm                  388635  1 kvm_intel
efi_pstore            12805  1
memstick              13696  1 rtsx_pci_ms
cfg80211              405538  1 iwlwifi
i915                  837138  6
pcspkr                12595  0
efivars                17257  1 efi_pstore
psmouse                99249  0
i2c_i801              16965  0
snd_hda_codec_conexant    17841  1
lpc_ich                20768  0
wmi                    17339  0
snd_hda_codec_generic    63181  1 snd_hda_codec_conexant
evdev                  17445  31
serio_raw              12849  0
thinkpad_acpi          69119  1
nvram                  13034  1 thinkpad_acpi
rfkill                18867  4 cfg80211,thinkpad_acpi,bluetooth
snd_hda_intel          26327  5
snd_hda_controller    26646  1 snd_hda_intel
battery                13356  0
ac                    12715  0
drm_kms_helper        49210  1 i915
snd_hda_codec        104463  5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
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
drm                  249955  5 i915,drm_kms_helper
snd_timer              26614  1 snd_pcm
mei_me                17941  0
snd                    65244  27 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device
video                  18096  1 i915
i2c_algo_bit          12751  1 i915
soundcore              13026  2 snd,snd_hda_codec
mei                    74977  1 mei_me
i2c_core              46012  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,v4l2_common,videodev
shpchp                31121  0
button                12944  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
crct10dif_pclmul      13387  1
crct10dif_common      12356  3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
crc32_pclmul          12915  0
crc32c_intel          21809  0
ghash_clmulni_intel    12978  0
rtsx_pci_sdmmc        21105  0
mmc_core              102374  1 rtsx_pci_sdmmc
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
xhci_hcd              148881  0
ehci_hcd              69837  1 ehci_pci
scsi_mod              191405  3 sg,libata,sd_mod
rtsx_pci              37719  2 rtsx_pci_ms,rtsx_pci_sdmmc
mfd_core              12601  3 lpc_ich,rtsx_pci,hid_sensor_hub
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
thermal                17559  0
usb_common            12440  1 usbcore
thermal_sys            27642  5 video,intel_powerclamp,thermal,processor,x86_pkg_temp_thermal
# lsmod | grep usb
snd_usb_audio        135354  2
usbnet                30844  2 cdc_mbim,cdc_ncm
mii                    12675  1 usbnet
snd_usbmidi_lib        23388  1 snd_usb_audio
snd_rawmidi            26806  1 snd_usbmidi_lib
btusb                  29721  0
bluetooth            374429  21 bnep,btusb
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
snd                    65244  27 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device
usbhid                44460  0
hid                  102264  4 hid_multitouch,hid_generic,hid_sensor_hub,usbhid
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
usb_common            12440  1 usbcore
# 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 08-26-2015 09:11 PM

xrandr
 
Code:

$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x46 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:Intel

I can only see my default monitor. The two ACER monitors are on and plugged into the USB dock firmly.

stuguy909 08-26-2015 09:22 PM

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....

stuguy909 08-26-2015 10:36 PM

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


guerrierk 08-27-2015 12:35 PM

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.

stuguy909 08-27-2015 03:21 PM

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 08-27-2015 03:26 PM

blacklist udlfb
 
Quote:

Originally Posted by guerrierk (Post 78246)
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.


All times are GMT. The time now is 10:19 AM.

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