monome / norns

norns is many sound instruments.
http://monome.org
GNU General Public License v3.0
630 stars 145 forks source link

wifi "network" submenu inaccessible after first connect #275

Closed artfwo closed 6 years ago

artfwo commented 6 years ago

steps to reproduce:

  1. turn on norns
  2. connect to any wifi network
  3. turn wifi off (or not)
  4. enter wifi menu again and try choosing "network". as soon as button 3 is released, the passphrase screen disappears and i'm back in the wifi menu.
tehn commented 6 years ago

i've seen this twice and had a hard time reproducing. if you have matron open and can post a lua dump when it happens that'd help me track it down.

the wifi subsystem in general feels fragile, i'd like to overhaul it. but for now it's been generally working predictably here.

artfwo commented 6 years ago

@tehn, sure. it's 100% reproducible for me. how do i get the lua dump?

tehn commented 6 years ago

ah, you're right. tricky if you're not connected.

does it happen if you first connect via serial and restart matron so you can see serial output?

artfwo commented 6 years ago

@tehn there's no output from matron. when button3 is released and the wifi selection screen comes back i get the usual:

router
wifi.sh already running

nothing else.

tehn commented 6 years ago

thanks for the report, i'll try to replicate (and just better debug the fragile logic of the wifi/menu section)

tehn commented 6 years ago

wow, nice find. not what i would've suspected.