Hello!
I work with DVSDK_4_02 and linux-2.6.32 and I need control matrix from user-space. Part registers I can configure via v4l2 ioctl, but this is not all registers.
I have read Documentation/i2c/dev-interface and write library. Next sequence typical for read register:
- open /dev/i2c-1
- set I2C address via I2c_SLAVE ioctl
- read register value
All functions work without errors, but returned value is not correct.
Can I read/write matrix register via /dev/i2c or I need use v4l2 ioctls VIDIOC_DBG_G_REGISTER, VIDIOC_DBG_S_REGISTER or driver must create device for this?
Thank you and excuse me my bad english.