Do I have to use the ignore_range array ?
Once filed, I have nothing to do ?
The device I want to probe/send data to is located on bus i2c-0 and at the
adresses 0x00 to 0x15
I guess I have to do:
static unsigned short ignore_range[] = { 0x00, 0x16, 0xff, 0x01, 0x00, 0xff,
0x02, 0x00, 0xff, I2C_CLIENT_END };
Am I right ?
-----Original Message-----
From: khamouma [mailto:[email protected]]
Sent: Monday, March 09, 2009 11:59 AM
To: '[email protected]'
Subject: Need help on selecting one (and only one) i2c bus
Hello everybody,
I'm new on I2C device drivers programming and I'm facing a little problem, I
can't find how to select my i2c-0 bus (I have 3 of them: i2c-0, i2c-1 and
i2c-2) I'd like my probe function to probe only this bus and ignore the others.
I guess I can find the solution with the i2c_address_data structure, but I
don't really understand how to use it...
Thanks in advance,
Ayman KHAMOUMA
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html