• spiiroin's avatar
    [udev] Suppress repetitive property warnings. Fixes JB#40394 · 0d5a10b7
    spiiroin authored
    Usb-moded expects to see POWER_SUPPLY_PRESENT and POWER_SUPPLY_TYPE
    properties defined for usb power-supply devices. When this is not
    the case, it emits warnings and applies various fallbacks. Since the
    properties get re-evaluated periodically, this also leads to the
    same warnings being repeated.
    
    Refactor the code so that in default verbosity the property warnings
    are emitted only during what looks like cable connect / disconnect.
    Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    0d5a10b7
Name
Last commit
Last update
config Loading commit data...
debian Loading commit data...
docs Loading commit data...
openembedded Loading commit data...
rpm Loading commit data...
src Loading commit data...
systemd Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
Copyright Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
usb-moded.ini Loading commit data...
usb_moded.pc.in Loading commit data...