uevent before resume completion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

We have an ARM board which does wakeup on USB cable connection to
it. In our power supply driver "USB connect" interrupt handler calls
power_supply_changed() which cause generation of uevent (in
power_supply_changed_work() ). But usermodehelper_disabled
still equals to 1 because resume process is not finished yet and
userspace helper is not executed.

How to fix this behaviour without breaking other kernel parts? We
definitely need to invoke userspace helper on USB cable insertion. Yes,
we can generate event after some time with timer but I think that a more
elegant solution can be found.

Please, CC: answers to me.

-- 
Yauhen Kharuzhy		jekhor _at_ gmail.com
			JID: jek@xxxxxxxxx

A: No
Q: Should I quote below my post?
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux