From: Masanori Ogino <masanori.ogino@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Raiders of the lost package...
Date: Sun, 2 Nov 2014 17:24:52 +0900 [thread overview]
Message-ID: <CAA-4+jc1t0MZyWaFtQSAZV53Eyq6EdrwJAyjFF3T9uCWnU8dpw@mail.gmail.com> (raw)
In-Reply-To: <20141102075419.GB3864@solfire>
[-- Attachment #1: Type: text/plain, Size: 3156 bytes --]
Hello.
Installing sys-apps/i2c-tools with `python` USE flag will install smbus
Python module so-called `python-smbus` in Debian.
2014-11-02 16:54 GMT+09:00 <meino.cramer@gmx.de>:
> Dale <rdalek1967@gmail.com> [14-11-02 08:44]:
> > 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
> >
> > :-) :-)
> >
> >
>
> Hi Dale,
>
> thanks for your informations... :)
>
> I did a typo...instead of
>
> "apt-get python smbus".
>
> it must be
>
> "apt-get python-smbus".
>
>
> I am searching "python-smbus" for Gentoo.
> The kernel configuration is already setup and ok.
>
> Do you the know the translation
>
> of "python-smbus" (Debian-speak)
>
> to ??? for Gentoo?
>
> Thank you very much in advance!
> Best regards,
> Meino
>
>
>
>
--
Masanori Ogino <masanori.ogino@gmail.com>
http://twitter.com/omasanori
http://gplus.to/omasanori
[-- Attachment #2: Type: text/html, Size: 4586 bytes --]
next prev parent reply other threads:[~2014-11-02 8:25 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
2014-11-02 7:54 ` meino.cramer
2014-11-02 8:24 ` Masanori Ogino [this message]
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=CAA-4+jc1t0MZyWaFtQSAZV53Eyq6EdrwJAyjFF3T9uCWnU8dpw@mail.gmail.com \
--to=masanori.ogino@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