ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Linux kernel packages development <devel-kernel@altlinux.ru>
Subject: [d-kernel] Re: kernel-source-sensors-2.8.0
Date: Tue, 19 Aug 2003 20:25:51 +0400
Message-ID: <20030819202551.6688927c.vsu@altlinux.ru> (raw)
In-Reply-To: <87zni5hbd2.fsf@velvet.po.cs.msu.su>

[-- Attachment #1: Type: text/plain, Size: 1928 bytes --]

On Tue, 19 Aug 2003 20:15:53 +0400
Peter Novodvorsky <nidd@myxomop.com> wrote:

> ed@altlinux.ru (Ed V. Bartosh) writes:
> 
> >>>>>> "SV" == Sergey Vlasov writes:
> >
> >  SV>  Вот уже которую сборку тянется:
> >   
> >  SV>          kernel-source-sensors-2.8.0 нужен для
> >  SV>          kernel-modules-sensors-std-up-2.8.0-alt5
> >   
> >  SV>  Где этот kernel-source-sensors-2.8.0? В Сизифе наблюдается
> >  SV>  только kernel-source-lm_sensors-2.8.0-alt3.i586.rpm.
> >
> > По-моему никогда его и не было. kernel-source-sensors был только
> > 2.7.0, но его уже никто не юзает, я надеюсь.
> 
> моя ошибка.

В следующей версии пакетов kernel-modules-sensors-* (или всё-таки
lm_sensors?) предлагаю дополнить spec следующим образом:


--- lm_sensors-std-up.spec.orig	2003-08-15 19:58:59 +0400
+++ lm_sensors-std-up.spec	2003-08-19 19:53:20 +0400
@@ -57,12 +57,20 @@
 %make_build CC=%kcc PREFIX=/usr \
     LINUX=/usr/include/linux-%{kversion}-%{flavour}/ all
 
+%make_build -C prog/hotplug CC=%kcc \
+    INCLUDEDIR=/usr/include/linux-%{kversion}-%{flavour}/include all
+%make_build -C prog/hotplug -f Makefile.p4b CC=%kcc \
+    LINUX=/usr/include/linux-%{kversion}-%{flavour} all
+
 
 %install
 make install LINUX=/usr/include/linux-%{kversion}-%{flavour} \
     DESTDIR=$RPM_BUILD_ROOT LINUX_INCLUDE_DIR=/usr/include/linux-%{kversion}-%{flavour}/include/linux \
     PREFIX=/usr
 
+%__install -p -m644 prog/hotplug/{m7101,p4b_smbus}.o \
+	$RPM_BUILD_ROOT/lib/modules/%kversion-%flavour-%krelease/kernel/drivers/i2c/busses/
+
 
 %post
 /sbin/depmod -a -F /boot/System.map-%{kversion}-%{flavour}-%{krelease} \



Я не совсем уверен относительно m7101 (не на чем проверить), но модуль
p4b_smbus нужен для работы lm_sensors на платах от ASUS с чипсетами
Intel (проверено на ASUS P4PE). На этих платах BIOS отключает SMBus, в
результате i2c-i801 просто не находит устройство.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-08-19 16:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-19 15:49 [d-kernel] kernel-source-sensors-2.8.0 Sergey Vlasov
2003-08-19 15:08 ` Ed V. Bartosh
2003-08-19 16:15   ` [d-kernel] kernel-source-sensors-2.8.0 Sergey Vlasov
2003-08-19 16:15   ` [d-kernel] kernel-source-sensors-2.8.0 Peter Novodvorsky
2003-08-19 16:25     ` Sergey Vlasov [this message]
2003-08-19 16:25 ` [d-kernel] insmod/modprobe in initrd Zhenja Kaluta
2003-08-19 16:32   ` [d-kernel] " Sergey Vlasov
2003-08-19 16:41     ` Dmitry V. Levin
2003-08-20 14:38       ` Zhenja Kaluta

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=20030819202551.6688927c.vsu@altlinux.ru \
    --to=vsu@altlinux.ru \
    --cc=devel-kernel@altlinux.ru \
    /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

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

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


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