Messages in this thread | | | Subject | Re: Add a "enable" sysfs attribute to the pci devices to allow userspace (Xorg) to enable devices without doing foul direct access | From | Peter Jones <> | Date | Tue, 02 May 2006 15:29:41 -0400 |
| |
On Tue, 2006-05-02 at 15:00 -0400, Jon Smirl wrote: > I also can not see how user space suspend/resume can > disable PCI hardware without coordinating with an active device > driver.
And that's not a reasonable thing for userspace to do, if an active device driver is using that. But sometimes it might want to turn a device on, perform some action, and then disable it again.
[...] > You may call this silly but it is a real pain to spend hours debugging > code only to discover that it failed because some other app unknown to > you altered the state of the hardware while you were using it.
"Doctor, it hurts when I stab myself in the eye..."
-- Peter
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |