Interface naming/numbering conventions - spiDevPattern


#1

Hi all,

I am currently working with a device, where my spi node name is spidev32766.0. Problem now is that I cant get SPI to work, because http://162.213.34.128:8080/source/xref/snapd/interfaces/builtin/spi.go?a=true&r=ff216577#58 tells me, it has an invalid name. How should I proceed?

Cheers


#2

I am currently developing with a workaround: hard linking it

sudo ln /dev/spidev32766.0 /dev/spidev9.9

this works but in my eyes, it’s no proper solution


#3

the original regex pattern was developed by @zyg, perhaps he can take a look into updating it to allow multiple numbers before the dot


#4

If @zyga doesn’t beat me to it, I’ll do this in the next round of interface updates.