On 4 November 2011 04:43, Yasha Karant <ykar...@csusb.edu> wrote:
> A colleague with a laptop that has a PCMCIA slot needed higher resolution
>  on a larger monitor than was available from the built-in video card screen.
>  I suggested the VTBook PCMCIA card that uses a Trident chip set and has a
> DVI connector as does the monitor my colleague obtained.

<snip>

>    setpci -s bus:slot.func COMMAND=02

<snip>

> I have tried adding this line to various places in /etc/X11/xinit,
> /usr/bin/startx, and what seem appropriate places in various /etc/rc...
> directories (using the appropriate ln -s from the script in init.d to
> SXXfoobar).  Thus far, everytime X11 starts, the [disabled] output appears
> from lspci -v until I manually run the init.d script that contains
> appropriate setpci command (after which the [disabled] output is gone).
>
> QUESTION:
> Where should one place the setpci command to force the use of the setpci
> after each login (starting of a particular X11 session)?

This is a totally "off the top of my head" suggestion, so please
experiment with caution.

I would test to see if adding an invocation of the setpci command to
the /etc/X11/prefdm file has the desired effect.

Alan.

Reply via email to