On Sat, Nov 09, 2019 at 01:49:39PM +0100, Geert Stappers wrote: > Hoi, > > Welke output krijg jij bij `ls /config`? > > > > Het is "Industrial I/O" waar ik mee wil gaan spelen. > ( https://wiki.analog.com/software/linux/docs/iio/iio#iio_overview ) > > De iio directory > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/iio > is zo goed als leeg. Van > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/iio/iio_configfs.rst > Heb ik de instructie > > sudo mkdir /config > mount -t configfs none /config > > gevolgd. Maar mijn /config bleef leeg. > > > Met `ls /lib/modules/$(uname -r)/kernel/drivers/iio` vond ik `industrialio.ko` > Die kernel module geladen m.b.v. > > sudo modprobe industrialio.ko > > Maar mijn /config bleef leeg. > > > Na het laden van wat "iio kernel modules" blijft mijn /config leeg. > > > > Wat heb jij in /config staan? Met welke kernel versie is dat? > >
Het geprobeert op computer board dat "GPIO" heeft, maar zonder succes. <screendump> fbx@fdbx0:~$ sudo su - root@fdbx0:~# mkdir /config root@fdbx0:~# mount -t configfs none !$ mount -t configfs none /config root@fdbx0:~# ls /config root@fdbx0:~# mount | grep conf none on /config type configfs (rw,relatime) configfs on /sys/kernel/config type configfs (rw,relatime) root@fdbx0:~# ls -d /sys/kernel/config/ /sys/kernel/config/ root@fdbx0:~# ls /sys/kernel/config/ root@fdbx0:~# </screendump> Mocht jij wel wat in `/config` of `/sys/kernel/config` hebben staan, laat het dan a.u.b. weten. Groeten Geert Stappers -- Leven en laten leven