Hi, I give Maxime's patch a try and got 4 spidev devices : /dev/spidev32766.[0-3]
root@bpi:~# ls -lh /dev/spidev* crw------- 1 root root 153, 0 Apr 28 15:52 /dev/spidev32766.0 crw------- 1 root root 153, 1 Apr 28 15:52 /dev/spidev32766.1 crw------- 1 root root 153, 2 Apr 28 15:52 /dev/spidev32766.2 crw------- 1 root root 153, 3 Apr 28 15:52 /dev/spidev32766.3 Shouldn't they be numbered from like spidev0.[0-3]. Is this an udev problem ? any clues ? For now I will try with this devices. Thanks a lot, Eric On Tuesday, April 28, 2015 at 2:53:37 PM UTC+2, Michal Suchanek wrote: > > On 28 April 2015 at 14:15, Eric D. <[email protected] <javascript:>> > wrote: > > Hi, > > > > I'am a mainline linux user of A20 (bananapi). I'am currently running a > > debian jessie with latest mainline kernel (4.0.0+). > > I have a project of home automation, based on nrfl04+ spi driven > wireless > > chip. > > I was just seeking a way to make spidev device appear under mainline > kernel > > and found this thread. > > Could someone explain the right way to do this ? > > There is no approved RightWay(tm). > > However, you can use this patch: > > https://lkml.org/lkml/2014/4/28/612 > > which is probably the least controversial way for now. > > The example at the start of the thread also works but is > CertainlyNotApprovedWay(tm). > > HTH > > Michal > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
