On Wed, Mar 17, 2021 at 10:13:22AM -0600, Gregory Anders wrote:
On Wed, 17 Mar 2021 16:59:08 +0100, Greg KH <greg@kroah.com> wrote:
Is your char device listed in /sys/dev/char/ ?
If not, then you have something wrong with your call to device_create().
If so, then you need to look at whatever tool is creating your device nodes in /dev. Usually the kernel handles this with devtmpfs, but I do not know what your system uses for this.
Indeed it is. I am working with a fairly minimal system on a Xilinx Microblaze soft-core CPU. I have udev installed, but I'm not sure about devtmpfs. I'll start digging in that direction and see what I find.
udev does not do device node creation anymore (as of a decade or so), you should make sure devtmpfs is mounted at /dev/ in order for this to work properly. good luck! greg k-h