ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [mdk-re] module.conf for sensors
  @ 2001-09-03 12:08 ` Alexey Korotkov
  2001-09-03 15:32   ` Konstantin Volckov
  2001-09-07 11:34   ` Michael Shigorin
  0 siblings, 2 replies; 3+ messages in thread
From: Alexey Korotkov @ 2001-09-03 12:08 UTC (permalink / raw)
  To: mandrake-russian

On Mon, 3 Sep 2001 06:42:05 +0400
Pavel Marakhovsky <_troggy_@mtu-net.ru> wrote:

...
> У кого-нибудь грузятся модули для сенсоров материнки в modules.conf? А то когда настраивал lm_sensors

Маленько встряну :-). Сам хотел спросить -- Вы опередили.
В дополнение к вопросу -- можно ли сенсоры загнать в ядро, а то
не люблю с модулями возиться. При компиляции ядра подключил,
но не работает. При загрузке почему-то modprobe (?? -- в ядре
у меня поддержка модулей вообще отключена) ругается как раз
по поводу сенсоров. Чип VIA 686a.

-- 
With best regards,
Alexey Korotkov

mailto:ziga@udm.net




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [mdk-re] module.conf for sensors
  2001-09-03 12:08 ` [mdk-re] module.conf for sensors Alexey Korotkov
@ 2001-09-03 15:32   ` Konstantin Volckov
  2001-09-07 11:34   ` Michael Shigorin
  1 sibling, 0 replies; 3+ messages in thread
From: Konstantin Volckov @ 2001-09-03 15:32 UTC (permalink / raw)
  To: mandrake-russian

On Mon, 3 Sep 2001 12:50:06 -0400
Alexey Korotkov <ziga@udm.net> wrote:

Hi!

> Маленько встряну :-). Сам хотел спросить -- Вы опередили.
> В дополнение к вопросу -- можно ли сенсоры загнать в ядро, а то
> не люблю с модулями возиться. При компиляции ядра подключил,
> но не работает. При загрузке почему-то modprobe (?? -- в ядре
> у меня поддержка модулей вообще отключена) ругается как раз
> по поводу сенсоров. Чип VIA 686a.

Судя по конфигу, модули из lm_sensors можно собрать в ядро. Но я это не
проверял :-) Из общих соображений если вкомпилить в ядро только те модули,
которые реально нужны - все должно работать.

> -- 
> With best regards,
> Alexey Korotkov


-- 
Успехов,
Konstantin



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [mdk-re] module.conf for sensors
  2001-09-03 12:08 ` [mdk-re] module.conf for sensors Alexey Korotkov
  2001-09-03 15:32   ` Konstantin Volckov
@ 2001-09-07 11:34   ` Michael Shigorin
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Shigorin @ 2001-09-07 11:34 UTC (permalink / raw)
  To: mandrake-russian

On Mon, 3 Sep 2001, Alexey Korotkov wrote:

> > У кого-нибудь грузятся модули для сенсоров материнки в modules.conf? А то
> > когда настраивал lm_sensors
>
> Маленько встряну :-). Сам хотел спросить -- Вы опередили.
> В дополнение к вопросу -- можно ли сенсоры загнать в ядро, а то
> не люблю с модулями возиться. При компиляции ядра подключил,
> но не работает. При загрузке почему-то modprobe (?? -- в ядре
> у меня поддержка модулей вообще отключена) ругается как раз
> по поводу сенсоров. Чип VIA 686a.
--- /etc/rc.d/init.d/sensors ---
#!/bin/bash
#
# chkconfig: 2345 25 15
# description: init my VIA686 sensors

# source function library
. /etc/rc.d/init.d/functions

RETVAL=0

case "$1" in
  start)
	echo -n "Configuring hardware monitoring: "
	modprobe i2c-viapro && \
	modprobe via686a && \
	modprobe i2c-isa
	RETVAL=$?
	echo
	;;
  stop)
	echo -n "Disabling hardware monitoring: "
	rmmod i2c-isa && \
	rmmod via686a && \
	rmmod i2c-viapro
	RETVAL=$?
	;;
  restart|reload)
	$0 stop
	$0 start
	RETVAL=$?
	;;
  status)
	sensors
	RETVAL=$?
	;;
  *)
	echo "Usage: sensors {start|stop|status|restart|reload}"
	exit 1
esac

exit $RETVAL

----

Самописанное под себя :-(

А вообще хорошо бы попытаться это все чудо (lsmod,
sensors-detect, lsmod, diff?) упихать пакету если не в
post-install, так хоть в "левый скрипт" по настройке одним
щелчком...

-- 
WBR, Michael Shigorin, webmaster of www.chem.univ.kiev.ua
>Home Page:  http://visa.chem.univ.kiev.ua/~mike/  ICQ: 113344029
>Brainbench: http://www.brainbench.com/transcript.jsp?pid=2434729




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-09-07 11:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-03 12:08 ` [mdk-re] module.conf for sensors Alexey Korotkov
2001-09-03 15:32   ` Konstantin Volckov
2001-09-07 11:34   ` Michael Shigorin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git