Questions tagged [i2c]
The i2c tag has no usage guidance.
15
questions
1
vote
0
answers
21
views
Register I2C RTC on x86 platform
I'm trying to register an I2C RTC device on an x86 platform.
I've disabled the PC-Style CMOS driver because I'm on an embedded platform and only my I2C RTC is properly backed up.
Now when I load the ...
2
votes
0
answers
33
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
1
answer
57
views
Is there any difference between #include <linux/ioctl.h> and #include <sys/ioctl.h>?
I have to write a device driver code for temperature sensor using IOCTL, when I was going through a lot of sample codes, I found while surfing the net, I came across this difference in header file, I ...
0
votes
0
answers
24
views
libnfc - read NDEF
I'm trying to read the content of NTAG210µ using a PN532 connected through I2C to a RaspberryPi.
The connection works fine, I'm able to detect the PN532 through I2C, and tools like nfc-poll work well, ...
0
votes
0
answers
29
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 ...
0
votes
0
answers
21
views
udevadm shows offline message logs
I am debugging an issue using udevadm monitor -u. I get continuous logs as under not knowing what it translates to. please help
UDEV [9415.844741] offline /devices/platform/68000000.ocp/48070000.i2c/...
0
votes
0
answers
75
views
How is simultaneous i2c bus access handled by Linux kernel?
I have two sensors with different slave addresses connected on an i2c bus in my custom board. If two different programs try to read the different sensors a same moment of time, will it lead to an ...
0
votes
0
answers
57
views
Do I need to unbind driver on embedded device?
I've been having an issue reading from gpio devices on an embedded device(usrp n310). I2cdetect gives "UU" for the particular devices that I'm trying to reach indicating that the devices are ...
0
votes
0
answers
133
views
Touchpad (ELAN 04F3:3072) not working/detected after BIOS upgrade (Lenovo Ideapad Flex 3 11ADA05)
Reposting this from ArchLinux BBS, because I suspect that it isn't distribution specific.
After a BIOS update from FPCN18WW (2021-07-12) to FPCN24WW (2021-08-19) my touchpad is not recognized in the ...
1
vote
0
answers
163
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 ...
0
votes
0
answers
32
views
When ever new i2c device(slave) is inserted/poweredON, kernel/host has to detect slave device dynamically just like USB. How to achieve it?
The power conditions are that the i2c device(slave) is powered off and the host controller is on. And kernel module should be loaded while booting.
When ever new i2c device(slave) is inserted/...
1
vote
1
answer
53
views
i2c port change randomly
I'm using an Up squared computer.
I connect a device via the i2c port in the HAT connector.
When using i2cdetect I detect the same device (identified by the address) on different ports. Changes occur ...
0
votes
0
answers
155
views
How to Change VL53L0X(TOF) sensor I2C address using c language on BeagleBone Black
Aim: To read Data from 4 VL53L0X(TOF) sensors using I2C communication in C language on BeagleBone Black Board (Debian OS).
I have implement c code for a single VL53L0X(TOF) sensor which is: https://...
1
vote
1
answer
445
views
hwmon: add missing kernel module
TL;DR:
The kernel module sht3x (https://www.kernel.org/doc/html/latest/hwmon/sht3x.html) seems to be missing in a standard debian installation. I need it in order to read an external sensor. How can I ...
1
vote
1
answer
274
views
i2cdetect addresses 7-bit or 8-bit?
Are the addresses reported by i2cdetect 7-bit or 8-bit I2C addresses? My hope is the more general 7-bit address.
I'm starting to run some experiments, but it would be nice if the manpages were a bit ...