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

Kernel version 6.6.20 #28

Open
deiger opened this issue Mar 17, 2024 · 12 comments
Open

Kernel version 6.6.20 #28

deiger opened this issue Mar 17, 2024 · 12 comments

Comments

@deiger
Copy link

deiger commented Mar 17, 2024

Hello,

Raspbian has updated their kernel to 6.6.20 last week, however the driver is yet to be updated.
Please update, as the 48 hours promised in #1 (comment) have long passed.

Thanks you.

@fprumbau
Copy link

I would be interested in knowing when - or if - the code will be integrated in the kernel.

It's quite cumbersome to block all the kernel packages from automatic updates on my printer's Pi.

@pleitz
Copy link

pleitz commented Apr 1, 2024

A couple of weeks and no driver for kernel 6.6.20! I have updates for 87 packages and I can not update because of the missing LCD kernel driver!!! What's going on there?

@andrewtck96
Copy link

andrewtck96 commented Apr 6, 2024

I'm having the same issue. My raspberry Pi's kernel was updated to 6.6.20 recently and now I can't use the display.
@waveshare Please publish the driver for 6.6.20 soonest possible. Thank you.

@N01v4
Copy link

N01v4 commented Apr 6, 2024

I also have this problem with my display and can't continue using it since the update to 6.6.20. When the compatible driver would be publish?

@binary-diver
Copy link

I also need the new dirver version as well. Please provide compatible driver for 6.6.20.

@TheVoronModder
Copy link

when can we expect to have a driver for 6.6.2?

@andrewtck96
Copy link

andrewtck96 commented Apr 11, 2024

An update for those who are still having issues. I am using a RPi 4B with Klipper, Fluidd and Mainsail installed.

I contacted the Waveshare support email and they sent me with the driver package for kernel 6.6.20. I have uploaded it to Google Drive for those who need it.

Here are the instructions (it is not on Github yet so the method on their wiki won't work):

  1. Unzip and copy the 6.6.20 config folder to your RPi's home directory.
  2. Delete all the statements at the end of the config.txt file [ALL]
  3. Run the following commands in the terminal (I used Putty):
cd 6.6.20/64
sudo bash ./WS_xinchDSI_MAIN.sh 28 I2C0
  1. If it returns a message that the drivers are already installed and do not need to be added, delete the old drivers from the RPi with the following:
cd /boot/overlays
sudo rm -rf ./WS*
cd /lib/modules/$(uname -r)
sudo rm -rf ./WS*
  1. Delete the config of the old driver in config.txt if any, and reinstall the new driver.

It works, but in my case I had to reinstall the entire firmware on a new micro SD for it to work as I still kept getting the message in step 4.
Before doing so, I downloaded all the files from Mainsail on the old SD card, so that I could re-upload them to the new one afterwards. Double check your MCU paths before uploading the config.txt; mine did not change as expected so I didn't have to edit anything at all.

P.S.
I was first advised to use the Bookworm method on the Waveshare wiki to install the drivers. This managed to get my display to turn on and show Klipperscreen, however there was no touch response. If I tried adding any lines to my pi's config.txt, the display did not turn on at all.

@fprumbau
Copy link

New version is running for me OK, no modifications. Just had to remap touch orientation after patching. Please add documentation to exclude kernel updates to pi users as long as there is no update available. Thanks a lot from germany :-)

@talksik
Copy link

talksik commented Apr 12, 2024

@andrewtck96 Thanks for this. I have a kernel version of 6.1.54, and the "closest" drivers available in the repo are 6.1.20 and 6.1.58. Both do not work with Exec format error when I do modprobe.

Is the solution to get specific compiled drivers to just reach out? Where specifically did you reach out?

@andrewtck96
Copy link

@talksik I wrote to their support team using the online form, and requested for the driver.
Their initial response was actually to use the Bookworm method, but I was hesitant to do so as I am quite new to the Raspberry Pi, so I still asked for the driver.

@andrewtck96
Copy link

@fprumbau Something like this should work to stop the kernel updates:
sudo apt-mark hold raspberrypi-kernel raspberrypi-bootloader

However I have not tried it myself so I can't promise it works.

@talksik
Copy link

talksik commented Apr 13, 2024

Thanks @andrewtck96 !! I reached out so just waiting to hear back.

I have a different situation as I have a yocto image which wouldn't have rpi-update nor apt-mark, so I will need the drivers.

Let's see what they come back with.

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

8 participants