waveshareteam / Waveshare-DSI-LCD

26 stars 14 forks source link

Kernel version 6.6.20 #28

Open deiger opened 7 months ago

deiger commented 7 months ago

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 https://github.com/waveshare/Waveshare-DSI-LCD/issues/1#issuecomment-1276965891 have long passed.

Thanks you.

fprumbau commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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

TheVoronModder commented 7 months ago

when can we expect to have a driver for 6.6.2?

andrewtck96 commented 6 months ago

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
  4. 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*
  5. 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 commented 6 months ago

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 commented 6 months ago

@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 commented 6 months ago

@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 commented 6 months ago

@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 commented 6 months ago

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.