Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Raiders of the lost package...
Date: Sun, 02 Nov 2014 07:40:19
Message-Id: 5455DFD8.8080702@gmail.com
In Reply to: [gentoo-user] Raiders of the lost package... by meino.cramer@gmx.de
1 meino.cramer@×××.de wrote:
2 > Hi,
3 >
4 > Debain everywhere...
5 > Ubuntu everywhere...
6 >
7 > "To use this library just do a apt-get build-essential, apt-get this
8 > and apt-get that...your done".
9 >
10 > Hrrrmpppfff....
11 >
12 > What the heck is "build-essential?" What's hidden behind it?
13 >
14 > I am currently facing a similiar problem: I am trying to get
15 > a TFT display running. For using this library to access this TFT
16 > one "only" needs to do a ...guess... "apt-get python smbus".
17 >
18 > Neither "smbus' nor "I2C" produces any match in the output of
19 > eix...
20 >
21 > What's that package? Is it in Gentoo?
22 >
23 > Any help is very appreciated :)
24 >
25 > Best regards,
26 > mcc
27 >
28
29 I2c is in the kernel. I use it to access my temps and such here. Just
30 a small snippet:
31
32 root@fireball / # zcat /proc/config.gz | grep -i i2c
33 # CONFIG_BMP085_I2C is not set
34 # CONFIG_SENSORS_LIS3_I2C is not set
35 CONFIG_MOUSE_SYNAPTICS_I2C=y
36 CONFIG_I2C=y
37 CONFIG_I2C_BOARDINFO=y
38 CONFIG_I2C_COMPAT=y
39 CONFIG_I2C_CHARDEV=y
40 # CONFIG_I2C_MUX is not set
41 CONFIG_I2C_HELPER_AUTO=y
42 CONFIG_I2C_ALGOBIT=y
43
44
45 SMBUS I think is in the same category. From a search for smbus from
46 within menuconfig:
47
48 Symbol: I2C_SMBUS
49 [=n]
50
51 │ Type :
52 tristate
53
54 │ Prompt: SMBus-specific
55 protocols
56
57
58 Location:
59
60 │ -> Device
61 Drivers
62
63 │ -> I2C support (I2C
64 [=y])
65
66 │ (1) -> Autoselect pertinent helper modules (I2C_HELPER_AUTO
67 [=y])
68
69 │ Defined at
70 drivers/i2c/Kconfig:76
71
72 │ Depends on: I2C
73 [=y]
74
75 │ Selected by: I2C_PARPORT [=n] && I2C [=y] && HAS_IOMEM [=y] &&
76 PARPORT [=y] || I2C_PARPORT_LIGHT [=n] && I2C [=y] && HAS_IOMEM
77 [=y] │
78
79
80 If I recall correctly, SMBUS and I2C work together on getting temps and
81 fan speeds and such.
82
83 Also, some folks use lm-sensors. I think it does the same but in user
84 space instead of kernel space. That's my understanding anyway.
85
86 Hope that helps.
87
88 Dale
89
90 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Raiders of the lost package... meino.cramer@×××.de