In message <[EMAIL PROTECTED]>, Takanori Watanabe writes:
>==
>Next way is that make /dev/acpictl node that can open
>exclusively and catch the power event by it, like apmd.
>==
>
>This way requires that the event reading proceess should 
>be only one, so we need another device node to read event.

Yes, exactly - I think that your suggestion of extending /dev/devctl
to support device-specific events to be handled by devd is a much
nicer solution though.

>options         PSM_HOOKRESUME          #hook the system resume event, useful
>                                        #for some laptops
>options         PSM_RESETAFTERSUSPEND   #reset the device at the resume event
>
>will resolve your problem without the patch.

Cool, thanks. I didn't know those options existed - I'll try them
out next time I reboot.

Ian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to