[lkml]   [2017]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[sysfs] Sysfs acceptable paths to custom functionality
I am developing a driver for an audio codec that has fixed DSP 
functionality. On the device there are coefficients that can be
programmed to implement different types of filters that can be used to
implement an EQ or 3D sound effects.

Based on what I have seen in the Kernel so far our device is the only
one that has this type of feature, but I do believe others exist. Due to
this I would like to generalize this as much as possible so user space
applications can take advantage of it.

1. Where under /sys/ should I expose these features?

My initial thought for the interface would look something like this:


2. Do you see anything wrong with this approach?

Please CC me in your responses.



 \ /
  Last update: 2017-10-06 07:45    [W:0.022 / U:1.316 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site