Hello,

***LIFESAVER*** !!! :)

Thanx A LOT!
Sunday is rescued! 8)))

Best regards,
Meino


Masanori Ogino <masanori.og...@gmail.com> [14-11-02 09:28]:
> 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.cra...@gmx.de>:
> 
> > Dale <rdalek1...@gmail.com> [14-11-02 08:44]:
> > > meino.cra...@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.og...@gmail.com>
> http://twitter.com/omasanori
> http://gplus.to/omasanori

Reply via email to