Skip to contentSkip to conversation

userspace notification from module

linux-pm Bartłomiej Zimoń 2 participants 3 messages Jan 6, 2010

lore
Share & tools
lore
#0 lore raw

Dnia 6 stycznia 2010 0:05 "Rafael J. Wysocki" <[email protected]> napisał(a):

Quoted 4 lines

Well, I think you have some specific issue with pm-utils, but you're not telling us what it is. So, why exactly is pm-utils not suitable for your needs?

Rafael to be honest it's more dbus specific. I'm talking about dbus as it is standard for system<->apps communication.

But please understand if we'll create kernel device with simple pm notification It could be hooked by udev and next ... by DeviceKit-power/upower and after that we have real standard. But to have this we must export "power" device - something like my proof-of-concept module. This could be realy good start.

Best regards.
Bartłomiej Zimoń
PLD Linux, Kadu Team, FreeRunner user
http://kadu-im.blogspot.com/

#1 lore raw
Quoted 8 lines · Bartłomiej Zimoń

Dnia 6 stycznia 2010 0:05 "Rafael J. Wysocki" <[email protected]> napisał(a):

Quoted 4 lines

Well, I think you have some specific issue with pm-utils, but you're not telling us what it is. So, why exactly is pm-utils not suitable for your needs?

Rafael to be honest it's more dbus specific. I'm talking about dbus as it is standard for system<->apps communication.

That was my impression. :-)

Well, I don't like dbus too, but ...

Quoted 4 lines

But please understand if we'll create kernel device with simple pm notification It could be hooked by udev and next ... by DeviceKit-power/upower and after that we have real standard. But to have this we must export "power" device - something like my proof-of-concept module. This could be realy good start.

... that doesn't make me think it should be sneakily replaced with "magic" kernel modules or similar stuff.

As I already said many times in this thread before, please look for a solution in the user space.

Rafael

#2 lore raw
In reply to Bartłomiej Zimoń
Quoted 8 lines · Bartłomiej Zimoń

Dnia 6 stycznia 2010 0:05 "Rafael J. Wysocki" <[email protected]> napisał(a):

Quoted 4 lines

Well, I think you have some specific issue with pm-utils, but you're not telling us what it is. So, why exactly is pm-utils not suitable for your needs?

Rafael to be honest it's more dbus specific. I'm talking about dbus as it is standard for system<->apps communication.

That was my impression. :-)

Well, I don't like dbus too, but ...

Quoted 4 lines

But please understand if we'll create kernel device with simple pm notification It could be hooked by udev and next ... by DeviceKit-power/upower and after that we have real standard. But to have this we must export "power" device - something like my proof-of-concept module. This could be realy good start.

... that doesn't make me think it should be sneakily replaced with "magic" kernel modules or similar stuff.

As I already said many times in this thread before, please look for a solution in the user space.

Rafael
_______________________________________________
linux-pm mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/linux-pm