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