Mar 30 16:33:03 mapache kernel: snd-aoa-codec-onyx: found k2-i2c, checking if onyx chip is on it (0x46) Mar 30 16:33:03 mapache kernel: snd-aoa-codec-onyx: failed to read control register Mar 30 16:33:03 mapache kernel: snd-aoa-codec-onyx: found k2-i2c, checking if onyx chip is on it (0x47) Mar 30 16:33:03 mapache kernel: snd-aoa-codec-onyx: failed to read control registerWell, looks like my code doesn't detect the codec. Maybe it is on a different i2c bus? I have no idea.
Isn't there a way to list the buses? Something like lspci ... Even if it's a script traversing device-tree. This is the output from i2cdetect. If I try to get more information on each buses I get a warning about possible data loss, so I'm not about to do that yet. Does this help? Installed I2C busses: i2c-8 unknown u3 0 i2c-7 i2c u3 1 i2c-6 i2c mac-io 0 i2c-5 i2c smu 11 i2c-4 i2c smu 14 i2c-3 i2c crt2 i2c-2 i2c vga i2c-1 i2c dvi i2c-0 i2c monid