Questions about the USB HID device drivers

Apollo D. Sharpe, Sr. demetrioussharpe at netscape.net
Mon Feb 18 21:03:30 UTC 2019


On 2/18/19 3:26 AM, Hans Petter Selasky wrote:
> Each devicename has a uniq prefix followed by a uniq unit number.

So, we just end up dumping ALL device nodes in /dev...


> Character device nodes are automatically created. However it is 
> possible for user-space applications to create symbolic links 
> afterwards in /dev .

...and leave it to user-space to create the hierarchy within /dev? Is 
there a technical reason that kernel drivers don't automatically 
subscribe to a hierarchy, or is this just historic inertia? It seems 
funny to me that such decisions are left to user-space applications.


-- 
Regards,

Apollo D. Sharpe, Sr.



More information about the freebsd-usb mailing list