Hi Geert, I partly agree dynamic major number make sence at a normal workstation where you have a read/write root file system. In case of Fox-Board where we have a read only root file system, made during kerne build process, this is not the best approache I thing. So on systems like fox-Board I prefer to use what is already in /dev/ to avoid confusions and i2c is there with '123' why don't use it?
ciao, Torsten --- In [email protected], "Geert Vancompernolle" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "torstenkrieger" <Torsten.Krieger@> > wrote: > > > > default it is set to dynamic which does not work. > > Hi, > > Sorry I couldn't pick up this thread earlier... > > Dynamic major number allocation is working, only you have to follow the > explanation which is given in the files I uploaded here > <http://tech.groups.yahoo.com/group/foxboard/files/GeertVc/> . > > I added this dynamic major number allocation feature because it is > highly advised in the Linux Device Driver book (and for me, it was a > nice exercise too). > > If you do not want to do all the work (well, it's really not that > much...), then indeed commenting out DYNAMIC_MAJOR_I2CDEV_NUMBER_ALLOC > is the fastest way to go. > > Best rgds, > > --Geert >
