a314 icon indicating copy to clipboard operation
a314 copied to clipboard

Make a314d check spidev.bufsiz setting.

Open arnljot opened this issue 4 years ago • 1 comments

We've got experience that this setting is very important and that users are missing out on setting it correctly.

a314d should check this on startup, and refuse to run if not set correctly. Maybe just start in a minimal mode without services so that a314.device won't hang on the amiga side? Investigation needed.

if not spidev.bufsiz=65536 then log.error "spidev.bufsiz not set to correct value, check spelling?"

arnljot avatar Mar 08 '20 20:03 arnljot

I noticed that the value that is currently in use can be read from /sys/module/spidev/parameters/bufsiz, so it should be easy to do this check when a314d is started.

niklasekstrom avatar Apr 23 '20 21:04 niklasekstrom