i2c_new_dummy(9) suse man page | unix.com

Man Page: i2c_new_dummy

Operating Environment: suse

Section: 9

I2C_NEW_DUMMY(9)					      I2C and SMBus Subsystem						  I2C_NEW_DUMMY(9)

NAME
i2c_new_dummy - return a new i2c device bound to a dummy driver
SYNOPSIS
struct i2c_client * i2c_new_dummy(struct i2c_adapter * adapter, u16 address);
ARGUMENTS
adapter the adapter managing the device address seven bit address to be used
CONTEXT
can sleep
DESCRIPTION
This returns an I2C client bound to the "dummy" driver, intended for use with devices that consume multiple addresses. Examples of such chips include various EEPROMS (like 24c04 and 24c08 models). These dummy devices have two main uses. First, most I2C and SMBus calls except i2c_transfer need a client handle; the dummy will be that handle. And second, this prevents the specified address from being bound to a different driver. This returns the new i2c client, which should be saved for later use with i2c_unregister_device; or NULL to indicate an error.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 I2C_NEW_DUMMY(9)
Related Man Pages
smbus(7d) - sunos
i2c-stub-from-dump(8) - centos
i2cdetect(8) - debian
smbus(7d) - opensolaris
i2cdetect(8) - suse
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Change directory error
Cut command on RHEL 6.8 compatibility issues
A (ksh) Library For and From UNIX.com
32 bit process addressing more than 4GB