69 Commits (6ec57efd15c0b2103f90b8782fa78c56e67596ee)

Author SHA1 Message Date
Jean Delvare fde5b209f1 Consistently use "SMBus receive byte" for the short byte read we use 13 years ago
Jean Delvare 65dc71ed6a If either SMBus Quick Write or SMBus Receive Byte command is missing, 13 years ago
Jean Delvare daf0466e26 New library for I2C device access under Linux. As a first step, the 13 years ago
Jean Delvare a0020e9bd0 Tools depends on header file version.h. Add the missing dependency to 13 years ago
Jean Delvare 3ceb5a7870 i2c-dev: Move SMBus helper functions to include/i2c/smbus.h 13 years ago
Guenter Roeck 54fb556f48 i2cset: Check range for data value mask 15 years ago
Guenter Roeck e1b596c53a i2cset: Get command/mode before reading data 15 years ago
Guenter Roeck 0a85576b7e i2cset: More stringent parameter validation 15 years ago
Guenter Roeck 60a749a5b8 i2cset: Abort if value mask is set for block commands 15 years ago
Guenter Roeck dc1000124a i2cset: Check number of arguments for block data writes 15 years ago
Guenter Roeck 1d6f7454fa i2cset: Removed obsolete method to specify value mask 15 years ago
Guenter Roeck ce92cda254 i2cset: Replace blanks at beginning of line with tabs 15 years ago
Guenter Roeck 14dccf39fd Added support to write SMBus and I2C block commands to i2cset 15 years ago
Jean Delvare f90b992704 Use a 20-bit limit for the i2c bus number. 15 years ago
Jean Delvare 0cd9e87f5e tools: Drop arbitrary limit on I2C bus number 15 years ago
Jean Delvare ca52d73a84 Drop legacy reference to ISA bus. The i2c-isa fake bus driver is gone 15 years ago
Jean Delvare e14c8f327d Properly handle the rare case where /dev/i2c exists but isn't a 15 years ago
Jean Delvare c0ee6a9434 Add support for short writes with PEC. 16 years ago
Jean Delvare 8df3e67d39 List include first, so that other modules can use it. 17 years ago
Jean Delvare de85213372 Complete GPL header. 17 years ago
Jean Delvare 6f00564f52 Licensing clarification. 17 years ago
Jean Delvare 786ae8e1ab Add missing includes. 17 years ago
Jean Delvare 31277e1ab8 Add support for reading back to short writes. 17 years ago
Jean Delvare 00a240e7d3 Make reading back the written value optional. 17 years ago
Jean Delvare 497940860e Clarify the requirements of data value masking. 17 years ago
Jean Delvare 9178957b65 Allow masking on short writes. 17 years ago
Jean Delvare e230c1ebe5 Set the data value mask with -m. The old method is still supported for 17 years ago
Jean Delvare 79b9137fd4 Use consistent transaction names (based on the SMBus specification) 18 years ago
Jean Delvare ee7f0924cb Share the error string between all functionality checks. 18 years ago
Jean Delvare 041e4553f3 No need to print the i2c bus number in functionality error message. 18 years ago
Jean Delvare fdba3b5163 Split the functionality checking code into a separate function for 18 years ago
Jean Delvare 98f809dd1d Close device file before we exit. 18 years ago
Jean Delvare 740a2c181d Add support for short writes (SMBus send byte). 18 years ago
Jean Delvare 36e072a279 List the optional command line parameters in a consistent way. 18 years ago
Jean Delvare 218f3223f3 Whitespace cleanups. 18 years ago
Jean Delvare 2075fca653 Move the confirmation to a separate function, as is done in i2cget 18 years ago
Jean Delvare 0c1d2a6860 Move the functionality checks to a separate function, as is done in 18 years ago
Jean Delvare 14be6606ec Minor optimizations and cleanups. 18 years ago
Jean Delvare 97b4810ab8 Unknown options are fatal, so label them error rather than warning. 18 years ago
Jean Delvare 4d1a5fd1dd More user-friendly error messages for wrong I2C bus parameter. 18 years ago
Jean Delvare d284668c70 Move the chip address parsing to a common function for consistency. 18 years ago
Jean Delvare 69b9ad132e Consistently restrict the allowed I2C device address to 0x03 - 0x77. 18 years ago
Jean Delvare 99011f3649 Move print_i2c_busses from i2cbusses.c to i2cdetect.c, as it is 18 years ago
Jean Delvare 7ba65d9e69 Unify and shorten the usage messages. The details can be found in 18 years ago
Jean Delvare 336626872c Don't print the list of i2c buses as part of the help. 18 years ago
Jean Delvare 312c733bf0 Make the includes order correct and consistent accross all tools. 18 years ago
Jean Delvare 9a58d32b99 Minor consistency fix. 18 years ago
Jean Delvare de29763e09 Limit the stack usage in gather_i2c_busses: 18 years ago
Jean Delvare 2fa93b4a57 Make it possible to pass the i2c bus by name instead of by number. As 18 years ago
Jean Delvare e07cb9b133 Split print_i2c_busses into a gathering part and a printing part. 18 years ago