* [lm-sensors] dme1737: Base address not set / How to do the BIOS' job
@ 2009-04-29 15:17 Stefan Steuerwald
2009-04-29 20:17 ` [lm-sensors] dme1737: Base address not set / How to do the Rudolf Marek
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Stefan Steuerwald @ 2009-04-29 15:17 UTC (permalink / raw)
To: lm-sensors
[-- Attachment #1.1: Type: text/plain, Size: 566 bytes --]
Hi lm-sensor,
I have an embedded system with a SCH3114 Super-I/O sitting at 0x2E on the
LPC bus.
My BIOS does not support this chip, hence it goes uninitialized on boot.
Consequently, when I load the dme1737 kernel module, it says "Base address
not set".
For lack of a better BIOS, I think I have to manually poke around the
SCH3114's registers to set base address, IRQ numbers, whatever else.
Correct?
Maybe anybody can point me to some code that may be doing something similar?
I'd like to enable the Super-I/O's USARTs and LPT, above all.
Thank you,
Stefan.
[-- Attachment #1.2: Type: text/html, Size: 636 bytes --]
[-- Attachment #2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [lm-sensors] dme1737: Base address not set / How to do the
2009-04-29 15:17 [lm-sensors] dme1737: Base address not set / How to do the BIOS' job Stefan Steuerwald
@ 2009-04-29 20:17 ` Rudolf Marek
2009-04-30 6:38 ` Stefan Steuerwald
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Rudolf Marek @ 2009-04-29 20:17 UTC (permalink / raw)
To: lm-sensors
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
> For lack of a better BIOS, I think I have to manually poke around the
> SCH3114's registers to set base address, IRQ numbers, whatever else.
> Correct?
Yes,
But why the BIOS does not support that? Maybe its not used for monitoring at
all. Maybe you have added to system somehow? (on some strange addon card?)
What southbridge you have? Vendor/model?
Thanks,
Rudolf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkn4tcgACgkQ3J9wPJqZRNU5BwCfZx/9ImhkLImucc2F1Mppt3iT
38QAoJ3Iedeex9UaaUWgi9FIhuMqSm/j
=TrYY
-----END PGP SIGNATURE-----
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [lm-sensors] dme1737: Base address not set / How to do the
2009-04-29 15:17 [lm-sensors] dme1737: Base address not set / How to do the BIOS' job Stefan Steuerwald
2009-04-29 20:17 ` [lm-sensors] dme1737: Base address not set / How to do the Rudolf Marek
@ 2009-04-30 6:38 ` Stefan Steuerwald
2009-04-30 7:21 ` Rudolf Marek
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Stefan Steuerwald @ 2009-04-30 6:38 UTC (permalink / raw)
To: lm-sensors
[-- Attachment #1.1: Type: text/plain, Size: 1414 bytes --]
Thank you Rudolf,
I have a credit-card sized cpu module with an Intel Atom Z530 and a SMSC3114
Super-IO on a baseboard. The BIOS on the CPU module is a minimal one and
apparently has support only for some Winbond Super-IO and little else.
Now that you have confirmed my suspicion...
I browsed through what sensors-detect does and have been able to use some
outb/inb sequence to set the base address of the chip and activate it. When
I use dme1737 with the force_start=yes module parameter, I am getting
voltage and temp readings. Nice!
Let's see if I can get the rest working without crashing the system.
Thanks again,
Stefan.
2009/4/29 Rudolf Marek <r.marek@assembler.cz>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
>
> > For lack of a better BIOS, I think I have to manually poke around the
> > SCH3114's registers to set base address, IRQ numbers, whatever else.
> > Correct?
>
> Yes,
>
> But why the BIOS does not support that? Maybe its not used for monitoring
> at
> all. Maybe you have added to system somehow? (on some strange addon card?)
>
> What southbridge you have? Vendor/model?
>
> Thanks,
> Rudolf
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkn4tcgACgkQ3J9wPJqZRNU5BwCfZx/9ImhkLImucc2F1Mppt3iT
> 38QAoJ3Iedeex9UaaUWgi9FIhuMqSm/j
> =TrYY
> -----END PGP SIGNATURE-----
>
[-- Attachment #1.2: Type: text/html, Size: 1890 bytes --]
[-- Attachment #2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [lm-sensors] dme1737: Base address not set / How to do the
2009-04-29 15:17 [lm-sensors] dme1737: Base address not set / How to do the BIOS' job Stefan Steuerwald
2009-04-29 20:17 ` [lm-sensors] dme1737: Base address not set / How to do the Rudolf Marek
2009-04-30 6:38 ` Stefan Steuerwald
@ 2009-04-30 7:21 ` Rudolf Marek
2009-04-30 12:33 ` Stefan Steuerwald
2009-04-30 22:57 ` Rudolf Marek
4 siblings, 0 replies; 6+ messages in thread
From: Rudolf Marek @ 2009-04-30 7:21 UTC (permalink / raw)
To: lm-sensors
Hi,
If you tell me cat /proc/cpuinfo and what type of SB you have I might tell some
IO addresses which are safe to use ;)
I think you can setup there usually something around 0x300 like 0x290. Assuming
that the rest of superio lives at 0x2e/0x2f or so...
Btw what BIOS is that?
Rudolf
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [lm-sensors] dme1737: Base address not set / How to do the
2009-04-29 15:17 [lm-sensors] dme1737: Base address not set / How to do the BIOS' job Stefan Steuerwald
` (2 preceding siblings ...)
2009-04-30 7:21 ` Rudolf Marek
@ 2009-04-30 12:33 ` Stefan Steuerwald
2009-04-30 22:57 ` Rudolf Marek
4 siblings, 0 replies; 6+ messages in thread
From: Stefan Steuerwald @ 2009-04-30 12:33 UTC (permalink / raw)
To: lm-sensors
[-- Attachment #1.1: Type: text/plain, Size: 528 bytes --]
Have attached cpuinfo and ioports.
I chose 0x0600 as the base address for the SCH3114 SuperIO, seems to work so
far. Better suggestions welcome ;-)
Thank you!
Stefan.
2009/4/30 Rudolf Marek <r.marek@assembler.cz>
> Hi,
>
> If you tell me cat /proc/cpuinfo and what type of SB you have I might tell
> some IO addresses which are safe to use ;)
>
> I think you can setup there usually something around 0x300 like 0x290.
> Assuming that the rest of superio lives at 0x2e/0x2f or so...
>
> Btw what BIOS is that?
>
> Rudolf
>
[-- Attachment #1.2: Type: text/html, Size: 858 bytes --]
[-- Attachment #2: proc.cpuinfo --]
[-- Type: application/octet-stream, Size: 1360 bytes --]
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU Z530 @ 1.60GHz
stepping : 2
cpu MHz : 1595.960
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips : 3191.92
clflush size : 64
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU Z530 @ 1.60GHz
stepping : 2
cpu MHz : 1595.960
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips : 3191.93
clflush size : 64
power management:
[-- Attachment #3: proc.ioports --]
[-- Type: application/octet-stream, Size: 1010 bytes --]
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0070-0071 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : 0000:00:1f.1
0170-0177 : pata_sch
01f0-01f7 : 0000:00:1f.1
01f0-01f7 : pata_sch
0376-0376 : 0000:00:1f.1
0376-0376 : pata_sch
03c0-03df : vga+
03f6-03f6 : 0000:00:1f.1
03f6-03f6 : pata_sch
0400-043f : pnp 00:06
0400-043f : isch_smbus
0480-04bf : pnp 00:06
04d0-04d1 : pnp 00:06
0670-0671 : dme1737
0670-0671 : dme1737
0810-0815 : ACPI CPU throttle
0900-09f3 : pnp 00:06
0900-0903 : ACPI PM1a_EVT_BLK
0904-0905 : ACPI PM1a_CNT_BLK
0908-090b : ACPI PM_TMR
0920-0920 : ACPI PM2_CNT_BLK
09c0-09c7 : ACPI GPE0_BLK
0a00-0a0f : pnp 00:05
0cf8-0cff : PCI conf1
e080-e09f : 0000:00:1d.1
e080-e09f : uhci_hcd
e480-e49f : 0000:00:1d.0
e480-e49f : uhci_hcd
e880-e887 : 0000:00:02.0
ef00-ef1f : 0000:00:1d.2
ef00-ef1f : uhci_hcd
ffa0-ffaf : 0000:00:1f.1
ffa0-ffaf : pata_sch
[-- Attachment #4: Type: text/plain, Size: 153 bytes --]
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [lm-sensors] dme1737: Base address not set / How to do the
2009-04-29 15:17 [lm-sensors] dme1737: Base address not set / How to do the BIOS' job Stefan Steuerwald
` (3 preceding siblings ...)
2009-04-30 12:33 ` Stefan Steuerwald
@ 2009-04-30 22:57 ` Rudolf Marek
4 siblings, 0 replies; 6+ messages in thread
From: Rudolf Marek @ 2009-04-30 22:57 UTC (permalink / raw)
To: lm-sensors
Hi,
Yes 600 looks good to me also.
Rudolf
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-04-30 22:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-29 15:17 [lm-sensors] dme1737: Base address not set / How to do the BIOS' job Stefan Steuerwald
2009-04-29 20:17 ` [lm-sensors] dme1737: Base address not set / How to do the Rudolf Marek
2009-04-30 6:38 ` Stefan Steuerwald
2009-04-30 7:21 ` Rudolf Marek
2009-04-30 12:33 ` Stefan Steuerwald
2009-04-30 22:57 ` Rudolf Marek
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.