Hi Paul , Is this a custom peripheral that you are trying to communicate 
with using i2c .
or the support have been already added to the board ? 
Check for driver in kernel source . If not available you can write your own 
android kernel driver to communicate with i2c .


On Thursday, January 24, 2019 at 7:44:43 AM UTC+5:30, Paul Kalebu wrote:
>
> Thanks Celeste! Is there a driver I can modify to write to a specific I2C 
> device on bootup?
>
> On Tue, Jan 22, 2019 at 9:09 AM Celeste Valambhia <celeste....@gmail.com 
> <javascript:>> wrote:
>
>> Hi Paul,
>>
>> init scripts are generally located at device/qcom/common/rootdir/etc in 
>> HLOS. 
>>
>> On Wednesday, January 9, 2019 at 9:09:53 AM UTC+5:30, Paul Kalebu wrote:
>>>
>>> Similar to my last question, I'm trying to automatically write to an I2C 
>>> device when the host boots up. From looking online, it seems that this is 
>>> usually done in the init.d folder in etc, but the folder doesn't exist. How 
>>> else can I go about doing this? Is there a way to do it in the device tree 
>>> or as part of the kernel?
>>>
>> -- 
>> -- 
>> unsubscribe: android-porti...@googlegroups.com <javascript:>
>> website: http://groups.google.com/group/android-porting
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "android-porting" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-porti...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to