You are not logged in.

#1 2007-12-28 18:52:30

mumpf
Member
From: Switzerland
Registered: 2006-09-05
Posts: 95

How to run setpci automatically?

In order to disconnect the Via northbrige I run these commands as root (see http://www.tldp.org/HOWTO/Athlon-Powers … ommandline:

setpci -v -H1 -s 0:0.0 D2=$(printf %x $((0x$(setpci -H1 -s 0:0.0 D2) | 0x80)))

setpci -v -H1 -s 0:0.0 D5=$(printf %x $((0x$(setpci -H1 -s 0:0.0 D5) | 0x02)))

How can these commands be executed automatically in the autostart? I have xfce, but no displaymanager.

Edit:

There is another command in the kernel  amd_disconnect=yes, but I haven't tested it.

Last edited by mumpf (2007-12-28 19:05:18)

Offline

#2 2007-12-28 18:56:49

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: How to run setpci automatically?

You could just put these commands in /etc/rc.local -- that way they will get executed by initscripts every time you boot, even before you log in to X.

Offline

#3 2007-12-28 19:14:25

mumpf
Member
From: Switzerland
Registered: 2006-09-05
Posts: 95

Re: How to run setpci automatically?

Hi fwojciec

Works like a charm, thanks!

Offline

Board footer

Powered by FluxBB