From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Raiders of the lost package...
Date: Sun, 02 Nov 2014 01:40:08 -0600 [thread overview]
Message-ID: <5455DFD8.8080702@gmail.com> (raw)
In-Reply-To: <20141102061011.GA3864@solfire>
meino.cramer@gmx.de wrote:
> Hi,
>
> Debain everywhere...
> Ubuntu everywhere...
>
> "To use this library just do a apt-get build-essential, apt-get this
> and apt-get that...your done".
>
> Hrrrmpppfff....
>
> What the heck is "build-essential?" What's hidden behind it?
>
> I am currently facing a similiar problem: I am trying to get
> a TFT display running. For using this library to access this TFT
> one "only" needs to do a ...guess... "apt-get python smbus".
>
> Neither "smbus' nor "I2C" produces any match in the output of
> eix...
>
> What's that package? Is it in Gentoo?
>
> Any help is very appreciated :)
>
> Best regards,
> mcc
>
I2c is in the kernel. I use it to access my temps and such here. Just
a small snippet:
root@fireball / # zcat /proc/config.gz | grep -i i2c
# CONFIG_BMP085_I2C is not set
# CONFIG_SENSORS_LIS3_I2C is not set
CONFIG_MOUSE_SYNAPTICS_I2C=y
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=y
# CONFIG_I2C_MUX is not set
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_ALGOBIT=y
SMBUS I think is in the same category. From a search for smbus from
within menuconfig:
Symbol: I2C_SMBUS
[=n]
│
│ Type :
tristate
│
│ Prompt: SMBus-specific
protocols
│
│
Location:
│
│ -> Device
Drivers
│
│ -> I2C support (I2C
[=y])
│
│ (1) -> Autoselect pertinent helper modules (I2C_HELPER_AUTO
[=y])
│
│ Defined at
drivers/i2c/Kconfig:76
│
│ Depends on: I2C
[=y]
│
│ Selected by: I2C_PARPORT [=n] && I2C [=y] && HAS_IOMEM [=y] &&
PARPORT [=y] || I2C_PARPORT_LIGHT [=n] && I2C [=y] && HAS_IOMEM
[=y] │
│
If I recall correctly, SMBUS and I2C work together on getting temps and
fan speeds and such.
Also, some folks use lm-sensors. I think it does the same but in user
space instead of kernel space. That's my understanding anyway.
Hope that helps.
Dale
:-) :-)
next prev parent reply other threads:[~2014-11-02 7:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-02 6:10 [gentoo-user] Raiders of the lost package meino.cramer
2014-11-02 7:40 ` Dale [this message]
2014-11-02 7:54 ` meino.cramer
2014-11-02 8:24 ` Masanori Ogino
2014-11-02 8:39 ` meino.cramer
2014-11-02 8:50 ` Neil Bothwick
2014-11-02 9:35 ` meino.cramer
2014-11-03 2:13 ` Tom H
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5455DFD8.8080702@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox