1. 01 Mar, 2018 1 commit
  2. 04 Mar, 2015 1 commit
    • spiiroin's avatar
      Stop mce fbdev child process from dumping cores on shutdown · 928282db
      spiiroin authored
      The mce fbdev child process by design is meant to exit very late in
      the shutdown sequence. If it gets terminated before it exits, the
      non-functional signal handlers inherited from the parent process
      cause (partially successful) core dumps via SIGABRT.
      
      Remove signal handlers installed by the parent process and trap signals
      that would cause core dumping to happen and make an _exit() instead.
      
      [mce] Stop mce fbdev child process from dumping cores on shutdown. Fixes JB#26832
      928282db
  3. 10 Feb, 2015 1 commit
    • spiiroin's avatar
      Move fbdev control from display plugin to separate mce-fbdev module · 824acab1
      spiiroin authored
      Having mce hold open framebuffer device file descriptor during bootup
      blocks display from making implicit power cycling while switching ui
      components that draw on screen. But since the frame buffer is opened
      from display plugin, it happens only after mce core functionality is
      already initialized.
      
      Making frame buffer handling be part of core functionality to allow the
      device node to be opened earlier.
      
      Also keept the framebuffer device opened also during normal operation
      so that mce already has the file descriptor that is needed to keep the
      shutdown logo on screen after ui and mce services are terminated.
      
      To give visibility to possible lipstick crashes and switches between
      various act dead ui processes, close the file descriptor if compositor
      dbus service is terminated eventhought he device is not shutting down.
      
      [mce] Move fbdev control from display plugin to separate mce-fbdev module. Fixes JB#26215
      824acab1