Re: S3 wakeup code

Pavel Machek
2003-07-25T22:14:30Z

Hi!

> BTW: Pavel: will there be a place in the new PM interface for functions
> that drivers could bind onto, i.e. something like a generic
> disable_backlight(), assigned to
> {asus,dell,toshiba,nvidia,radeon,etc.}_disable_backlight()? I think this
> could solve some important problems.

I guess you should create sysfs node for your video card, and hook
your methods there. If you can't place it in the sysfs hierarchy place
it into system devices...

BTW ACPI lid refresh code should be also moved to sysfs like that...

Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]