Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evdi 1.14.4 won't compile on kernel 6.10 #955

Open
cilynx opened this issue Sep 22, 2024 · 1 comment
Open

evdi 1.14.4 won't compile on kernel 6.10 #955

cilynx opened this issue Sep 22, 2024 · 1 comment

Comments

@cilynx
Copy link
Contributor

cilynx commented Sep 22, 2024

It's a known issue that has been fixed in 1.14.5, but 1.14.4 ships with the Ubuntu DisplayLink driver. To work around the issue, I added a few lines right before the patch is applied in

to replace evdi.tar.gz that ships with the driver with a stripped version of https://github.com/DisplayLink/evdi/archive/refs/tags/v1.14.6.tar.gz.

# Replace evdi with newer version
echo 'Replacing evdi...'
mkdir evdi
tar -xzf evdi-1.14.6.tar.gz --strip-components=1 -C evdi
tar -czf $driver_dir/displaylink-driver-${version}/evdi.tar.gz -C evdi .
rm -rf evdi

Not sending a PR as this is a lame hack, but I can confirm it works on Trixie's 6.10.9

@cilynx
Copy link
Contributor Author

cilynx commented Sep 22, 2024

Slightly more robust:

# Replace evdi with newer version
evdi_ver=1.14.6
echo 'Replacing evdi...'
mkdir evdi
wget https://github.com/DisplayLink/evdi/archive/refs/tags/v${evdi_ver}.tar.gz
tar -xzf v${evdi_ver}.tar.gz --strip-components=1 -C evdi
tar -czf $driver_dir/displaylink-driver-${version}/evdi.tar.gz -C evdi .
rm -rf evdi v${evdi_ver}.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant