From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D9E8E138AEC for ; Sun, 2 Nov 2014 08:25:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B37E1E0C9C; Sun, 2 Nov 2014 08:24:55 +0000 (UTC) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28FF1E0C75 for ; Sun, 2 Nov 2014 08:24:53 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id u10so6059385lbd.30 for ; Sun, 02 Nov 2014 01:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=jxsmFXbdXQyuYJsSESVUdJ/hMmOD3jdi3H5IvE78ZQ4=; b=0RcahMRwLGCh6ieOYf5SDY/peoaTXVWNdYfMimoquLiEH6muJxFxwrzLCXx/pX+UJj /lSk7gdGpEk2YlyyNjZG9JiHPE5p4FvXydEaGGYGuq2/vaZRedwp0xA+9GyrK5fA8X2/ jdqbuLcyvjARMIWqN91t4Of9Lpk+JqPjwpShHldhXYBVFh4VaKM8A0DEQPHC8AI6rc6+ NKvSSs1oaGMjCaN6Xw3u4AOWyxQii135FaO69LQiADzBljKKD8pDGcBqLCKJ2JogZVeL YYjrEaW+EOZgPFAaN1Z+T8jP24ycMhFCP0YBtv4BfqtY8MSfM70SqIPMrH+O1Q7zSFdP jOzA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.152.21.199 with SMTP id x7mr5194085lae.66.1414916692354; Sun, 02 Nov 2014 01:24:52 -0700 (PDT) Sender: masanoriogino@gmail.com Received: by 10.114.181.226 with HTTP; Sun, 2 Nov 2014 01:24:52 -0700 (PDT) In-Reply-To: <20141102075419.GB3864@solfire> References: <20141102061011.GA3864@solfire> <5455DFD8.8080702@gmail.com> <20141102075419.GB3864@solfire> Date: Sun, 2 Nov 2014 17:24:52 +0900 X-Google-Sender-Auth: F2cRo68dh-620ShUYl8iP1ti66U Message-ID: Subject: Re: [gentoo-user] Raiders of the lost package... From: Masanori Ogino To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=089e0158b836d5ab8c0506dbf65a X-Archives-Salt: 09908a23-1c8c-4939-8e39-f866b97f1fa8 X-Archives-Hash: 5c0ce5f5ff8e945417ff6c8f64c19623 --089e0158b836d5ab8c0506dbf65a Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable 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 : > Dale [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=3Dy > > CONFIG_I2C=3Dy > > CONFIG_I2C_BOARDINFO=3Dy > > CONFIG_I2C_COMPAT=3Dy > > CONFIG_I2C_CHARDEV=3Dy > > # CONFIG_I2C_MUX is not set > > CONFIG_I2C_HELPER_AUTO=3Dy > > CONFIG_I2C_ALGOBIT=3Dy > > > > > > SMBUS I think is in the same category. From a search for smbus from > > within menuconfig: > > > > Symbol: I2C_SMBUS > > [=3Dn] > > =81 > > =81 Type : > > tristate > > =81 > > =81 Prompt: SMBus-specific > > protocols > > =81 > > =81 > > Location: > > =81 > > =81 -> Device > > Drivers > > =81 > > =81 -> I2C support (I2C > > [=3Dy]) > > =81 > > =81 (1) -> Autoselect pertinent helper modules (I2C_HELPER_AUTO > > [=3Dy]) > > =81 > > =81 Defined at > > drivers/i2c/Kconfig:76 > > =81 > > =81 Depends on: I2C > > [=3Dy] > > =81 > > =81 Selected by: I2C_PARPORT [=3Dn] && I2C [=3Dy] && HAS_IOMEM [=3D= y] && > > PARPORT [=3Dy] || I2C_PARPORT_LIGHT [=3Dn] && I2C [=3Dy] && HAS_IOMEM > > [=3Dy] =81 > > =81 > > > > 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 > > > > --=20 Masanori Ogino http://twitter.com/omasanori http://gplus.to/omasanori --089e0158b836d5ab8c0506dbf65a Content-Type: text/html; charset=KOI8-R Content-Transfer-Encoding: quoted-printable
Hello.

Installing sys-apps/i2c-tools with `python` = USE flag will install smbus Python module so-called `python-smbus` in Debia= n.

2014-= 11-02 16:54 GMT+09:00 <meino.cramer@gmx.de>:
Dale <rdal= ek1967@gmail.com> [14-11-02 08:44]:
> meino.cr= amer@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 b= ehind 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<= br> > > one "only" needs to do a ...guess... "apt-get pyth= on smbus".
> >
> > Neither "smbus' nor "I2C" produces any match i= n 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.=9A I use it to access my temps and such here.=9A= 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=3Dy
> CONFIG_I2C=3Dy
> CONFIG_I2C_BOARDINFO=3Dy
> CONFIG_I2C_COMPAT=3Dy
> CONFIG_I2C_CHARDEV=3Dy
> # CONFIG_I2C_MUX is not set
> CONFIG_I2C_HELPER_AUTO=3Dy
> CONFIG_I2C_ALGOBIT=3Dy
>
>
> SMBUS I think is in the same category.=9A From a search for smbus from=
> within menuconfig:
>
>=9A Symbol: I2C_SMBUS
> [=3Dn]
> =81
>=9A =9A=81 Type=9A :
> tristate
> =81
>=9A =9A=81 Prompt: SMBus-specific
> protocols
> =81
>=9A =9A=81
> Location:
> =81
>=9A =9A=81=9A =9A =9A-> Device
> Drivers
> =81
>=9A =9A=81=9A =9A =9A =9A-> I2C support (I2C
> [=3Dy])
> =81
>=9A =9A=81 (1)=9A =9A =9A-> Autoselect pertinent helper modules (I2C= _HELPER_AUTO
> [=3Dy])
> =81
>=9A =9A=81=9A =9ADefined at
> drivers/i2c/Kconfig:76
> =81
>=9A =9A=81=9A =9ADepends on: I2C
> [=3Dy]
> =81
>=9A =9A=81=9A =9ASelected by: I2C_PARPORT [=3Dn] && I2C [=3Dy] = && HAS_IOMEM [=3Dy] &&
> PARPORT [=3Dy] || I2C_PARPORT_LIGHT [=3Dn] && I2C [=3Dy] &= & HAS_IOMEM
> [=3Dy]=9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A = =9A =9A =9A =9A =9A =9A =9A =9A =9A=81
>=9A =9A=81
>
> If I recall correctly, SMBUS and I2C work together on getting temps an= d
> fan speeds and such.
>
> Also, some folks use lm-sensors.=9A I think it does the same but in us= er
> space instead of kernel space.=9A That's my understanding anyway.<= br> >
> Hope that helps.
>
> Dale
>
> :-)=9A :-)
>
>

Hi Dale,

thanks for your informations... :)

I did a typo...instead of

=9A =9A =9A"apt-get python smbus".

it must be

=9A =9A =9A"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






--
--089e0158b836d5ab8c0506dbf65a--