Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i2c ioctl #102

Open
prakash56755 opened this issue Jul 20, 2020 · 2 comments
Open

i2c ioctl #102

prakash56755 opened this issue Jul 20, 2020 · 2 comments

Comments

@prakash56755
Copy link

Hi MArtin,

Im trying to emulate i2c ioctl calls but when I run "umockdev-record -s /dev/i2c-0=re.script -- /sbin/manger -f " finally the script contains only "d 0 /dev/i2c-0" But there is nothing related to ioctl calls. do you know what is the reason?

@hadess
Copy link
Contributor

hadess commented Nov 4, 2020

Does manger install its own signal handler for SIGINT? If so, could be the same bug as #96

@benzea
Copy link
Collaborator

benzea commented Jun 25, 2021

The I2C ioctl's are not supported currently.

You can have a look at #125 which implements support for SPI. Something very similar should be possible to do for I2C. You will also be able to work around the lack of support in umockdev by using the public API that will likely be part of 0.16, see #132.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants