monome / norns

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

grid usb disconnect not always reported #542

Closed tehn closed 5 years ago

tehn commented 5 years ago

not always reproducible.

grid disconnect sometimes not reported in matron. causes a bunch of libmonome errors. and then subsequent reconnects are shown as additional grids, which messes up the autofill of vports in SYSTEM > DEVICES

will fill in dmesg and matron error data later

catfact commented 5 years ago

ok, so lets confirm that this isn't getting hit: https://github.com/monome/norns/blob/master/matron/src/device/device_monitor.c#L236

and i guess a possible kind of bandaid could be:

tehn commented 5 years ago

ref https://github.com/raspberrypi/linux/issues/2408

okyeron commented 5 years ago

FYI - RasPi issue has been updated https://github.com/raspberrypi/linux/issues/2408?_pjax=%23js-repo-pjax-container#issuecomment-423577518

tehn commented 5 years ago

wow! have you tried it yet?

okyeron commented 5 years ago

Not tried yet. Might give it a go tonight, but I best make a backup first. :)

Also - not entirely sure how best to test these various issues with USB - aside from just plugging in lots of different devices to see if they have issues

tehn commented 5 years ago

raspberrypi/linux#2408 seems to have fixed this issue. thanks to @ngwese for building the new kernel.

new kernel coming in update 1.0.4