thank you!
Maiden gets started when pi gets booted like this:

we         327  0.0  0.6 833668  6452 ?        Ssl  07:40   0:00 /home/we/maiden/maiden -fd 3 -app ./app/build -data /home/we/dust -doc /home/we/norns/doc

but it seems not to work. ip:5000 on a browers fails…

if I start it by hand without the -fd flag I get it running but end up with a 404 page

1 Like

Still having some issues getting norns running. Getting the following error

I don’t have ~/status.wifi file - should this have been generated somewhere?

systemctl status norns-init.service
● norns-init.service - norns-init
   Loaded: loaded (/etc/systemd/system/norns-init.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2018-06-10 07:59:49 UTC; 41min ago
  Process: 292 ExecStart=/bin/chown we.we /home/we/status.wifi (code=exited, status=1/FAILURE)
  Process: 281 ExecStart=/bin/echo stopped > /home/we/status.wifi (code=exited, status=0/SUCCESS)
 Main PID: 292 (code=exited, status=1/FAILURE)

Jun 10 07:59:49 norns systemd[1]: Starting norns-init...
Jun 10 07:59:49 norns echo[281]: stopped > /home/we/status.wifi
Jun 10 07:59:49 norns chown[292]: /bin/chown: cannot access '/home/we/status.wifi': No such file or directory
Jun 10 07:59:49 norns systemd[1]: norns-init.service: Main process exited, code=exited, status=1/FAILURE
Jun 10 07:59:49 norns systemd[1]: Failed to start norns-init.
Jun 10 07:59:49 norns systemd[1]: norns-init.service: Unit entered failed state.
Jun 10 07:59:49 norns systemd[1]: norns-init.service: Failed with result 'exit-code'.

EDIT - rand ./wifi.sh scan and ./wifi.sh on and rebooted and that got me in business

1 Like

this is the 800$ question right now [along with the /dev/events stuff :slight_smile:

2 Likes

norns/matron/src/hardware/screen.c

at line 71:

/* Use fb0 if no fram buffer is specified */
if (fb_name == NULL) {
fb_name = “/dev/fb0”;

and line 138:

void screen_init(void) {
surfacefb = cairo_linuxfb_surface_create("/dev/fb0");
if(surfacefb == NULL) { return; }
crfb = cairo_create(surfacefb);

thus - change line 138 to fb1 ?

I don’t have my install working yet so can’t try.

Not 100% sure about this but here’s my instructions/notes for getting the SH1106 OLED display working.

http://www.okyeron.com/norns/sh1106.txt

Please test if you like and let me know if you run into problems

2 Likes

thats it!!!

wuhuuu!

after you replaced /dev/fb0 with /dev/fb1 you have to rebuild norns:

./waf configure
./waf

17 Likes

Based on your ps listing it would appear you are trying to use the systemd unit setup - if that is setup correctly the things should be accessible from port 80. If you are starting maiden by hand without the -fd flag then things should be accessible on port 5000.

Thanks. I got it running in the meantime :blush:

i would love that but it looks like the piSound uses all the pins So i am going to continue to hopeully find a software solution but as of now unless i hear something else fabulous [as this surely is]
i am going to tap out or Raspi Norns Dev

Heck yeah! Thanks for the additional work to make that work!

1 Like

great stuff @reijo , really good progress.

I’m not worried about replicating a pair of encoders and buttons. Those aren’t a dealbreaker for me, and the prospect of integrating an external controller for those didn’t dissuade me from ordering a PiSound instead of some other DAC, either.

(I’m also planning to test whether or not MODEP is a viable backup for my MOD Duo…)

That’s burying the lede, I suppose. I ordered a PiSound last night. It’ll probably take a while to ship overseas, so I’m still only lurking. But, I’m at least that committed now, and I’ve got more of a timeline before me.

1 Like

good luck ,
with time this nut will be cracked :slight_smile:

ive been playing with a variety of kernels configurations today (between beers with friends) , not much to show as yet, but you learn something on each interaction (if only how to type faster :wink: )

1 Like

Untitled.m4v (3.0 MB)

Norns running on RasPi with OLED and USB Audio (also got the oled to startup on boot!)

6 Likes

Anyone got the encoder or button GPIOs figured out?

The ones listed at https://github.com/monome/norns-image/blob/master/readme-hardware.md seem wrong as GPIO39 (which I think means pin 39) is GND… ???

I also tried wiring up with those pin assignments and got nothing. :frowning:

EDIT - the compute module (cm3) in Norns has a different pinout, so that explains the GPIO numbers being higher than are available on the RasPi 3

2 Likes

very nice - what’s your OLED ?

now a bit torn - was going to go with pisound but having the display for this seems very nice.

OLED is an SH1106 chip version from ebay - about $5-6 each
“HQ 1.3” 128*64 OLED Graphic Display Module SPI LCD"

Now… the pisound gets you audio I/O - which is a whole different thing. However, I think shreeswifty said something above that the pisound uses all the available gpio pins, so you might investigate that a bit further.

I’m gonna look into another DAC solution later, but don’t hold your breath. :slight_smile:

yeah - the pisound does appear to (not bought anything yet but going to press the trigger soon)

hmm. questions questions! :slight_smile:

warning pisound
I determined last night that the pisound was disabling preemption, which is i believe the cause for me not getting the performance id hoped.
blokas have suggested i can hack the pisound driver to make it work (as a temp fix, till they can get a proper solution) , so thats my plan for today…

if that fails, im going to transfer a hifiberry dac+, that i have currently on a pi2, to the pi3…

think i might also order a rpi3b+, so i’ll have the dac+ on the rpi3b and pisound on a pi3b as … norns on one, orac on the other :slight_smile:

1 Like