[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-fbdev-devel
Subject:    [Linux-fbdev-devel] Re: [PATCH] Provide control of active VGA device on PCI systems
From:       Jesse Barnes <jbarnes () sgi ! com>
Date:       2005-02-22 18:50:43
Message-ID: 200502221050.43534.jbarnes () sgi ! com
[Download RAW message or body]

On Saturday, February 19, 2005 11:07 pm, Jon Smirl wrote:
> New version to previous patch. This one adds the hotplug event mentioned
> before.
>
> To achieve secondary card reset:
>   Load a framebuffer driver.
>   Driver causes hotplug add event
>   reset=x environment parm indicates reset, primary cards is false
>   run user space reset program
>   read VBIOS content using existing API
>   turn off all VGA devices, sysfs vga=3
>   reset the card
>   restore original VGA devices. sysfs vga=4
>   set sysfs no_reset=1 to prevent further resets
>
> Tomorrow I'll clean up a user space reset app and post it.

Nice, if this is combined with Ben's suggestion of using a firmware loader 
type model to deal with POSTing, it seems like we're in pretty good shape.  
Can you add documentation for this API to 
Documentation/filesystems/sysfs-<foo>.txt (maybe the pci file or a new file) 
so that userspace people will be able to figure out how to use it?

Also, how does one know if a card is 'primary' or not?  I.e. some BIOSes will 
POST all cards, some will POST only one, and some will POST none...

Thanks,
Jesse


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic