Re: ls /config
On Sun, Nov 17, 2019 at 12:09:00PM +0100, Frans van Berckel wrote: > On Sat, 2019-11-16 at 17:48 +0100, Geert Stappers wrote: > } 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. > > > > > > 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:~# > > > > > > > > Mocht jij wel wat in `/config` of `/sys/kernel/config` > > hebben staan, laat het dan a.u.b. weten. > > Zit configfs reeds in de kernel of is het een module? module > # grep -i configfs /boot/config-`uname -r` > > Ik zie dat er sub modules zijn voor ACPI, PCI, USB & IIO. Kan het zijn > dat die eerst geladen moeten worden? Jazeker. Voorbeelden van modules die na laden iets in "configfs" zetten ben ik naar opzoek. > } > > } > sudo modprobe industrialio.ko > } > > } > Maar mijn /config bleef leeg. > } > > } > Na het laden van wat "iio kernel modules" blijft mijn /config leeg. > } > Ik heb die grep -i configfs /boot/config-`uname -r` ook gedaan en zag: '# CONFIG_IIO_CONFIGFS is not set'. Dat betekent dat IIO module die ik op het oog heb, niet in /config gaat komen. In hoeverre dat moet is maar de vraag. > } > Het is "Industrial I/O" waar ik mee wil gaan spelen. Het zou wel eens kunnen dat /config leeg mag zijn. Mocht je daarmee ervaring hebben, laat het dan weten. Groeten Geert Stappers -- Leven en laten leven
Re: ls /config
On Sat, 2019-11-16 at 17:48 +0100, Geert Stappers wrote: > > Het geprobeert op computer board dat "GPIO" heeft, maar zonder > succes. > > > 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:~# > > > > Mocht jij wel wat in `/config` of `/sys/kernel/config` > hebben staan, laat het dan a.u.b. weten. Zit configfs reeds in de kernel of is het een module? # grep -i configfs /boot/config-`uname -r` Ik zie dat er sub modules zijn voor ACPI, PCI, USB & IIO. Kan het zijn dat die eerst geladen moeten worden? Met vriendelijke groet, -- Frans van Berckel Media Engineer / Linux Master LinkedIn: https://www.linkedin.com/in/fransvberckel/
Re: ls /config
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. 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:~# 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
ls /config
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? Groeten Geert Stappers -- Leven en laten leven