Commit Graph
62 Commits
Author SHA1 Message Date
Jean Delvare 1d95c24a0d Nicer header format.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3310 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 11:00:33 +00:00
Jean Delvare a0816bd94b SPD revision decoding depends on memory type.
Use more user-friendly labels.
Fix HTML formatted output on checksum error.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3308 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 10:43:47 +00:00
Jean Delvare c9d06d5ebc Decode latencies and timings (DDR2 SDRAM).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3307 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 09:55:14 +00:00
Jean Delvare b80f29c456 Decode size (Direct Rambus and Rambus). At this point, this
script provides all the information "sensors" does for SPD eeproms, so
we're not so far from dropping eeprom support from sensors.
Code cleanups.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3306 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 09:23:10 +00:00
Jean Delvare 6af2009a02 Fix latencies decoding (SDRAM).
Fix CAS latency decoding (DDR SDRAM).
Decode latencies, timings and module height (DDR SDRAM).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3305 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 08:39:20 +00:00
Jean Delvare d785c0ecce Detect undefined manufacturer code and handle it properly.
Round up timing data.
Minor display adjustments.
Group cycle and access times, display the CAS value for each (SDRAM).
Refactor some bitfield tests into loops (SDRAM).
Display latencies and burst length on a single line (SDRAM).
Don't display manufacturing location when undefined.
Check that the manufacturing date is proper BCD, else fall back to
hexadecimal display.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3303 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-21 17:39:48 +00:00
Rudolf Marek 4b0db08ea2 Rename some copanies as 106T suggest, but only from 2004. I'm lazy
to check and others seems already renamed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3302 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-20 20:29:02 +00:00
Rudolf Marek 53d8879a6f Bump the JEDEC ID codes to version 106T
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3301 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-20 20:22:49 +00:00
Rudolf Marek c3304ead04 Add the size computation for SDRAM, DDR and DDR2
Add the most common timing characteristics of SDRAM/DDR/DDR2 as brief output


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3298 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-16 22:08:56 +00:00
Jean Delvare bda180fcff Don't decode the revision code, manufacturing date and assembly
serial number where not set. Decode the manufacturing date to an ISO8601
date.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3295 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-15 10:52:09 +00:00
Jean Delvare f7f58f3110 Decode the SPD data depending on the memory type. Only SDRAM is
complete for now, DDR and DDR2 need to be extended.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3294 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-15 10:19:46 +00:00
Jean Delvare 3bc418131e Strip non-ASCII characters out of the part number.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3248 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-27 22:15:42 +00:00
Jean Delvare 74478d5e48 Decode manufacturing location as ASCII first, fallback to binary.
Improve decoding of the memory type, using a simple heuristic to
differenciate between Rambus and other types.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3247 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-27 21:03:54 +00:00
Rudolf Marek 528d3c7f4d Sync the JEDEC IDs to JEP106S (January 11, 2006)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3245 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-25 21:30:05 +00:00
Jean Delvare 9a3dc11375 Don't decode anything unless the checksum is valid (or the -c
option is used). Bump version.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3243 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-22 16:17:46 +00:00
Jean Delvare 7311d55ae9 Use sysopen/sysread instead of open/read for better performance
(the eeprom driver can read 32-byte slices instead of the whole data).
Read 64-byte blocks, as this allows some code cleanups.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3242 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-22 16:16:06 +00:00
Jean Delvare 7d2b877afe Clearer text output.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3241 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-22 16:13:34 +00:00
Jean Delvare 0602a3a949 Reindent print functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3240 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-22 16:12:45 +00:00
Jean Delvare db773f6c88 Fix options in usage message.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3220 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-27 20:01:31 +00:00
Jean Delvare fcdc235ee3 Fix rounding error in PCxxxx DDR SDRAM speed computation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3121 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-15 10:28:08 +00:00
Jean Delvare 400bdd4c14 More manufacturer names.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3099 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-19 17:29:23 +00:00
Jean Delvare 1e29d075db Add large lookup tables for manufacturer names (based on data
provided by Rudolf Marek).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3089 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 15:21:12 +00:00
Jean Delvare 70eca45135 One more model reported to work (VGN-S4M/S).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3070 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-07 19:15:52 +00:00
Rudolf Marek dc2209be7a Support for memory speed information in human readable DDRxxx and PCyyyy format.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3038 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-17 20:29:56 +00:00
Jean Delvare 0f28439091 Fix perl warning. Fix typo. Refactor some code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3035 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-15 17:02:50 +00:00
Jean Delvare ac53cebc4d Support the Linux 2.6 sysfs interface to EEPROMs. Original patch
by Burkart Lingner.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3034 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-15 16:05:25 +00:00
Jean Delvare cf38b5e7e1 Update with VGN-S260 info provided by Kent Hunt.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2851 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-19 18:18:15 +00:00
Jean Delvare 6e3f9a4cee New ddcmon perl script, user-space replacement for the ddcmon
kernel module.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2824 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-04 15:21:02 +00:00
Jean Delvare 526ee63372 Find eeproms on non-0 i2c bus too.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2782 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-03 22:33:56 +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 7f22c17c1b Update links to my own pages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2513 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-08 15:48:07 +00:00
Jean Delvare 1d5a2aa272 Cosmetic changes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2278 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-08 19:51:45 +00:00
Jean Delvare 5667d141c3 Add Linux 2.6 (sysfs) support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2277 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-08 19:47:09 +00:00
Jean Delvare ac7a0cf1f4 Add Linux 2.5/2.6 (sysfs) support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2224 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-17 18:07:45 +00:00
Jean Delvare 254faf0931 Add missing space in help string.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2223 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-17 18:06:21 +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
Mark D. Studebaker 270bd02b4f add DESTDIR. patch from
Sergey Vlasov <vsu@altlinux.ru>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2164 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 23:08:58 +00:00
Jean Delvare 9df0724a72 Install to BINDIR, not SBINDIR.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2108 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:29:59 +00:00
Jean Delvare f2652439ff Update copyrights and comments.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2105 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:20:21 +00:00
Mark D. Studebaker 9728b298e3 add more programs installed in /usr/local/sbin
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2026 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-27 01:26:44 +00:00
Jean Delvare d99a492966 Fix data block length (128 bytes instead of 256).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1973 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-24 13:22:22 +00:00
Jean Delvare 9614076742 Update known systems list.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1969 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 19:19:34 +00:00
Jean Delvare a3f6e05c65 Add Direct Rambus
Mark Rambus as unsupported


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1923 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-30 09:14:46 +00:00
Jean Delvare 2f88f06c8b Cosmetic fixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1908 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-26 20:17:39 +00:00
Jean Delvare a58d53cfb4 Use print instead of syswrite.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1895 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-22 08:44:10 +00:00
Jean Delvare 8cc83cfee4 EDID data decoder (interfaces our eeprom module with parse-edid
from the read-edid project).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1885 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-17 17:26:04 +00:00
Mark D. Studebaker dd42f669e3 spelling fix
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1719 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-09 00:30:09 +00:00
Mark D. Studebaker c389918f9c recognize DDR and Rambus types
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1718 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-09 00:23:46 +00:00
Jean Delvare 808482fe72 Update machine list and thanks
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1651 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-26 17:09:14 +00:00
Jean Delvare 28e73a5b4a Misc cleanups and two more fields labelled
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1621 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-18 20:45:35 +00:00