Re: KDev-Embedded - Identify USB peripherals

2016-10-12 Thread Lamarque Souza
Hi, I did not understand what you mean by "programmer". Everybody needs to compare strings when dealing with serial ports. In you case, I think you need more than that to identify JTAGs. USB-Serial ports usually follows the pattern "(ttyS|ttyUSB|ttyACM|ttyAMA|rfcomm|ttyO)[0-9]{1,3}" used in the f

Re: Configuring Solid Action

2016-10-12 Thread Lamarque Souza
Hi, The code that lists devices is in /src/solid/devices/frontend/devicemanager.cpp. Look for Solid::Device::allDevices(). In the example you gave the backend used was udisks2: /src/solid/devices/backends/udisks2/udisksmanager.cpp, which issues a dbus call to udisks and parses its output to get t