AccessManager I2C device name configuration using argument

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

AccessManager I2C device name configuration using argument

1,313件の閲覧回数
ajitsj3
Contributor II

 

Could we configure the I2C device name as "i2c-0" without making changes in the accessManager code?

We might have to use "i2c-1" as I2C device name for another device. 

So please let me know if there is a way to send this I2C device name as argument for accessManager?

 

Thanks and regards

Ajit S J

0 件の賞賛
返信
1 返信

1,305件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @ajitsj3 ,

 

Actually so far there is no solution other than modifying the default I2C device name in AccessManager source code, but for your case , I would recommend modifying the default I2C device name in the source code to some symbol link file in the Linux file system, for example, "/dev/i2c-s" , and link i2c-s to different device name such as "/dev/i2c-2" or something like this. so you just need to change the default I2C device name just once.

 

Hope that makes sense,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信