Tiny Core Linux
General TC => General TC Talk => Topic started by: paco on January 28, 2014, 08:42:58 AM
-
Hello all,
I installed Core x86 (3.8.13-tinycore) on my Alix 2D13 (http://pcengines.ch/alix2d13.htm (http://pcengines.ch/alix2d13.htm)), but I do not get my I2C working.
I installed hwmon- and i2c-modules and loaded some of them:
tc@box:~$ sudo modprobe natsemi
tc@box:~$ sudo modprobe lm90
tc@box:~$ sudo modprobe scx200_acb
tc@box:~$ sudo modprobe i2c-dev
...but /dev/i2c-0 does not show:
tc@box:~$ ls /dev/i2*
ls: /dev/i2*: No such file or directory
As suggested somewhere else I added the node manually:
tc@box:~$ sudo mknod /dev/i2c-0 c 89 0
...but running (self-compiled) i2c-tools gives me:
tc@box:~$ ls /dev/i2*
/dev/i2c-0
tc@box:~$ sudo sh -c 'LD_LIBRARY_PATH=/usr/local/lib/ i2cdetect -y 0'
Error: Could not open file `/dev/i2c-0': No such device
Any ideas?
Cheers,
Patrick
P.S.: i2cdetect works fine using voyage-linux:
It loads these modules:
lm90
scx200_acb
geodewdt
led-class
ledtrig-heartbeat
ledtrig-timer
ledtrig-netdev
...and loading i2c-dev creates /dev/i2c-0.
root@voyage:/etc# i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- 4c -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- 5c -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
-
V3 core is not being maintained. I suggest you try V5.
-
Hi, I use current V5.2.
-
Are you sure the modules detected your hardware? Please post the last ~20 lines of dmesg.
-
My dmesg outputs:
tc@box:~$ sudo modprobe -v natsemi
natsemi dp8381x driver, version 2.1, Sept 11, 2006
originally by Donald Becker <becker@scyld.com>
2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
tc@box:~$ sudo modprobe -v lm90
<no output in dmesg>
tc@box:~$ sudo modprobe -v scx200_acb
<no output in dmesg>
tc@box:~$ sudo modprobe -v i2c-dev
i2c /dev entries driver
-
Maybe this here:
http://forums.gentoo.org/viewtopic-t-894334-start-0.html (http://forums.gentoo.org/viewtopic-t-894334-start-0.html)
"It turned out that I need "cs5535_mfd" in recent kernels."
-
Yes, we don't have that built at the moment. You can either build a custom kernel, or just the module for our kernel.