Skip to content
  • Peter Hutterer's avatar
    evdev: standardize log messsages · 6181adbd
    Peter Hutterer authored
    
    
    Prefix device log messages with the device's sysname so it's more obvious
    where the messages are coming from. This makes it much easier to grep for a
    specific device's messages but also adds some identifier to messages that
    were previously without any identifier (e.g. all the state machine debugging)
    
    All info and error messages also automatically prefix the device name, so
    those messages are standardised too, e.g
    
    an info message now:
      event4  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
    a debug message now:
      event4  - using pressure-based touch detection
    
    And since this required changing a lot of the strings in messages anyway,
    polish a few minor things too.
    
    Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
    Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
    6181adbd