mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* how to set motherboard chipset registers
@ 2001-12-07 18:53 Chris Friesen
  2001-12-08 19:05 ` Dave Jones
  2001-12-08 19:06 ` Calin A. Culianu
  0 siblings, 2 replies; 3+ messages in thread
From: Chris Friesen @ 2001-12-07 18:53 UTC (permalink / raw)
  To: linux-kernel


I'm just wondering what would be the best way to get/set chipset
registers (for tweaking purposes) in linux.  What is the proper way to
address these things given bit numbers and offsets?

I'm a decent coder, I've done low-level hardware stuff before, but I
just don't know where to start with this.

Thanks,

Chris

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to set motherboard chipset registers
  2001-12-07 18:53 how to set motherboard chipset registers Chris Friesen
@ 2001-12-08 19:05 ` Dave Jones
  2001-12-08 19:06 ` Calin A. Culianu
  1 sibling, 0 replies; 3+ messages in thread
From: Dave Jones @ 2001-12-08 19:05 UTC (permalink / raw)
  To: Chris Friesen; +Cc: linux-kernel

On Fri, 7 Dec 2001, Chris Friesen wrote:

> I'm just wondering what would be the best way to get/set chipset
> registers (for tweaking purposes) in linux.  What is the proper way to
> address these things given bit numbers and offsets?

http://powertweak.sourceforge.net/

Dave.

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to set motherboard chipset registers
  2001-12-07 18:53 how to set motherboard chipset registers Chris Friesen
  2001-12-08 19:05 ` Dave Jones
@ 2001-12-08 19:06 ` Calin A. Culianu
  1 sibling, 0 replies; 3+ messages in thread
From: Calin A. Culianu @ 2001-12-08 19:06 UTC (permalink / raw)
  To: Chris Friesen; +Cc: linux-kernel


You can use the userspace utility called 'setpci' which, if run as root,
allows you to tweak such things.  For insance, say you wanted to set byte
register 0x55 to value 0x1c on a pci device who's vendor/device id combo
is 1106:3099, you would do:

setpci -d 1106:3099 55.B=1c

To query this register without setting anything, do:

setpci -d 1106:3099 55.B

And, of course, man setpci will sell you more.. :)

On Fri, 7 Dec 2001, Chris Friesen wrote:

>
> I'm just wondering what would be the best way to get/set chipset
> registers (for tweaking purposes) in linux.  What is the proper way to
> address these things given bit numbers and offsets?
>
> I'm a decent coder, I've done low-level hardware stuff before, but I
> just don't know where to start with this.
>
> Thanks,
>
> Chris
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-12-08 19:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-07 18:53 how to set motherboard chipset registers Chris Friesen
2001-12-08 19:05 ` Dave Jones
2001-12-08 19:06 ` Calin A. Culianu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®