* gs10
@ 2005-05-19 6:25 Paul Aviles
2005-05-19 6:25 ` gs10 Jean Delvare
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Paul Aviles @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
I have a Tyan GS10 board that I think uses the pc87360 chipset. In the BIOS
you can see the RPMS of 3 fans, plus the CPU and case temperature. I am
running FC1 and installed without any issues lmsensors and 2.8.7 and i2c
2.8.7. When I run sensors-detect it reports the following...see below.
If I do a modprobe pc87360 it returns
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:
init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:
insmod /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o
failed
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o: insmod
pc87360 failed
Do you have any ideas what I am doing wrong?
Thanks so much.
Paul
Results of sensors-detect
Driver `eeprom' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 1460' (Non-I2C SMBus adapter)
Busdriver `i2c-i801', I2C address 0x50
Chip `SPD EEPROM' (confidence:
* Bus `SMBus I801 adapter at 1460' (Non-I2C SMBus adapter)
Busdriver `i2c-i801', I2C address 0x51
Chip `SPD EEPROM' (confidence:
Driver `pc87360' (should be inserted):
Detects correctly:
* ISA bus address 0x0820 (Busdriver `i2c-isa')
Chip `Nat. Semi. PC87366 Super IO Fan Sensors' (confidence: 9)
* ISA bus address 0x0830 (Busdriver `i2c-isa')
Chip `Nat. Semi. PC87366 Super IO Voltage Sensors' (confidence: 9)
* ISA bus address 0x0860 (Busdriver `i2c-isa')
Chip `Nat. Semi. PC87366 Super IO Thermal Sensors' (confidence: 9)
/etc/modules.conf:
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----
To load everything that is needed, add this to some /etc/rc* file:
#----cut here----
# I2C adapter drivers
modprobe i2c-i801
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe pc87360
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
--
Paul Anthony Aviles
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 9+ messages in thread
* gs10
2005-05-19 6:25 gs10 Paul Aviles
` (3 preceding siblings ...)
2005-05-19 6:25 ` gs10 Jean Delvare
@ 2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` gs10 Jean Delvare
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Jean Delvare @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
Hi Paul,
> If I do a modprobe pc87360 it returns
>
> /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:
> init_module: No such device
> Hint: insmod errors can be caused by incorrect module parameters, including
> invalid IO or IRQ parameters.
> You may find more information in syslog or the output from dmesg
> /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:
> insmod /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o
> failed
> /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o: insmod
> pc87360 failed
>
> (...)
>
> Driver `pc87360' (should be inserted):
> Detects correctly:
> * ISA bus address 0x0820 (Busdriver `i2c-isa')
> Chip `Nat. Semi. PC87366 Super IO Fan Sensors' (confidence: 9)
> * ISA bus address 0x0830 (Busdriver `i2c-isa')
> Chip `Nat. Semi. PC87366 Super IO Voltage Sensors' (confidence: 9)
> * ISA bus address 0x0860 (Busdriver `i2c-isa')
> Chip `Nat. Semi. PC87366 Super IO Thermal Sensors' (confidence: 9)
I suspect that the PC87366 chip is located on the secondary Super-I/O address.
The sensors-detect script supports that, but the pc87366 driver doesn't (yet).
You can check the output of sensors-detect for confirmation, as both Super-I/O
addresses are checked sequentially.
Untested patch to pc87360.c attached, may or may not work. Let me know ;)
Thanks,
--
Jean Delvare
http://khali.linux-fr.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pc87360.c.diff
Type: application/octet-stream
Size: 3705 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20041004/23bee724/pc87360.c.obj
^ permalink raw reply [flat|nested] 9+ messages in thread
* gs10
2005-05-19 6:25 gs10 Paul Aviles
2005-05-19 6:25 ` gs10 Jean Delvare
2005-05-19 6:25 ` gs10 Jean Delvare
@ 2005-05-19 6:25 ` Paul Aviles
2005-05-19 6:25 ` gs10 Jean Delvare
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Paul Aviles @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
yes, the detection is done on the secondary super io. So, patch pc87360.c,
recompile and try again correct?
Thanks so much!!
paul
----- Original Message -----
From: "Jean Delvare" <khali@linux-fr.org>
To: "Paul Aviles" <paul.aviles@palei.com>
Cc: <sensors@Stimpy.netroedge.com>
Sent: Monday, October 04, 2004 5:43 AM
Subject: Re: gs10
> Hi Paul,
>
>> If I do a modprobe pc87360 it returns
>>
>> /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:
>> init_module: No such device
>> Hint: insmod errors can be caused by incorrect module parameters,
>> including
>> invalid IO or IRQ parameters.
>> You may find more information in syslog or the output from dmesg
>> /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:
>> insmod /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o
>> failed
>> /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:
>> insmod
>> pc87360 failed
>>
>> (...)
>>
>> Driver `pc87360' (should be inserted):
>> Detects correctly:
>> * ISA bus address 0x0820 (Busdriver `i2c-isa')
>> Chip `Nat. Semi. PC87366 Super IO Fan Sensors' (confidence: 9)
>> * ISA bus address 0x0830 (Busdriver `i2c-isa')
>> Chip `Nat. Semi. PC87366 Super IO Voltage Sensors' (confidence: 9)
>> * ISA bus address 0x0860 (Busdriver `i2c-isa')
>> Chip `Nat. Semi. PC87366 Super IO Thermal Sensors' (confidence: 9)
>
> I suspect that the PC87366 chip is located on the secondary Super-I/O
> address.
> The sensors-detect script supports that, but the pc87366 driver doesn't
> (yet).
> You can check the output of sensors-detect for confirmation, as both
> Super-I/O
> addresses are checked sequentially.
>
> Untested patch to pc87360.c attached, may or may not work. Let me know ;)
>
> Thanks,
>
> --
> Jean Delvare
> http://khali.linux-fr.org/
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 9+ messages in thread
* gs10
2005-05-19 6:25 gs10 Paul Aviles
@ 2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` gs10 Jean Delvare
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Jean Delvare @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
On Mon, 4 Oct 2004 07:45:21 -0400, Paul Aviles wrote
> yes, the detection is done on the secondary super io. So, patch
> pc87360.c, recompile and try again correct?
Yes, that's it. From within the kernel/chips subdirectory,
patch -p0 < pc87360.c.diff
Note that I could not verify it even compiles yet, will do this evening. The
changes are relatively simple though, so I have good hope.
The pc87360 driver is quite new, so please let me know how it works for you.
Thanks.
--
Jean Delvare
http://khali.linux-fr.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* gs10
2005-05-19 6:25 gs10 Paul Aviles
` (5 preceding siblings ...)
2005-05-19 6:25 ` gs10 Jean Delvare
@ 2005-05-19 6:25 ` Paul Aviles
2005-05-19 6:25 ` gs10 Paul Aviles
7 siblings, 0 replies; 9+ messages in thread
From: Paul Aviles @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
Supposely I enabled ssh on my home firewall but..... no luck. Will need to
wait for tonight...Arggggg.
I read that there is a way to programatically control the speed of the fans
with some type of command if the temperature for example is lower than x, is
that so?
I'll let you know and thanks so much!!!
Paul
On Mon, 4 Oct 2004 13:57:16 +0100, Jean Delvare wrote
> On Mon, 4 Oct 2004 07:45:21 -0400, Paul Aviles wrote
> > yes, the detection is done on the secondary super io. So, patch
> > pc87360.c, recompile and try again correct?
>
> Yes, that's it. From within the kernel/chips subdirectory,
> patch -p0 < pc87360.c.diff
>
> Note that I could not verify it even compiles yet, will do this
> evening. The changes are relatively simple though, so I have good hope.
>
> The pc87360 driver is quite new, so please let me know how it works
> for you.
>
> Thanks.
>
> --
> Jean Delvare
> http://khali.linux-fr.org/
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
--
Paul Anthony Aviles
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 9+ messages in thread
* gs10
2005-05-19 6:25 gs10 Paul Aviles
2005-05-19 6:25 ` gs10 Jean Delvare
@ 2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` gs10 Paul Aviles
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Jean Delvare @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
On Mon, 4 Oct 2004 09:31:19 -0400, Paul Aviles wrote
> I read that there is a way to programatically control the speed of
> the fans with some type of command if the temperature for example is
> lower than x, is that so?
Some chips can be programmed to automatically adjust the fan speed according
to the value of one or more temperature measurements. The PC87360 family
doesn't, as far as I remember. It does however allow manual speed control over
the fans, providing that your motherboard is adequately wired. This is done
through the files /proc/sys/dev/sensors/pc87366-isa-*/pwm* (which you should
get once the pc87360 driver loads succesfully). See in our prog/pwm directory,
there are a couple scripts if you are interested in fan speed control.
--
Jean Delvare
http://khali.linux-fr.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* gs10
2005-05-19 6:25 gs10 Paul Aviles
` (4 preceding siblings ...)
2005-05-19 6:25 ` gs10 Jean Delvare
@ 2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` gs10 Paul Aviles
2005-05-19 6:25 ` gs10 Paul Aviles
7 siblings, 0 replies; 9+ messages in thread
From: Jean Delvare @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
Quoting myself:
> Untested patch to pc87360.c attached, may or may not work. Let me know
> ;)
Actually it *was* broken. Try this one instead.
Thanks.
--
Jean Delvare
http://khali.linux-fr.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pc87360.c.diff
Type: application/octet-stream
Size: 3932 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20041004/8ec2e04e/pc87360.c.obj
^ permalink raw reply [flat|nested] 9+ messages in thread
* gs10
2005-05-19 6:25 gs10 Paul Aviles
` (6 preceding siblings ...)
2005-05-19 6:25 ` gs10 Paul Aviles
@ 2005-05-19 6:25 ` Paul Aviles
7 siblings, 0 replies; 9+ messages in thread
From: Paul Aviles @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
Hmm.. getting this..
[root@srv1 chips]# patch -p0 < pc87360.c.diff
can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: kernel/chips/pc87360.c
|=================================|RCS file: /home/cvs/lm_sensors2/kernel/chips/pc87360.c,v
|retrieving revision 1.40
|diff -u -r1.40 pc87360.c
|--- kernel/chips/pc87360.c 3 Jul 2004 15:50:27 -0000 1.40
|+++ kernel/chips/pc87360.c 4 Oct 2004 21:30:09 -0000
--------------------------
File to patch: pc87360.c
patching file pc87360.c
Hunk #1 succeeded at 77 (offset -1 lines).
Hunk #3 succeeded at 233 (offset -5 lines).
Hunk #4 succeeded at 460 (offset -11 lines).
Hunk #5 succeeded at 475 (offset -5 lines).
Hunk #6 succeeded at 481 (offset -11 lines).
Hunk #7 FAILED at 489.
Hunk #8 succeeded at 515 (offset -5 lines).
Hunk #9 FAILED at 535.
Hunk #10 succeeded at 540 (offset -17 lines).
Hunk #11 succeeded at 1256 (offset -58 lines).
2 out of 11 hunks FAILED -- saving rejects to file pc87360.c.rej
[root@srv1 chips]#
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 9+ messages in thread
* gs10
2005-05-19 6:25 gs10 Paul Aviles
` (2 preceding siblings ...)
2005-05-19 6:25 ` gs10 Paul Aviles
@ 2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` gs10 Jean Delvare
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Jean Delvare @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
On Mon, 4 Oct 2004 18:16:49 -0400, Paul Aviles wrote
> Hmm.. getting this..
>
> [root@srv1 chips]# patch -p0 < pc87360.c.diff
> can't find file to patch at input line 8
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: kernel/chips/pc87360.c
> |=================================> |RCS file: /home/cvs/lm_sensors2/kernel/chips/pc87360.c,v
> |retrieving revision 1.40
> |diff -u -r1.40 pc87360.c
> |--- kernel/chips/pc87360.c 3 Jul 2004 15:50:27 -0000 1.40
> |+++ kernel/chips/pc87360.c 4 Oct 2004 21:30:09 -0000
> --------------------------
> File to patch: pc87360.c
> patching file pc87360.c
> Hunk #1 succeeded at 77 (offset -1 lines).
> Hunk #3 succeeded at 233 (offset -5 lines).
> Hunk #4 succeeded at 460 (offset -11 lines).
> Hunk #5 succeeded at 475 (offset -5 lines).
> Hunk #6 succeeded at 481 (offset -11 lines).
> Hunk #7 FAILED at 489.
> Hunk #8 succeeded at 515 (offset -5 lines).
> Hunk #9 FAILED at 535.
> Hunk #10 succeeded at 540 (offset -17 lines).
> Hunk #11 succeeded at 1256 (offset -58 lines).
> 2 out of 11 hunks FAILED -- saving rejects to file pc87360.c.rej
Yeah, sorry. The patch was against CVS, not 2.8.7. (Great you could fix the
conflicts manually.)
BTW I'd invite you to upgrade to 2.8.8 as soon as it is released (within a few
days now) or CVS if you are impatient. There are significant improvements for
the pc87360 drivers (including VID support if your motherboard offers that).
--
Jean Delvare
http://khali.linux-fr.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-05-19 6:25 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19 6:25 gs10 Paul Aviles
2005-05-19 6:25 ` gs10 Jean Delvare
2005-05-19 6:25 ` gs10 Jean Delvare
2005-05-19 6:25 ` gs10 Paul Aviles
2005-05-19 6:25 ` gs10 Jean Delvare
2005-05-19 6:25 ` gs10 Jean Delvare
2005-05-19 6:25 ` gs10 Jean Delvare
2005-05-19 6:25 ` gs10 Paul Aviles
2005-05-19 6:25 ` gs10 Paul Aviles
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.