/srv/irclogs.ubuntu.com/2021/04/15/#ubuntustudio-devel.txt

OvenWerksEickmeyer[kde]: question (in the thinking out loud tone): in controls 2.1 we started saving a db of devices which in particular keeps track of USB devices even when not plugged in.06:05
OvenWerksin 2.2 (alpha) we also save the id and bus and in fact ignore the actual device name. So we convert from actual device name to USB* where * is a number and that USB* name remains with the id/bus combo. Every time we do something we use the id/bus to find the current name and use that.06:08
OvenWerkshowever, when we convert things over, the USB devices are not known to be plugged in and the unplugged one get id/bus of none/none06:10
OvenWerks I was wondering if I should just remove them.06:12
OvenWerksI think I figured it out... maybe add a clean up button06:15
Eickmeyer[m]OvenWerks: Sounds like a plan (was fast asleep when you sent that).15:22
OvenWerksEickmeyer[m]: I figured as much before I started typing... but also know that when I have a question... just asking often gives me an answer ...15:44
Eickmeyer[m]hehe15:45
OvenWerksEickmeyer[m]: however, the USB bus changes for the same plug if I unplug a device and plug it in again to the same socket15:45
Eickmeyer[m]Not surprising. USB is weird like that.15:45
OvenWerksweird == poorly designed15:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!