[lkml]   [2006]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Add a "enable" sysfs attribute to the pci devices to allow userspace (Xorg) to enable devices without doing foul direct access
    Bjorn Helgaas <> wrote:

    > There's already a "rom" file in sysfs. Could vbetool and friends
    > use that?

    Not if you have multiple graphics cards.

    > How do vbetool and X coordinate their usage of "enable"?

    vbetool won't run at anything other than a text console, and X won't
    mess with the graphics card if it's not on the current VT. You can mess
    this up if you try hard enough (multihead, for instance) but by and
    large it's a situation that you can avoid.

    > What if we throw an in-kernel VGA driver into the mix? But I guess
    > Jon has asked all these questions before; I just didn't get warm
    > fuzzies that there were safe, maintainable answers.

    This probably isn't the right long-term answer, but the right long-term
    answer is going to be a very long time away. It's an improvement over
    what we have now. I certainly don't intend to leave vbetool relying on
    it - of course, the "right" answer is for graphics drivers to know how
    to program cards from scratch so we can get rid of vbetool altogether,
    but I'll probably be more concerned about getting my flying car to meet
    new emission standards than I will be by graphics cards at that stage.

    Matthew Garrett |
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-05-04 21:46    [W:0.018 / U:22.724 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site