Re: MUSB sysfs node naming convention

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 20, 2015 at 1:23 PM, Felipe Balbi <balbi@xxxxxx> wrote:
> On Thu, Aug 20, 2015 at 12:21:29PM -0500, Bin Liu wrote:
>> Hi,
>>
>> Currently, the sysfs MUSB node name uses kernel device name global
>> *auto* convention. So depending on kernel configuration, the two MUSB
>> device nodes could be musb-hdrc.0.auto/musb-hdrc.1.auto, or
>> musb-hdrc.1.auto/musb-hdrc.2.auto. Of cause the index could be any
>> other number if there were more devices using this naming convention.
>>
>> Why we decided to name MUSB nodes this way? It gives me a lot of
>> troubles in scripting and documentation.
>
> it's just the device name, that's all. We could name it with a string
> representing the register address. Something like 'musb-47401c00'

Yeah, I know it is just a name, that is why I want to know if possible
to change the default to not use the global name, to something static,
so that it is easier for scripting and documentation?

Thanks,
-Bin.

>
> --
> balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux