Here is some info on my computer setup.
Code: Select all
[apogee@localhost ~]$ uname -a
Linux localhost.localdomain 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Code: Select all
[root@localhost apogee]# lspci -vvv
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
Subsystem: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin C routed to IRQ 18
Region 0: Memory at f7c39000 (64-bit, non-prefetchable) [size=256]
Region 4: I/O ports at f040 [size=32]
Code: Select all
[root@localhost apogee]# ll /sys/class/i2c-dev/
total 0
lrwxrwxrwx. 1 root root 0 Apr 16 06:31 i2c-0 -> ../../devices/pci0000:00/0000:00:02.0/i2c-0/i2c-dev/i2c-0
lrwxrwxrwx. 1 root root 0 Apr 16 06:31 i2c-1 -> ../../devices/pci0000:00/0000:00:02.0/i2c-1/i2c-dev/i2c-1
lrwxrwxrwx. 1 root root 0 Apr 16 06:31 i2c-2 -> ../../devices/pci0000:00/0000:00:02.0/i2c-2/i2c-dev/i2c-2
lrwxrwxrwx. 1 root root 0 Apr 16 06:31 i2c-3 -> ../../devices/pci0000:00/0000:00:02.0/i2c-3/i2c-dev/i2c-3
lrwxrwxrwx. 1 root root 0 Apr 16 06:31 i2c-4 -> ../../devices/pci0000:00/0000:00:02.0/i2c-4/i2c-dev/i2c-4
lrwxrwxrwx. 1 root root 0 Apr 16 06:31 i2c-5 -> ../../devices/pci0000:00/0000:00:02.0/i2c-5/i2c-dev/i2c-5
lrwxrwxrwx. 1 root root 0 Apr 16 06:31 i2c-6 -> ../../devices/pci0000:00/0000:00:02.0/i2c-6/i2c-dev/i2c-6
lrwxrwxrwx. 1 root root 0 Apr 16 06:31 i2c-7 -> ../../devices/pci0000:00/0000:00:02.0/i2c-7/i2c-dev/i2c-7
I suspect that there is no native support for the controller in the kernel. Am I understantding this correctly? Can I add it?
My ultimate goal is interface to slaves of the SMBus controller from user space using i2c-dev.
Thanks,
David