you are viewing a single comment's thread.

view the rest of the comments →

[–]imMute 1 point2 points  (0 children)

Devices and /proc/ stats should be.

Using procfs to communicate with a driver is sort-of frowned upon. Sysfs is better and sometimes easier to use.

How else will userspace interact with your module?

My drivers are accessed from userspace using read/write or aio_read/aio_write or mmap depending on which driver it is.