jayofelony / pwnagotchi

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

Can't get WaveShare V4 Working #189

Open djvdberg opened 3 months ago

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

ui.display.type = "waveshare_4"

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

In which file are you configuring?

translated by google.

djvdberg commented 3 months ago

sudo nano /etc/pwnagotchi/config.toml

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

run:

sudo systemctl stop pwnagotchi && sudo pwnagotchi --debug

See if any errors pop up

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

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

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

ui.display.type = "waveshare_3"

Also as @AleTornesello suggested, try resolder

rai68 commented 3 months 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 2 months 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.