Jean Delvare
50eccc620f
i2c-stub-from-dump: Be more tolerant on input dump format
Allow for uppercase hexadecimal digits, "|" instead of ":" as the address
separator, and an optional space before said separator. i2cdump doesn't
use any of these but other dump tools do, so this improves
compatibility.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6013 7894878c-1315-0410-8ee3-d5d059ff63e0
14 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
24f819ed0c
Licensing clarification.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5594 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
e096011986
Use udev settle to speed up initialization.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5533 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
6a2f709549
Stop on i2cset error.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5293 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
cc17bf04ca
Behave properly when i2c-stub is already loaded.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5292 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
f575d048f4
Add support for partial dumps.
Report if only garbage is found in dump file.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5280 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
b8a49711c0
Fix directory creation.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5166 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
3fd5ca4133
Minor rewording.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5165 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
b8322b2fc5
Add support for word register access mode.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5149 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
49481878a2
Add support for kernel < 2.6.19, where the i2c-stub module didn't yet have
a chip_addr parameter.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5091 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
5d732a3e27
Add a manual page for i2c-stub-from-dump.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5005 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
5f9471e63a
Install i2c-stub-from-dump to /usr/sbin rather than /usr/bin, as only root
can use it.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5004 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
87c129180f
i2c-stub-from-dump: New helper script to use with the i2c-stub kernel
driver.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5002 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago