mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-25 20:28:21 +00:00
i2c-dev is now working!
You can now use i2cdump to dump SMBus device registers! git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@165 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
50573c910d
commit
8c18675d85
5 files changed
+88
-80
No files matched your search
+2
-1
@@ -301,7 +301,8 @@ int i2cproc_bus_read(struct inode * inode, struct file * file,char * buf,
|
||||
if ((client = i2cproc_adapters[i]->clients[j]))
|
||||
/* Filter out dummy clients */
|
||||
#ifndef DEBUG
|
||||
if (client->driver->id != I2C_DRIVERID_I2CPROC)
|
||||
if ((client->driver->id != I2C_DRIVERID_I2CPROC) &&
|
||||
(client->driver->id != I2C_DRIVERID_I2CDEV))
|
||||
#endif /* ndef DEBUG */
|
||||
len += sprintf(kbuf+len,"%x\t%-32s\t%-32s\n",
|
||||
#ifdef DEBUG
|
||||
|
||||
Reference in new issue
Block a user