Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Raiders of the lost package... Masanori Ogino <masanori.ogino@×××××.com>