Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lm-sensors && i2c support
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
ManJak
Guru
Guru


Joined: 18 Dec 2004
Posts: 561
Location: St. Petersburg, Russia

PostPosted: Sat Dec 25, 2004 8:59 am    Post subject: lm-sensors && i2c support Reply with quote

Решил собрать (lm-sensors):

# emerge -pv lm-sensors

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] sys-apps/i2c-2.8.7 136 kB
[ebuild N ] sys-apps/lm-sensors-2.8.7 -debug -rrdtool 772 kB

Total size of downloads: 909 kB

не понял и решил посмотреть, что он еще пихает:
====
* sys-apps/i2c
Latest version available: 2.8.7
Latest version installed: [ Not Installed ]
Size of downloaded files: 136 kB
Homepage: http://www2.lm-sensors.nu/~lm78/
Description: I2C Bus support for 2.4.x kernels
License: GPL-2
====


Еще больше не понял, проверил:
# cat /usr/src/linux/.config | grep -i i2c
# I2C support
CONFIG_I2C=m
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_PHILIPSPAR=m
CONFIG_I2C_ELV=m
CONFIG_I2C_VELLEMAN=m
# CONFIG_SCx200_I2C is not set
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ELEKTOR=m
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_PROC=m
CONFIG_I2C_PARPORT=m

т.е., поддержка ЕСТЬ!!!

# lsmod | grep -i i2c
snd-i2c 2716 0 (unused)
snd 33828 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-seq-oss snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-i2c]
snd-page-alloc 4872 0 [snd-mixer-oss snd-intel8x0 snd-pcm snd-seq-oss snd-seq snd-timer snd-seq-device snd-i2c snd]
i2c-algo-bit 7080 0 (unused)
i2c-algo-pcf 4900 0 (unused)
i2c-dev 3972 0 (unused)
i2c-proc 6576 0 (unused)
i2c-core 12388 0 [i2c-algo-bit i2c-algo-pcf i2c-dev i2c-proc]

И даже работает!!!

Чтож он сабака мне свои модули пихать пытается?
Нафига они мне?
Сборку пока отложил, до выяснения обстоятельств.

Просветите плиз,
что енто и собственно нафига?
т.к., посмотрев тут:
http://www2.lm-sensors.nu/~lm78/

понял, что это именно модули ядра, которые уже собранны!
Back to top
View user's profile Send private message
ManJak
Guru
Guru


Joined: 18 Dec 2004
Posts: 561
Location: St. Petersburg, Russia

PostPosted: Tue Dec 28, 2004 11:53 am    Post subject: Re: lm-sensors && i2c support Reply with quote

В общем собрал, байда-какая-то, можно sys-apps/i2c-2.8.7 просто маскировать, чего и всем советую, ибо разницы = НИКАКОЙ!
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Tue Dec 28, 2004 12:18 pm    Post subject: Reply with quote

Почему байда? А как быть тем, кто 2.4 ядро пользует (в нем нет этих дров)?

Этот пакет действительно не влияет на работу самих сенсоров (после установки на 2.6 ядре можно грохать), но без этой жесткой связки на 2.4 ядре вообще ничего не заработает, нет там дров. Проще воспользоваться ключиком --nodeps для lm-sensors (при наличии 2.6 ядра), чем руками ставить i2c для обеспечения дровами ядра 2.4.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum