Re: i2c: Multiplexed I2C bus core support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 18.02.2013 11:38, schrieb Gerlando Falauto:
> Hi Michael,
> 
> first of all thanks for your answer :-)
> 
> On 02/18/2013 11:19 AM, Michael Lawnick wrote:
> 
>> On my project I do no automatic i2c detection, but all is controlled via
>> user space. So I always know where and which devices and buses get
>> connected.
> 
> You mean you add devices through sysfs? That's another approach I was 
> thinking I'd follow, except it still doesn't solve my problem... meaning 
> I have no reliable way of telling the numbers assigned to the busses added.

Under the assumption that bus numbers increase (which might not be true
in some special cases that do not hit me), you simply compare existing
buses before and after add.
This will be no more necessary if your patch works as intended. Due to
other work load I will not be able to test in the next weeks :-(
-- 
KR
Michael
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux