Detecting USB3 devices via UDisks2

Zygmunt Krynicki zygmunt.krynicki at linaro.org
Thu Sep 20 10:45:12 PDT 2012


Hi

I'm trying to port an application that was using UDisks interface to 
UDisks2. I've found it rather difficult to distinguish USB 3.0 vs 2.0 
(and other) devices.

Looking at UDisks2 API there is no apparent property that would encode 
it. Do I understand correctly that I need to monitor udev manually and 
poke at sysfs to read the appropriate speed file? Is there a 
better/cleaner way to achieve the same result.

Best regards
ZK


-- 
Zygmunt Krynicki
s/Linaro Validation Team/Canonical Certification Team/
s/Validation/Android/


More information about the devkit-devel mailing list