2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-27 20:38:24 +00:00

24 Commits

Author SHA1 Message Date
Jean Delvare
f2e518511d Patch from Aurelien Jarno:
I have just noticed that the FSF address is the old one in all files
except COPYING. Please find a patch below to fix that.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5163 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-26 13:37:12 +00:00
Hans de Goede
4075aa1660 Fix building on PPC machines
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5035 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-23 19:50:05 +00:00
Jean Delvare
d7b4debbf6 Move i2cdetect, i2cdump, i2cset and i2cget to a separate package
(i2c-tools).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4480 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-27 08:10:19 +00:00
Jean Delvare
8afee51d60 prog/dump/*: More robust user input handling.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4256 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-09 19:20:00 +00:00
Jean Delvare
47a3cc59c0 New helper program to read a single register from an I2C/SMBus
chip. It has byte data and word data read support as well as byte
write/byte read, and supports PEC too. Beware that byte write with PEC
enabled can write random values to registers on non-PEC-aware chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3108 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-29 20:59:22 +00:00
Jean Delvare
4943663301 Handle keys/passwords needed to access most Super-I/O chips.
This should let us dump Winbond Super-I/O chips past the few first
dozens registers.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2899 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-09 21:08:17 +00:00
Jean Delvare
e7e4c799da Implement "make user_uninstall". Original patch contributed by
Rudolf Marek.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2604 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-20 14:18:28 +00:00
Jean Delvare
4d095e0921 New manual page for isaset.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2490 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-29 17:43:50 +00:00
Mark D. Studebaker
6f821d2ad8 new isaset program. Warning - lightly tested.
Please test and improve as necessary.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2488 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-28 23:54:09 +00:00
Jean Delvare
67a0c882aa Skip isadump on non-x86 architectures. Patch by Aurelien Jarno.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2382 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 13:10:26 +00:00
Jean Delvare
45940855fd Manual pages for dump tools, originally written by David Z Maze
for the Debian distribution. Original patch by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2380 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 10:28:48 +00:00
Mark D. Studebaker
64aeb747a4 remove -o and -g args to install
Date: Thu, 18 Dec 2003 22:42:36 +0100
From: Haakon Riiser <haakon.riiser@fys.uio.no>
To: sensors@Stimpy.netroedge.com
Subject: lm_sensors 2.8.2 / DESTDIR / root

The reason for this email is that I always try to avoid running
Makefiles as root, even during 'make install'.  Therefore, I
always use the DESTDIR feature, when it's available.  Until today,
I always built i2c and lm_sensors by doing

  $ make
  $ make -i install DESTDIR=/foo
  $ cd /foo && su root && fix permissions/ownership && install

The -i flag to make install is a kludge to avoid having to be root
while installing to the DESTDIR, and it's only required because
the files are installed with "-o root -g root".  Using the -i
flag is of course not a good idea, since more fatal errors can
easily fly by undetected.

Today, I upgraded to Linux 2.6.0, and tried a similar install
procedure for lm_sensors, except that the make target is now "user"
and the install target is "user_install".  I now noticed that the
DESTDIR variable is not used everywhere in "user_install", so I
couldn't use the -i kludge anymore.  Instead, I wrote a patch that
removes the "-o root -g root" arguments to install everywhere, and
I also tried to add DESTDIR to all files/directories installed.
(The patch only applies to lm_sensors, not i2c, since only
lm_sensors is required in Linux 2.6.0.)

There's really no reason to say -o root -g root anyway, since if you
do install directly with make install, you have to be logged in as
root, and then the files will get the right ownership by default.
Much of the point of installing to a temporary DESTDIR is that you
don't have to be root, and that you can prepare the installation
by hand.  Fixing the ownership is trivial:

  chown -R root.root $DESTDIR


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2189 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-23 23:13:38 +00:00
Jean Delvare
5c4b5f75d5 rpath patch by Joerg Dorchain <joerg@dorchain.net>.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2185 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-16 19:59:50 +00:00
Mark D. Studebaker
5cef938a0e remove isaset accidentally added in
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2079 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 04:05:48 +00:00
Mark D. Studebaker
4f3ded5af9 use common function to print out available i2c busses;
add sysfs support to that function


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2065 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-17 03:04:09 +00:00
Mark D. Studebaker
0948e17ee9 add new build targets 'user' and 'user_install'.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1822 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-28 20:04:51 +00:00
Mark D. Studebaker
2fa3db2f24 make install now installs i2cdump, i2cdetect, isadump, i2cset
in /usr/local/sbin


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1484 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-03 21:08:53 +00:00
Mark D. Studebaker
6c52f4b47f add i2cset, simple utility to write a single location
in an i2c device, good for debugging.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1057 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-03 02:39:23 +00:00
Frodo Looijaard
fc20445e02 Surer `make clean' implementation
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@581 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-27 10:52:50 +00:00
Frodo Looijaard
24792039f6 Adrian's copyright patch applied
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@207 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-08 22:50:29 +00:00
Kyosti Malkki
9ab5512ee3 (Kyösti) Modifications in makefiles to reflect the changed location
of i2cdetect.c from prog/dump to prog/detect. Should now compile cleanly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@202 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-07 15:34:51 +00:00
Frodo Looijaard
fefbf31867 New program 'i2cdetect', which scans your i2c bus for connected devices
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@167 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-13 21:08:50 +00:00
Frodo Looijaard
351441d5d8 Added a program to dump the registers of an SMBus device. Do not try
it yet; there are still bugs, which cause kernel oopses.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@163 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-13 20:23:48 +00:00
Frodo Looijaard
dfc74d0f39 ISA utility to dump address/register type adderss spaces.
Usage: isadump <ADDR-REG> <DATA-REG>
For the default LM78, this would be `isadump 0x295 0x296' (addresses may be
specified as decimal, octal or hexadecimal).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@144 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-01 00:41:46 +00:00