SCIENTIFIC-LINUX-USERS Archives

November 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Alan Bartlett <[log in to unmask]>
Reply To:
Alan Bartlett <[log in to unmask]>
Date:
Fri, 4 Nov 2011 05:12:57 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
On 4 November 2011 04:43, Yasha Karant <[log in to unmask]> 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.

ATOM RSS1 RSS2