Hi,
I'm trying to get Displaylink drivers working on my P52s ThinkPad so I can use 
a USB-C docking station (needs Displaylink to use monitors through USB-C dock). 
I've had a few hiccups which I've detailed 
[here](https://www.reddit.com/r/Qubes/comments/crapm4/how_to_install_displaylink_drivers_on_qubes/)
 trying to get this package working: 
https://github.com/displaylink-rpm/displaylink-rpm/releases.

It looks like the rpm uses a post install script to start the Displaylink 
service.

```
$ rpm -qip --scripts displaylink.rpm
postinstall scriptlet (using /bin/sh):
# The displaylink service may crash as dkms rebuilds the module
/usr/bin/systemctl -q is-active displaylink.service && /usr/bin/systemctl stop 
displaylink.service
/usr/bin/systemctl daemon-reload
/usr/bin/systemctl -q is-enabled dkms.service || /usr/bin/systemctl enable 
dkms.service
/sbin/dkms install evdi/1.6.2 >> /var/log/displaylink/displaylink.log 2>&1
/usr/bin/systemctl start displaylink.service
```
For me it fails because it can't find my kernel headers:

```
$ less /var/log/displaylink/displaylink.log
Creating symlink /var/lib/dkms/evdi/1.6.2/source ->
/usr/src/evdi-1.6.2

DKMS: add completed.
Error! echo
Your kernel headers for kernel 4.19.56-1.pvops.qubes.x86_64 cannot be found at
/lib/modules/4.19.56-1.pvops.qubes.x86_64/build or 
/lib/modules/4.19.56-1.pvops.qubes.x86_64/source.
Warning: I do not know how to handle 4.19.56-1.pvops.qubes.x86_64.
Error! echo
Your kernel headers for kernel 4.19.56-1.pvops.qubes.x86_64 cannot be found at
/lib/modules/4.19.56-1.pvops.qubes.x86_64/build or 
/lib/modules/4.19.56-1.pvops.qubes.x86_64/source.

------------------------------
Deleting module version: 1.6.2
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/evdi/1.6.2/source ->
/usr/src/evdi-1.6.2

DKMS: add completed.
Error! echo
Your kernel headers for kernel 4.19.56-1.pvops.qubes.x86_64 cannot be found at
/lib/modules/4.19.56-1.pvops.qubes.x86_64/build or 
/lib/modules/4.19.56-1.pvops.qubes.x86_64/source.
Warning: I do not know how to handle 4.19.56-1.pvops.qubes.x86_64.
Error! echo
Your kernel headers for kernel 4.19.56-1.pvops.qubes.x86_64 cannot be found at
/lib/modules/4.19.56-1.pvops.qubes.x86_64/build or 
/lib/modules/4.19.56-1.pvops.qubes.x86_64/source.
```
Any thoughts on how I can ensure that this package can find the right 
kernel-headers?

Cheers!
jm

Sent with [ProtonMail](https://protonmail.com) Secure Email.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/phimvYJ7bnWzKrNJ3gXFh14R5OtMIY9sU6btxmDeRlAoMx7jHyI0bPUvgFMcF6csbtRiGwr4sIp2tqsxSJDk7EPfGtAfkV-YbEcuVeWrnAc%3D%40protonmail.com.

Reply via email to