Jean Delvare
d0a411f46c
Set version to 3.1.0.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6002 7894878c-1315-0410-8ee3-d5d059ff63e0
14 years ago
Jean Delvare
add2bce315
Add support for the at24 kernel driver.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5929 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
1981d2ef40
Decode module configuration type and refresh rate of DDR SDRAM.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5928 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
055f5effa9
i2cset: Check range for data value mask
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5927 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
6fdf1f1e45
i2cset: Get command/mode before reading data
Get and validate the command/mode parameter for all commands
before reading and evaluating actual data.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5926 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
670782bf29
CHANGES update for i2cset
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5925 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
8da93bb0f2
i2cset: More stringent parameter validation
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5924 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
7b4639c497
i2cset: Abort if value mask is set for block commands
Specifying the value mask is not supported for block commands,
abort if it is specified anyway.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5923 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
bacad27586
i2cset: Check number of arguments for block data writes
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5922 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
7dd2610269
i2cset: Removed obsolete method to specify value mask
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5921 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
37ad9258ab
i2cset: Replace blanks at beginning of line with tabs
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5920 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
fcc8ce36b8
Added support to write SMBus and I2C block commands to i2cset
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5911 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
210dd401a5
Make value arrays const for block write functions. Patch from Roman
Fietze.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5894 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
7e636d2ae3
Set version to 3.0.3.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5892 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
69eb935d90
Add a note about the python-devel requirement.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5891 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
e241a27bdd
Simplify change list.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5890 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
3a5d21649e
Use a 20-bit limit for the i2c bus number.
Use snprintf for the i2c dev node name.
Update copyright years.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5885 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
54a2dcbba5
tools: Drop arbitrary limit on I2C bus number
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5884 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
604db400f8
Point users to the linux-i2c mailing list for questions and bug
reports.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5882 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
7e6f85bfc5
Drop legacy reference to ISA bus. The i2c-isa fake bus driver is gone
long ago, today the message is only confusing.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5862 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
e8c558c9a5
Properly handle the rare case where /dev/i2c exists but isn't a
directory. Patch from Florian Fainelli.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5854 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
3d8b5e9b61
Add support for multiple dumps. This makes it easier to setup test
environments with more than one I2C chip.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5830 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
0ccc954c5a
Use fewer global variables, to make the code easier to read and
modify.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5829 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
9a6022de1b
Unload i2c-stub automatically if needed.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5828 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
2ea4dccae0
Add support for short writes with PEC.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5771 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
7c1ce6a507
Fix array initialization overrun. Reported by David Binderman.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5746 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
71f241a1e1
Decode voltage interface level of DDR SDRAM.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5733 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
722106833a
Be more robust against seek/read errors on sysfs.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5714 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
b24086fb79
Automatically adjust the width of columns in text side-by-side mode.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5706 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
f0249a02bb
Try harder to decode the manufacturing date.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5705 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
de0313bdc0
Reformat "at CAS N" output so that it no longer breaks the
side-by-side mode.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5704 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
36f8bc1dcd
Minimize the initial output differences between different memory
modules, to make it more likely that --side-by-side will work.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5703 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
aeec8074a5
Add an option to merge identical cells. This makes the output even
clearer.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5702 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
7028bbd304
New side-by-side output format. Especially nice for the HTML format
but (mostly) works also with text format. Might need to be made a
little more flexible to accomodate with different memory modules.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5701 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
ad86273e30
Refactor HTML filtering into a separate function.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5700 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
989e25e2a2
Delay the printing of DIMM data by storing all the output in a temporary
data structure. This will then make it possible to do extra processing
on the data before it gets displayed.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5699 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
90225865d2
Store the DIMM being currently decoded in a global variable, so that
it can be used in other parts of the code.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5698 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
745a63dba3
Verify checksum or CRC before processing any DIMM module. That way we
know how many modules we have before we start the actual work.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5697 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
0ff2d31f8e
Store all dimm data into @dimm . Required for future evolutions.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5696 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
365220b108
Change the dimm list to a more complex data structure where we will
be able to store extra attributes for each DIMM.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5695 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
46ddf2ad9b
Carry the path to eeprom data files around, instead of hard-coding it
in several places. This makes the code less fragile and easier to
modify.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5694 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
fbb3a50464
The DIMM addresses are hexadecimal values, handle them as such.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5693 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
cd79c7c2f8
Filter non-DIMM EEPROMs earlier. This saves one level of indentation in
the main loop.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5692 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
27cb41e03c
Don't call an external tool (ls) to get the list of dimms. Using
opendir() is more efficient and more flexible.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5691 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
6c15d67bf7
Move dimm list creation to a separate function.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5690 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
4d60bc4af7
Misc coding-style fixes.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5689 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
f90bb0e92d
Clarify Linux kernel vs. GNU/Linux OS.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5619 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
b386135a6a
py-smbus depends on <linux/i2c-dev.h>.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5611 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
f0892fadae
List include first, so that other modules can use it.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5610 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
1fa6e1c3b1
Add missing entry.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5609 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago