64 Commits (d0a411f46c0df511a0ac3092715665dafd8c914b)

Author SHA1 Message Date
Guenter Roeck 055f5effa9 i2cset: Check range for data value mask 15 years ago
Guenter Roeck 6fdf1f1e45 i2cset: Get command/mode before reading data 15 years ago
Guenter Roeck 8da93bb0f2 i2cset: More stringent parameter validation 15 years ago
Guenter Roeck 7b4639c497 i2cset: Abort if value mask is set for block commands 15 years ago
Guenter Roeck bacad27586 i2cset: Check number of arguments for block data writes 15 years ago
Guenter Roeck 7dd2610269 i2cset: Removed obsolete method to specify value mask 15 years ago
Guenter Roeck 37ad9258ab i2cset: Replace blanks at beginning of line with tabs 15 years ago
Guenter Roeck fcc8ce36b8 Added support to write SMBus and I2C block commands to i2cset 15 years ago
Jean Delvare 3a5d21649e Use a 20-bit limit for the i2c bus number. 15 years ago
Jean Delvare 54a2dcbba5 tools: Drop arbitrary limit on I2C bus number 15 years ago
Jean Delvare 7e6f85bfc5 Drop legacy reference to ISA bus. The i2c-isa fake bus driver is gone 15 years ago
Jean Delvare e8c558c9a5 Properly handle the rare case where /dev/i2c exists but isn't a 15 years ago
Jean Delvare 2ea4dccae0 Add support for short writes with PEC. 16 years ago
Jean Delvare f0892fadae List include first, so that other modules can use it. 17 years ago
Jean Delvare 52cb1789b4 Complete GPL header. 17 years ago
Jean Delvare 24f819ed0c Licensing clarification. 17 years ago
Jean Delvare 0d84adf510 Add missing includes. 17 years ago
Jean Delvare 0e972ad9fd Add support for reading back to short writes. 17 years ago
Jean Delvare 35a929de32 Make reading back the written value optional. 17 years ago
Jean Delvare f9bad5666d Clarify the requirements of data value masking. 17 years ago
Jean Delvare 0c270e09de Allow masking on short writes. 17 years ago
Jean Delvare c797cbaaeb Set the data value mask with -m. The old method is still supported for 17 years ago
Jean Delvare 54cee12770 Use consistent transaction names (based on the SMBus specification) 17 years ago
Jean Delvare fc38f35ce4 Share the error string between all functionality checks. 17 years ago
Jean Delvare f67174055a No need to print the i2c bus number in functionality error message. 17 years ago
Jean Delvare 9160a95ad0 Split the functionality checking code into a separate function for 17 years ago
Jean Delvare cc723a46f7 Close device file before we exit. 17 years ago
Jean Delvare c3d335575f Add support for short writes (SMBus send byte). 17 years ago
Jean Delvare 7ad89259ab List the optional command line parameters in a consistent way. 17 years ago
Jean Delvare 8cc44b8c9c Whitespace cleanups. 18 years ago
Jean Delvare 8603e2aab2 Move the confirmation to a separate function, as is done in i2cget 18 years ago
Jean Delvare 87154f13cc Move the functionality checks to a separate function, as is done in 18 years ago
Jean Delvare 68fb2e6229 Minor optimizations and cleanups. 18 years ago
Jean Delvare 2751626db8 Unknown options are fatal, so label them error rather than warning. 18 years ago
Jean Delvare aa78242d6c More user-friendly error messages for wrong I2C bus parameter. 18 years ago
Jean Delvare bdfc87d724 Move the chip address parsing to a common function for consistency. 18 years ago
Jean Delvare 2e942d16a5 Consistently restrict the allowed I2C device address to 0x03 - 0x77. 18 years ago
Jean Delvare b331c042c8 Move print_i2c_busses from i2cbusses.c to i2cdetect.c, as it is 18 years ago
Jean Delvare 2c57ef91a2 Unify and shorten the usage messages. The details can be found in 18 years ago
Jean Delvare b68190b426 Don't print the list of i2c buses as part of the help. 18 years ago
Jean Delvare adc03e3cf3 Make the includes order correct and consistent accross all tools. 18 years ago
Jean Delvare f6a402514f Minor consistency fix. 18 years ago
Jean Delvare e34ebe15e7 Limit the stack usage in gather_i2c_busses: 18 years ago
Jean Delvare 31e9db10d0 Make it possible to pass the i2c bus by name instead of by number. As 18 years ago
Jean Delvare f7b64dce7e Split print_i2c_busses into a gathering part and a printing part. 18 years ago
Jean Delvare eda5918d0f Refactor the handling of the I2CBUS parameter. This ensures more 18 years ago
Jean Delvare aed7163f2b Update the FSF address. 18 years ago
Jean Delvare 8e4ddd1f56 Let the user specify a register range. 18 years ago
Jean Delvare 0d1b482ef0 Remove reference to hardware monitoring chips. i2cdump works on all I2C/SMBus 18 years ago
Jean Delvare 7abc52d779 Return the correct error code on I2C block read failure. 18 years ago