Questions tagged [i2c]
The i2c tag has no summary.
20 questions
0 votes
2 answers
528 views
how do I find the current i2c bus speed?
I am building custom game controllers on Linux that use the i2c bus present in video ports such as HDMI, dvi, and VGA, on standard PC hardware (x86_64). I would like to verify my current i2c bus speed ...
1 vote
0 answers
40 views
Adding MCP23017 to device-tree and accessing ICs connected to expander
I try access multiple ICs via I2C over the MCP23017 I/O Expander for a custom embedded board. I know ICs I2C adresses. How should I add the MCP23017 to the device-tree? I think I need to add the ICs ...
1 vote
0 answers
326 views
Does udev have an issue with the 'hwmon' subsystem?
I have a temp/humidity sensor connected to the i2c-0 interface on a Raspberry Pi: Rpi OS ver 'bookworm'. It works fine, and I can read sensor values from the files in /sys/class/hwmon/hwmon2 (or ...
1 vote
1 answer
296 views
x86 ACPI SSDT for I2C device
I'm trying to register I2C gpio expander (PCF8575) on Odroid H3+/Ubuntu 22.04 using ACPI SSDT so later I can easly assign each GPIO as led and use nice names for toggling pins. I have following SSDT ...
0 votes
0 answers
97 views
Giving www-data access to i2c
I have a light sensor that uses I2C for data transmision. Now I want to display that data on a Website. The problem is www-data can't access I2C. I use a Python script that gets run by PHP (I know it'...
2 votes
0 answers
632 views
How to configure an I2c Controller in the PS of the Zynq 7000 as a slave from Linux
I am using a zed board with a Zynq 7000 on it. The end goal is to have the I2c-0 controller in the physical PS of the Zynq7000 to act as an I2c slave device. I am using yocto/bitbake to generate linux ...
0 votes
0 answers
366 views
i2c bus not seen on debian
I have a single board computer with debian jessie installed on it. On this board, there is 2 RTC. One that is not backed up that correspond to rtc-cmos and the other one that is backed up and is ...
1 vote
0 answers
464 views
Unable to enable TLV320AIC3104 codec driver /simple sound card for iMx8M with SAI2 BCLK/MCLK provided with external clock
I am trying to access codec driver (TLV320AIC3104) connected to iMX8M over I2C3 and SAI2 lines. The codec clocks bclk is 4096000 and it is provided from an FPGA and its mclk is grounded. iMx8M SOM ...