Francis Moreau wrote:
> Hello
> 
> I have an issue when suspending/resuming a Linux system with directFB 
> installed.
> 
> Basically when the kernel is suspending the system, directFB catches a
> switch console signal
> which makes dfb_core_suspend() to be called.
> 
> This function suspend all input devices by closing all of them. But my
> system should be resumed by one of these devices /dev/lircd, so it
> doesn't work since lircd device is closed and won't generate an
> interrupt any more.
> 
> Is there a way to ask directFB to not close a peculiar input device ?

No other than hacking the source.

During suspend you could have a small program running that reads from
/dev/lircd and switches back to the DirectFB console.

Otherwise, only a new option like "input-no-close = <id>[,<id>]" could help.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to