1
votes

I am currently learning about linux device drivers, specifically for using an i2c device with a beaglebone. I have this LCD with a PCF8574AT on it. Searching through the linux drivers folders, I see that a driver gpio-pcf857x.c already exists.

My question is how do I associate this device with this driver? When I do ls -l /dev the major number for i2c-2 is 89 which is the i2c character driver. How do I change this driver association? What material should I research on this? Also, I can see the slave address when I do i2cdetect so I know it is connected.

Any help is greatly appreciated.

1
Stack Overflow is a site for programming and development questions. This question appears to be off-topic because it is not about programming or development. See What topics can I ask about here in the Help Center. Perhaps Super User or Unix & Linux Stack Exchange would be a better place to ask.jww

1 Answers