jayofelony / pwnagotchi

(⌐■_■) - Deep Reinforcement Learning instrumenting bettercap for WiFi pwning.
Other
813 stars 99 forks source link

Can't get WaveShare V4 Working #189

Open djvdberg opened 1 month ago

djvdberg commented 1 month ago

Hallo,

Running latest image v2.8.9 on Raspberry Pi zero 2W with waveshare V4

Config set to Waveshare_4

No display, anything else I should do?

Display - https://www.pishop.co.za/store/213inch-e-ink-display-hat-for-raspberry-pi-250x122 Got a V4 sticker on the bottom

Config

ui.display.enabled = true ui.display.type = "ws_4" ui.display.rotation = 180

Thanks!

ianfs2 commented 1 month ago

ui.display.type = "waveshare_4"

djvdberg commented 1 month ago

Updated but still no display? :(

ui.display.enabled = true ui.display.type = "waveshare_4" ui.display.rotation = 180

Log shows 11:39:16 [INFO] initializing waveshare v2in13_V4 display 11:39:16 [INFO] clearing the display ...

ianfs2 commented 1 month ago

In which file are you configuring?

translated by google.

djvdberg commented 1 month ago

sudo nano /etc/pwnagotchi/config.toml

ianfs2 commented 1 month ago

It should work... I use the same settings and have never had this problem.

Raspberry Pi zero 2W & waveshare V4

ui.display.enabled = true ui.display.rotation = 180 ui.display.type = "waveshare_4" ui.display.color = "black"

jayofelony commented 1 month ago

run:

sudo systemctl stop pwnagotchi && sudo pwnagotchi --debug

See if any errors pop up

djvdberg commented 1 month ago

Getting a bunch of these

[2024-08-06 20:28:16,450] [DEBUG] Got here DEBUG:pwnagotchi.ui.hw.libs.waveshare.epaper.v2in13_V4.epd2in13_V4:e-Paper busy [2024-08-06 20:28:16,757] [DEBUG] e-Paper busy DEBUG:pwnagotchi.ui.hw.libs.waveshare.epaper.v2in13_V4.epd2in13_V4:e-Paper busy release [2024-08-06 20:28:16,758] [DEBUG] e-Paper busy release DEBUG:pwnagotchi.ui.hw.libs.waveshare.epaper.v2in13_V4.epd2in13_V4:e-Paper busy [2024-08-06 20:28:16,758] [DEBUG] e-Paper busy DEBUG:pwnagotchi.ui.hw.libs.waveshare.epaper.v2in13_V4.epd2in13_V4:e-Paper busy release [2024-08-06 20:28:16,759] [DEBUG] e-Paper busy release DEBUG:pwnagotchi.ui.hw.libs.waveshare.epaper.v2in13_V4.epd2in13_V4:e-Paper busy [2024-08-06 20:28:16,764] [DEBUG] e-Paper busy DEBUG:pwnagotchi.ui.hw.libs.waveshare.epaper.v2in13_V4.epd2in13_V4:e-Paper busy release [2024-08-06 20:28:16,765] [DEBUG] e-Paper busy release DEBUG:pwnagotchi.ui.hw.libs.waveshare.epaper.v2in13_V4.epd2in13_V4:e-Paper busy [2024-08-06 20:28:16,775] [DEBUG] e-Paper busy DEBUG:pwnagotchi.ui.hw.libs.waveshare.epaper.v2in13_V4.epd2in13_V4:e-Paper busy release [2024-08-06 20:28:16,776] [DEBUG] e-Paper busy release DEBUG:pwnagotchi.ui.hw.libs.waveshare.epaper.v2in13_V4.epd2in13_V4:e-Paper busy [2024-08-06 20:28:17,592] [DEBUG] e-Paper busy DEBUG:pwnagotchi.ui.hw.libs.waveshare.epaper.v2in13_V4.epd2in13_V4:e-Paper busy release [2024-08-06 20:28:17,593] [DEBUG] e-Paper busy release

djvdberg commented 1 month ago

Also just noticed now

default.toml : ui.display.enabled = false ui.display.rotation = 180 ui.display.type = "waveshare_4"

config.toml ui.display.enabled = true ui.display.type = "waveshare_4" ui.display.rotation = 180 ui.display.color = "black"

jayofelony commented 1 month ago

How is your soldering, or did you use hammer pins?

djvdberg commented 1 month ago

Think they pretty good, fluxed and all

Was thinking I'll try it on the SPI port tomorrow

Screen is brand new, but pi was used for other stuff, so not sure if something might be broken

thumbnail_IMG_8996 thumbnail_IMG_8997

jayofelony commented 1 month ago

That looks good, if there are no noticable errors in --debug than it must be either faulty display or broken pi. Display being the one that breaks easier.

AleTornesello commented 1 month ago

It seems to me that there are some pins that are cold soldered or with little flux. image Before buying new hardware I suggest you try to resolder all the pins at a slightly higher temperature and with plenty of flux. Over time, the cold soldering could come off and you wouldn't notice

code-for-kaffee commented 1 month ago

ui.display.type = "waveshare_3"

Also as @AleTornesello suggested, try resolder

rai68 commented 4 weeks ago

i wouldnt use _3, _4 is best with a V4 sticker, if no display after reheating those pins display may be damaged

AchimGrolimund commented 1 week ago

hey @djvdberg dose it work now for you?

i have a similar issue but with other Hardware (Raspberry pi 4B) https://github.com/jayofelony/pwnagotchi/issues/200

I see also only e-ink is busy but nothing happens on the display.