lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7a765a99-f273-e92c-1437-f3e5535fbaaf@ti.com>
Date:   Tue, 16 Oct 2018 13:27:39 +0300
From:   Roger Quadros <rogerq@...com>
To:     "H. Nikolaus Schaller" <hns@...delico.com>,
        Felipe Balbi <balbi@...nel.org>
CC:     LKML <linux-kernel@...r.kernel.org>,
        linux-omap <linux-omap@...r.kernel.org>,
        <kernel@...a-handheld.com>,
        Discussions about the Letux Kernel 
        <letux-kernel@...nphoenux.org>
Subject: Re: omap5: dwc3 interface status in /sys

Felipe,

On 16/10/2018 12:29, H. Nikolaus Schaller wrote:
> Hi,
> 
>> Am 17.09.2018 um 10:24 schrieb H. Nikolaus Schaller <hns@...delico.com>:
>>
>> Hi Felipe,
>> I have made otg mode work on the omap5-uevm with help from Roger
>> and now I wonder how to read the interface status for GUI display.
>>
>> On omap3/twl4030 systems we can simply read
>>
>> 	/sys/bus/platform/devices/musb-hdrc.0.auto/mode
>>
>> and get reports e.g. "b_peripheral", "a_host", "b_idle" etc. which can easily
>> be translated into icons for GUI display.
>>
>> We have not found a similar attribute for dwc3 (except part of this information
>> in
>>
>> 	/sys/kernel/debug/4a030000.dwc3
>>
>> but mounting debugfs for GUI purposes isn't a good idea).
>>
>> So do you think it is possible to provide such information to
>>
>> 	/sys/devices/platform/44000000.ocp/4a020000.omap_dwc3/4a030000.dwc3?
> 
> any suggestions?

This question is not specific to omap5.
What is your opinion? If you think it is OK, I can provide a patch for it.

cheers,
-roger


-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ