* cpufreq on Coppermine
@ 2005-11-17 22:05 Luca
2005-11-18 15:41 ` Bruno Ducrot
[not found] ` <20051120025915.GA7617@kroworsch.de>
0 siblings, 2 replies; 9+ messages in thread
From: Luca @ 2005-11-17 22:05 UTC (permalink / raw)
To: cpufreq
hi, I try to use cpu scaling on a Laptop with a coppermine 700Mhz.
/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 6
cpu MHz : 549.791
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat p
se36 mmx fxsr sse
bogomips : 1099.88
lspci -vvv :
0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX -
82443BX/ZX/DX Host bridge (rev 03)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
Latency: 64
Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
Capabilities: <available only to root>
0000:00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX
AGP bridge (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 128
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 00002000-00002fff
Memory behind bridge: fc100000-fdffffff
Prefetchable memory behind bridge: 28000000-280fffff
BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+
0000:00:04.0 Multimedia audio controller: ESS Technology ES1988
Allegro-1 (rev 12)
Subsystem: NEC Corporation: Unknown device 80f1
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at 1400 [size=256]
Capabilities: <available only to root>
0000:00:06.0 Ethernet controller: 3Com Corporation 3c556B CardBus
[Tornado] (rev 20)
Subsystem: 3Com Corporation 10/100 Mini PCI Ethernet Adapter
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 80 (2500ns min, 2500ns max), Cache Line Size: 0x08 (32 bytes)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at 1800 [size=256]
Region 1: Memory at fc000400 (32-bit, non-prefetchable) [size=128]
Region 2: Memory at fc000000 (32-bit, non-prefetchable) [size=128]
Expansion ROM at 28100000 [disabled] [size=128K]
Capabilities: <available only to root>
0000:00:06.1 Communication controller: 3Com Corporation Mini PCI 56k
Winmodem (rev 20)
Subsystem: 3Com Corporation Mini PCI 56K Modem
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at 1c00 [disabled] [size=256]
Region 1: Memory at fc000c00 (32-bit, non-prefetchable)
[disabled] [size=256]
Region 2: Memory at fc000800 (32-bit, non-prefetchable)
[disabled] [size=128]
Capabilities: <available only to root>
0000:00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE
(rev 01) (prog-if 80 [Master])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Region 4: I/O ports at 1080 [size=16]
0000:00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB
(rev 01) (prog-if 00 [UHCI])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Interrupt: pin D routed to IRQ 5
Region 4: I/O ports at 1060 [size=32]
0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin ? routed to IRQ 9
0000:00:0c.0 CardBus bridge: Texas Instruments PCI1420
Subsystem: NEC Corporation Versa Note VXi
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 168, Cache Line Size: 0x20 (128 bytes)
Interrupt: pin A routed to IRQ 10
Region 0: Memory at 28120000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
Memory window 0: 20000000-21fff000 (prefetchable)
Memory window 1: 22000000-23fff000
I/O window 0: 00003000-000030ff
I/O window 1: 00003400-000034ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
0000:00:0c.1 CardBus bridge: Texas Instruments PCI1420
Subsystem: NEC Corporation Versa Note VXi
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 168, Cache Line Size: 0x20 (128 bytes)
Interrupt: pin A routed to IRQ 10
Region 0: Memory at 28121000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
Memory window 0: 24000000-25fff000 (prefetchable)
Memory window 1: 26000000-27fff000
I/O window 0: 00003800-000038ff
I/O window 1: 00003c00-00003cff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
0000:00:0d.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 Host
Controller (rev 01) (prog-if 10 [OHCI])
Subsystem: NEC Corporation: Unknown device 80fa
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 64, Cache Line Size: 0x08 (32 bytes)
Interrupt: pin A routed to IRQ 10
Region 0: Memory at fc001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <available only to root>
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage
Mobility P/M AGP 2x (rev 64) (prog-if 00 [VGA])
Subsystem: NEC Corporation: Unknown device 80b7
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 66 (2000ns min), Cache Line Size: 0x08 (32 bytes)
Interrupt: pin A routed to IRQ 5
Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Region 1: I/O ports at 2000 [size=256]
Region 2: Memory at fc100000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at 28000000 [disabled] [size=128K]
Capabilities: <available only to root>
I use an utility named speedstep-detect found here
http://www.poupinou.org/cpufreq/
and the result is:
dmi_scan: return:
DMI 2.3 present.
49 structures occupying 2000 bytes.
DMI table at 0x000E7010.
BIOS Vendor: NEC
BIOS Version: NOTE BIOS Version /175A2700
BIOS Release: 03/06/2001
System Vendor: NEC
Product Name:
Version:
Board Vendor: NEC
Board Name:
Board Version:
Trying Intel's int15 GSIC:
BIOS support GSIC call:
signature: GSIC
command port = 0x00b2
command = 0x0080
event port = 0x000000b3
flags = 0x07d00001
probing chipsets: Found PIIX4
pmbase at 0x1000
Dumping PM IO register for this southbridge:
PMCNTRL (0x1004): 0x1401
(0x1006): 0x0000
GPEN (0x100e): 0x0600
PCNTRL (0x1010): 0x00001202
(0x1016): 0x0000
DEVSTS (0x101c): 0x00000000
GLBLEN (0x1020): 0x0400
(0x1022): 0x00000000
GLBCTL (0x1028): 0x02013c05
DEVCTL (0x102c): 0x01000000
GPIs: (0x1030): 0x37e863
(0x1033): 0x00
GPOs: (0x1034): 0x37fffefe
(0x1038): 0x63 0xe8 0x37 0x00 0xfe 0xfe 0xff 0x37
You need to boot on AC and battery and see if GPOs change.
Then, see if one bit change in between, you have then to note the number
of this bit. This will be the gpo_hilo= number kernel option for
enabling the speedstep-piix4 module under Linux.
..28..24..20..16..12...8...4...0
GPOs: (0x1034): 0x37fffefe 00110111111111111111111011111110
if I power on the pc only with battery GPOs change in
GPOs: (0x1034): 0x37fffeff
(0x1038): 0x63 0xe8 0x37 0x00 0xff 0xfe 0xff 0x37
I try to use speedstep_smi with some option for example
modprobe speedstep-smi smi_port=0xb2 smi_cmd=0x82 smi_sig=1
but the result is
pj@cristal:~$ sudo modprobe speedstep-smi
FATAL: Error inserting speedstep_smi
(/lib/modules/2.6.14-p3laptop/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-smi.ko):
No such device
what I do?Is not supported?what option I can try to use?
tell me if need some information.
this laptop is a packard bell...
help me
thanks you
Luca
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: cpufreq on Coppermine 2005-11-17 22:05 cpufreq on Coppermine Luca @ 2005-11-18 15:41 ` Bruno Ducrot 2005-11-18 19:39 ` Luca 2005-11-19 9:00 ` Luca [not found] ` <20051120025915.GA7617@kroworsch.de> 1 sibling, 2 replies; 9+ messages in thread From: Bruno Ducrot @ 2005-11-18 15:41 UTC (permalink / raw) To: Luca; +Cc: cpufreq On Thu, Nov 17, 2005 at 11:05:25PM +0100, Luca wrote: > hi, I try to use cpu scaling on a Laptop with a coppermine 700Mhz. > /proc/cpuinfo: > > processor : 0 > vendor_id : GenuineIntel > cpu family : 6 > model : 8 > model name : Pentium III (Coppermine) > stepping : 6 > cpu MHz : 549.791 > cache size : 256 KB > fdiv_bug : no > hlt_bug : no > f00f_bug : no > coma_bug : no > fpu : yes > fpu_exception : yes > cpuid level : 2 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat p > se36 mmx fxsr sse > bogomips : 1099.88 > > lspci -vvv : > > 0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - > 82443BX/ZX/DX Host bridge (rev 03) > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR+ FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort+ >SERR- <PERR- > Latency: 64 > Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M] > Capabilities: <available only to root> > > 0000:00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX > AGP bridge (rev 03) (prog-if 00 [Normal decode]) > Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- > Stepping- SERR- FastB2B- > Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Latency: 128 > Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 > I/O behind bridge: 00002000-00002fff > Memory behind bridge: fc100000-fdffffff > Prefetchable memory behind bridge: 28000000-280fffff > BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+ > > 0000:00:04.0 Multimedia audio controller: ESS Technology ES1988 > Allegro-1 (rev 12) > Subsystem: NEC Corporation: Unknown device 80f1 > Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Latency: 64 (500ns min, 6000ns max) > Interrupt: pin A routed to IRQ 5 > Region 0: I/O ports at 1400 [size=256] > Capabilities: <available only to root> > > 0000:00:06.0 Ethernet controller: 3Com Corporation 3c556B CardBus > [Tornado] (rev 20) > Subsystem: 3Com Corporation 10/100 Mini PCI Ethernet Adapter > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- > Stepping- SERR- FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Latency: 80 (2500ns min, 2500ns max), Cache Line Size: 0x08 (32 bytes) > Interrupt: pin A routed to IRQ 10 > Region 0: I/O ports at 1800 [size=256] > Region 1: Memory at fc000400 (32-bit, non-prefetchable) [size=128] > Region 2: Memory at fc000000 (32-bit, non-prefetchable) [size=128] > Expansion ROM at 28100000 [disabled] [size=128K] > Capabilities: <available only to root> > > 0000:00:06.1 Communication controller: 3Com Corporation Mini PCI 56k > Winmodem (rev 20) > Subsystem: 3Com Corporation Mini PCI 56K Modem > Control: I/O- Mem- BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr- > Stepping- SERR- FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Interrupt: pin A routed to IRQ 10 > Region 0: I/O ports at 1c00 [disabled] [size=256] > Region 1: Memory at fc000c00 (32-bit, non-prefetchable) > [disabled] [size=256] > Region 2: Memory at fc000800 (32-bit, non-prefetchable) > [disabled] [size=128] > Capabilities: <available only to root> > > 0000:00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02) > Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Latency: 0 > > 0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE > (rev 01) (prog-if 80 [Master]) > Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Latency: 64 > Region 4: I/O ports at 1080 [size=16] > > 0000:00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB > (rev 01) (prog-if 00 [UHCI]) > Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Latency: 64 > Interrupt: pin D routed to IRQ 5 > Region 4: I/O ports at 1060 [size=32] > > 0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03) > Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Interrupt: pin ? routed to IRQ 9 > > 0000:00:0c.0 CardBus bridge: Texas Instruments PCI1420 > Subsystem: NEC Corporation Versa Note VXi > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Latency: 168, Cache Line Size: 0x20 (128 bytes) > Interrupt: pin A routed to IRQ 10 > Region 0: Memory at 28120000 (32-bit, non-prefetchable) [size=4K] > Bus: primary=00, secondary=02, subordinate=05, sec-latency=176 > Memory window 0: 20000000-21fff000 (prefetchable) > Memory window 1: 22000000-23fff000 > I/O window 0: 00003000-000030ff > I/O window 1: 00003400-000034ff > BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+ > 16-bit legacy interface ports at 0001 > > 0000:00:0c.1 CardBus bridge: Texas Instruments PCI1420 > Subsystem: NEC Corporation Versa Note VXi > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Latency: 168, Cache Line Size: 0x20 (128 bytes) > Interrupt: pin A routed to IRQ 10 > Region 0: Memory at 28121000 (32-bit, non-prefetchable) [size=4K] > Bus: primary=00, secondary=06, subordinate=09, sec-latency=176 > Memory window 0: 24000000-25fff000 (prefetchable) > Memory window 1: 26000000-27fff000 > I/O window 0: 00003800-000038ff > I/O window 1: 00003c00-00003cff > BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+ > 16-bit legacy interface ports at 0001 > > 0000:00:0d.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 Host > Controller (rev 01) (prog-if 10 [OHCI]) > Subsystem: NEC Corporation: Unknown device 80fa > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- > Stepping- SERR- FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Latency: 64, Cache Line Size: 0x08 (32 bytes) > Interrupt: pin A routed to IRQ 10 > Region 0: Memory at fc001000 (32-bit, non-prefetchable) [size=4K] > Capabilities: <available only to root> > > 0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage > Mobility P/M AGP 2x (rev 64) (prog-if 00 [VGA]) > Subsystem: NEC Corporation: Unknown device 80b7 > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping+ SERR- FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Latency: 66 (2000ns min), Cache Line Size: 0x08 (32 bytes) > Interrupt: pin A routed to IRQ 5 > Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M] > Region 1: I/O ports at 2000 [size=256] > Region 2: Memory at fc100000 (32-bit, non-prefetchable) [size=4K] > Expansion ROM at 28000000 [disabled] [size=128K] > Capabilities: <available only to root> > > I use an utility named speedstep-detect found here > http://www.poupinou.org/cpufreq/ > and the result is: > > dmi_scan: return: > DMI 2.3 present. > 49 structures occupying 2000 bytes. > DMI table at 0x000E7010. > BIOS Vendor: NEC > BIOS Version: NOTE BIOS Version /175A2700 > BIOS Release: 03/06/2001 > System Vendor: NEC > Product Name: > Version: > Board Vendor: NEC > Board Name: > Board Version: > Trying Intel's int15 GSIC: > BIOS support GSIC call: > signature: GSIC > command port = 0x00b2 > command = 0x0080 > event port = 0x000000b3 > flags = 0x07d00001 > probing chipsets: Found PIIX4 > pmbase at 0x1000 > Dumping PM IO register for this southbridge: > PMCNTRL (0x1004): 0x1401 > (0x1006): 0x0000 > GPEN (0x100e): 0x0600 > PCNTRL (0x1010): 0x00001202 > (0x1016): 0x0000 > DEVSTS (0x101c): 0x00000000 > GLBLEN (0x1020): 0x0400 > (0x1022): 0x00000000 > GLBCTL (0x1028): 0x02013c05 > DEVCTL (0x102c): 0x01000000 > GPIs: (0x1030): 0x37e863 > (0x1033): 0x00 > GPOs: (0x1034): 0x37fffefe > (0x1038): 0x63 0xe8 0x37 0x00 0xfe 0xfe 0xff 0x37 > > > You need to boot on AC and battery and see if GPOs change. > Then, see if one bit change in between, you have then to note the number > of this bit. This will be the gpo_hilo= number kernel option for > enabling the speedstep-piix4 module under Linux. > ..28..24..20..16..12...8...4...0 > GPOs: (0x1034): 0x37fffefe 00110111111111111111111011111110 > > if I power on the pc only with battery GPOs change in > > GPOs: (0x1034): 0x37fffeff > (0x1038): 0x63 0xe8 0x37 0x00 0xff 0xfe 0xff 0x37 > > I try to use speedstep_smi with some option for example > modprobe speedstep-smi smi_port=0xb2 smi_cmd=0x82 smi_sig=1 > > but the result is > > pj@cristal:~$ sudo modprobe speedstep-smi > FATAL: Error inserting speedstep_smi > (/lib/modules/2.6.14-p3laptop/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-smi.ko): > No such device > > > what I do?Is not supported?what option I can try to use? > tell me if need some information. > this laptop is a packard bell... > help me > You could eventually try with ftp://ftp.poupinou.org/dont_use/old/speedstep_bx.tar.gz I don't think it will work with a 2.6 kernel though, but just for testing purpose... You have to explicitely replace line 42: /* #define I_WANT_SPEEDSTEP */ with #define I_WANT_SPEEDSTEP If that work, I will see if I found time to update cpufreq driver then. BTW, be sure to read carrefully http://www.poupinou.org/cpufreq/speedstep-piix4.html -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cpufreq on Coppermine 2005-11-18 15:41 ` Bruno Ducrot @ 2005-11-18 19:39 ` Luca 2005-11-19 19:29 ` Mattia Dongili 2005-11-19 9:00 ` Luca 1 sibling, 1 reply; 9+ messages in thread From: Luca @ 2005-11-18 19:39 UTC (permalink / raw) To: Bruno Ducrot; +Cc: cpufreq On 11/18/05, Bruno Ducrot <ducrot@poupinou.org> wrote: > You could eventually try with > ftp://ftp.poupinou.org/dont_use/old/speedstep_bx.tar.gz > > I don't think it will work with a 2.6 kernel though, but just for > testing purpose... > > You have to explicitely replace line 42: > /* #define I_WANT_SPEEDSTEP */ > with > #define I_WANT_SPEEDSTEP > > If that work, I will see if I found time to update cpufreq driver then. pj@cristal:/usr/local/src/speedstep_bx$ sudo make gcc -D__KERNEL__ -O2 -Wall -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer -fno-strict-aliasing -fno-common -I/lib/modules/`uname -r`/build/include -D_LINUX -DMODULE -DMODVERSIONS -include /lib/modules/`uname -r`/build/include/linux/modversions.h -c -o speedstep.o speedstep.c cc1: error: /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/modversions.h: No such file or directory In file included from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/irq.h:21, from /lib/modules/2.6.14p3.laptop.cfd/build/include/asm/hardirq.h:6, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/hardirq.h:7, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/interrupt.h:11, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/rcuref.h:36, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/fs.h:12, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/proc_fs.h:6, from speedstep.c:33: /lib/modules/2.6.14p3.laptop.cfd/build/include/asm/irq.h:16:25: error: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.14p3.laptop.cfd/build/include/asm/hardirq.h:6, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/hardirq.h:7, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/interrupt.h:11, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/rcuref.h:36, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/fs.h:12, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/proc_fs.h:6, from speedstep.c:33: /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/irq.h:84: error: 'NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/irq.h:93, from /lib/modules/2.6.14p3.laptop.cfd/build/include/asm/hardirq.h:6, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/hardirq.h:7, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/interrupt.h:11, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/rcuref.h:36, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/fs.h:12, from /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/proc_fs.h:6, from speedstep.c:33: /lib/modules/2.6.14p3.laptop.cfd/build/include/asm/hw_irq.h:30: error: 'NR_IRQ_VECTORS' undeclared here (not in a function) speedstep.c: In function 'speedstep_initialize': speedstep.c:491: warning: implicit declaration of function 'pci_find_subsys' speedstep.c:495: warning: assignment makes pointer from integer without a cast speedstep.c:502: warning: assignment makes pointer from integer without a cast make: *** [speedstep.o] Error 1 pj@cristal:/usr/local/src/speedstep_bx$ I think don't work with 2.6 kernel... > > BTW, be sure to read carrefully > http://www.poupinou.org/cpufreq/speedstep-piix4.html I try to use dmidecode and this is the result: biosdecode: # biosdecode 2.7 SMBIOS 2.3 present. Structure Table Length: 2000 bytes Structure Table Address: 0x000E7010 Number Of Structures: 49 Maximum Structure Size: 204 bytes ACPI 1.0 present. OEM Identifier: NEC RSD Table 32-bit Address: 0x0FFFB88E BIOS32 Service Directory present. Revision: 0 Calling Interface Address: 0x000FD8A0 PNP BIOS 1.0 present. Event Notification: Not Supported Real Mode 16-bit Code Address: F000:8562 Real Mode 16-bit Data Address: 0040:0000 16-bit Protected Mode Code Address: 0x000F8580 16-bit Protected Mode Data Address: 0x00000400 PCI Interrupt Routing 1.0 present. Router ID: 00:07.0 Exclusive IRQs: None Compatible Router: 8086:122e Slot Entry 1: ID 00:07, on-board Slot Entry 2: ID 00:04, on-board Slot Entry 3: ID 00:06, on-board Slot Entry 4: ID 00:0c, on-board Slot Entry 5: ID 00:0d, on-board Slot Entry 6: ID 00:01, on-board dmidecode: # dmidecode 2.7 SMBIOS 2.3 present. 49 structures occupying 2000 bytes. Table at 0x000E7010. Handle 0x0000, DMI type 0, 20 bytes. BIOS Information Vendor: NEC Version: NOTE BIOS Version /175A2700 Release Date: 03/06/2001 Address: 0xE9720 Runtime Size: 92384 bytes ROM Size: 512 kB Characteristics: ISA is supported PCI is supported PC Card (PCMCIA) is supported PNP is supported APM is supported BIOS is upgradeable BIOS shadowing is allowed ESCD support is available Boot from CD is supported Selectable boot is supported EDD is supported Japanese floppy for Toshiba 1.2 MB is supported (int 13h) 5.25"/1.2 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Serial services are supported (int 14h) Printer services are supported (int 17h) CGA/mono video services are supported (int 10h) ACPI is supported USB legacy is supported Smart battery is supported Function key-initiated network boot is supported Handle 0x0001, DMI type 1, 25 bytes. System Information Manufacturer: NEC Product Name: Version: Serial Number: SN-123456UVXV218B7O1N1N1K UUID: Not Settable Wake-up Type: Power Switch Handle 0x0002, DMI type 2, 8 bytes. Base Board Information Manufacturer: NEC Product Name: Version: Serial Number: Handle 0x0003, DMI type 3, 17 bytes. Chassis Information Manufacturer: NEC Type: Notebook Lock: Not Present Version: Serial Number: Asset Tag: Boot-up State: Unknown Power Supply State: Unknown Thermal State: Unknown Security Status: Unknown OEM Information: 0x00001234 Handle 0x0004, DMI type 4, 32 bytes. Processor Information Socket Designation: Laptop Computer Type: Central Processor Family: Pentium III Manufacturer: Intel Corporation ID: 86 06 00 00 FF F9 87 03 Signature: Type 0, Family 6, Model 8, Stepping 6 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) PSN (Processor serial number present and enabled) MMX (MMX technology supported) FXSR (Fast floating-point save and restore) SSE (Streaming SIMD extensions) Version: Pentium(R) III Voltage: 1.6 V External Clock: 100 MHz Max Speed: 700 MHz Current Speed: 700 MHz Status: Populated, Enabled Upgrade: None L1 Cache Handle: Not Provided L2 Cache Handle: 0x0009 L3 Cache Handle: Not Provided Handle 0x0005, DMI type 5, 20 bytes. Memory Controller Information Error Detecting Method: None Error Correcting Capabilities: None Supported Interleave: One-way Interleave Current Interleave: One-way Interleave Maximum Memory Module Size: 128 MB Maximum Total Memory Size: 256 MB Supported Speeds: None Supported Memory Types: DIMM SDRAM Memory Module Voltage: 3.3 V Associated Memory Slots: 2 0x0007 0x0008 Enabled Error Correcting Capabilities: Unknown Handle 0x0006, DMI type 6, 12 bytes. Memory Module Information Socket Designation: Memory Slot 1 Bank Connections: 1 0 Current Speed: Unknown Type: DIMM SDRAM Installed Size: 128 MB (Double-bank Connection) Enabled Size: 128 MB (Double-bank Connection) Error Status: OK Handle 0x0007, DMI type 6, 12 bytes. Memory Module Information Socket Designation: Memory Slot 2 Bank Connections: 3 2 Current Speed: Unknown Type: DIMM SDRAM Installed Size: 128 MB (Double-bank Connection) Enabled Size: 128 MB (Double-bank Connection) Error Status: OK Handle 0x0008, DMI type 7, 19 bytes. Cache Information Socket Designation: L1 Cache Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back Location: Internal Installed Size: 32 KB Maximum Size: 32 KB Supported SRAM Types: Other Installed SRAM Type: Other Speed: Unknown Error Correction Type: None System Type: Unified Associativity: 4-way Set-associative Handle 0x0009, DMI type 7, 19 bytes. Cache Information Socket Designation: L2 Cache Configuration: Enabled, Not Socketed, Level 2 Operational Mode: Write Back Location: Internal Installed Size: 256 KB Maximum Size: 256 KB Supported SRAM Types: Pipeline Burst Installed SRAM Type: Other Speed: Unknown Error Correction Type: Multi-bit ECC System Type: Unified Associativity: Other Handle 0x000A, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: USB1 External Connector Type: Access Bus (USB) Port Type: USB Handle 0x000B, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: USB2 External Connector Type: Access Bus (USB) Port Type: USB Handle 0x000C, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: Mic In External Connector Type: Mini Jack (headphones) Port Type: Audio Port Handle 0x000D, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: Head phone/Line Out External Connector Type: Mini Jack (headphones) Port Type: Audio Port Handle 0x000E, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: SPDIF External Connector Type: Mini Jack (headphones) Port Type: Audio Port Handle 0x000F, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: Line In External Connector Type: Mini Jack (headphones) Port Type: Audio Port Handle 0x0010, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: Parallel Port External Connector Type: DB-25 female Port Type: Parallel Port ECP/EPP Handle 0x0011, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: Serial Port External Connector Type: DB-9 male Port Type: Serial Port 16550A Compatible Handle 0x0012, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: IEEE 1394 Port External Connector Type: IEEE 1394 Port Type: Firewire (IEEE P1394) Handle 0x0013, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: Telephone Line External Connector Type: RJ-11 Port Type: Modem Port Handle 0x0014, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: Network External Connector Type: RJ-45 Port Type: Network Port Handle 0x0015, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: Monitor External Connector Type: DB-15 male Port Type: Video Port Handle 0x0016, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: TV-OUT/C-Video External Connector Type: Other Port Type: Video Port Handle 0x0017, DMI type 8, 9 bytes. Port Connector Information Internal Reference Designator: Internal Connector Type: None External Reference Designator: PS/2 External Connector Type: PS/2 Port Type: Other Handle 0x0018, DMI type 9, 13 bytes. System Slot Information Designation: Socket 1 Type: 32-bit PC Card (PCMCIA) Current Usage: Unknown Length: Other ID: Adapter 1, Socket 0 Characteristics: 5.0 V is provided 3.3 V is provided PC Card-16 is supported Cardbus is supported Zoom Video is supported Modem ring resume is supported Handle 0x0019, DMI type 9, 13 bytes. System Slot Information Designation: Socket 2 Type: 32-bit PC Card (PCMCIA) Current Usage: Unknown Length: Other ID: Adapter 2, Socket 0 Characteristics: 5.0 V is provided 3.3 V is provided PC Card-16 is supported Cardbus is supported Modem ring resume is supported Handle 0x001A, DMI type 10, 6 bytes. On Board Device Information Type: Video Status: Enabled Description: Rage Mobility-M/Ati Handle 0x001B, DMI type 10, 6 bytes. On Board Device Information Type: Other Status: Enabled Description: PCI1420/Teaxas Handle 0x001C, DMI type 10, 6 bytes. On Board Device Information Type: Other Status: Enabled Description: uPD72872/NEC Handle 0x001D, DMI type 10, 6 bytes. On Board Device Information Type: Other Status: Enabled Description: Mars3/Lucent Handle 0x001E, DMI type 11, 5 bytes. OEM Strings String 1: This is the Intel 440ZX String 2: Customer Reference Platform String 3: String 4: String 5: String 6: Handle 0x001F, DMI type 13, 22 bytes. BIOS Language Information Installable Languages: 1 en|US|iso8859-1 Currently Installed Language: Not Specified Handle 0x0020, DMI type 16, 15 bytes. Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 256 MB Error Information Handle: Not Provided Number Of Devices: 2 Handle 0x0021, DMI type 16, 15 bytes. Physical Memory Array Location: System Board Or Motherboard Use: Flash Memory Error Correction Type: None Maximum Capacity: 512 kB Error Information Handle: Not Provided Number Of Devices: 1 Handle 0x0022, DMI type 16, 15 bytes. Physical Memory Array Location: System Board Or Motherboard Use: <OUT OF SPEC> Error Correction Type: None Maximum Capacity: 8 MB Error Information Handle: Not Provided Number Of Devices: 1 Handle 0x0023, DMI type 17, 23 bytes. Memory Device Array Handle: 0x0022 Error Information Handle: Not Provided Total Width: 8 bits Data Width: 8 bits Size: 512 kB Form Factor: Other Set: None Locator: U30 Bank Locator: Type: Flash Type Detail: Non-Volatile Speed: Unknown Handle 0x0024, DMI type 17, 23 bytes. Memory Device Array Handle: 0x0022 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 512 kB Form Factor: Other Set: None Locator: U23 Bank Locator: Type: Other Type Detail: Fast-paged Speed: 83 MHz (12.0 ns) Handle 0x0025, DMI type 17, 23 bytes. Memory Device Array Handle: 0x0022 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 64 MB Form Factor: DIMM Set: None Locator: P20 Bank Locator: Type: SDRAM Type Detail: Synchronous Speed: 100 MHz (10.0 ns) Handle 0x0026, DMI type 17, 23 bytes. Memory Device Array Handle: 0x0022 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 64 MB Form Factor: DIMM Set: 1 Locator: P21 Bank Locator: Type: SDRAM Type Detail: Synchronous Speed: 100 MHz (10.0 ns) Handle 0x0027, DMI type 19, 15 bytes. Memory Array Mapped Address Starting Address: 0x00000000000 Ending Address: 0x0000007FFFF Range Size: 512 kB Physical Array Handle: 0x0022 Partition Width: 0 Handle 0x0028, DMI type 19, 15 bytes. Memory Array Mapped Address Starting Address: 0x00000000000 Ending Address: 0x000003FFFFF Range Size: 4 MB Physical Array Handle: 0x0022 Partition Width: 0 Handle 0x0029, DMI type 19, 15 bytes. Memory Array Mapped Address Starting Address: 0x00000000000 Ending Address: 0x00007FFFFFF Range Size: 128 MB Physical Array Handle: 0x0022 Partition Width: 0 Handle 0x002A, DMI type 20, 19 bytes. Memory Device Mapped Address Starting Address: 0x00000000000 Ending Address: 0x000000003FF Range Size: 1 kB Physical Device Handle: 0x0023 Memory Array Mapped Address Handle: 0x0029 Partition Row Position: 254 Interleave Position: 254 Interleaved Data Depth: 254 Handle 0x002B, DMI type 20, 19 bytes. Memory Device Mapped Address Starting Address: 0x00000000000 Ending Address: 0x000000003FF Range Size: 1 kB Physical Device Handle: 0x0024 Memory Array Mapped Address Handle: 0x0029 Partition Row Position: 254 Interleave Position: 254 Interleaved Data Depth: 254 Handle 0x002C, DMI type 21, 7 bytes. Built-in Pointing Device Type: Glide Point Interface: PS/2 Buttons: 2 Handle 0x002D, DMI type 22, 26 bytes. Portable Battery Location: on the right-hand side Manufacturer: NEC Name: NEC Chemistry: Nickel Metal Hydride Design Capacity: 364800 mWh Design Voltage: 9600 mV SBDS Version: Bat123 Maximum Error: Unknown SBDS Serial Number: 0000 SBDS Manufacture Date: 1985-08-25 OEM-specific Information: 0x00000000 Handle 0x002E, DMI type 22, 26 bytes. Portable Battery Location: on the right-hand side Manufacturer: NEC Name: NEC Chemistry: Lithium Ion Design Capacity: 547200 mWh Design Voltage: 13440 mV SBDS Version: Bat123 Maximum Error: Unknown SBDS Serial Number: 0000 SBDS Manufacture Date: 1985-08-25 OEM-specific Information: 0x00000000 Handle 0x002F, DMI type 32, 20 bytes. System Boot Information Status: <OUT OF SPEC> Handle 0x0030, DMI type 127, 4 bytes. End Of Table vpddecode: # vpddecode 2.7 # No VPD structure found, sorry. Do you need some info? tnks you very much Luca ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cpufreq on Coppermine 2005-11-18 19:39 ` Luca @ 2005-11-19 19:29 ` Mattia Dongili 2005-11-20 1:19 ` Luca 0 siblings, 1 reply; 9+ messages in thread From: Mattia Dongili @ 2005-11-19 19:29 UTC (permalink / raw) To: cpufreq; +Cc: Bruno Ducrot [-- Attachment #1: Type: text/plain, Size: 1667 bytes --] On Fri, Nov 18, 2005 at 08:39:03PM +0100, Luca wrote: > On 11/18/05, Bruno Ducrot <ducrot@poupinou.org> wrote: > > > You could eventually try with > > ftp://ftp.poupinou.org/dont_use/old/speedstep_bx.tar.gz > > > > I don't think it will work with a 2.6 kernel though, but just for > > testing purpose... > > > > You have to explicitely replace line 42: > > /* #define I_WANT_SPEEDSTEP */ > > with > > #define I_WANT_SPEEDSTEP > > > > If that work, I will see if I found time to update cpufreq driver then. > > pj@cristal:/usr/local/src/speedstep_bx$ sudo make > gcc -D__KERNEL__ -O2 -Wall -Wstrict-prototypes -Wno-trigraphs > -fomit-frame-pointer -fno-strict-aliasing -fno-common > -I/lib/modules/`uname -r`/build/include -D_LINUX -DMODULE > -DMODVERSIONS -include /lib/modules/`uname > -r`/build/include/linux/modversions.h -c -o speedstep.o speedstep.c > cc1: error: /lib/modules/2.6.14p3.laptop.cfd/build/include/linux/modversions.h: [...] > 'NR_IRQ_VECTORS' undeclared here (not in a function) > speedstep.c: In function 'speedstep_initialize': > speedstep.c:491: warning: implicit declaration of function 'pci_find_subsys' > speedstep.c:495: warning: assignment makes pointer from integer without a cast > speedstep.c:502: warning: assignment makes pointer from integer without a cast > make: *** [speedstep.o] Error 1 > pj@cristal:/usr/local/src/speedstep_bx$ > > I think don't work with 2.6 kernel... just for the purpose to make it build you can apply the attached patch, it uses an adapted (from LDD3) Makefile for 2.6 and changes from pci_find_subsys to pci_get_subsys. Still, you need to define I_WANT_SPEEDSTEP at line 42 as before. -- mattia :wq! [-- Attachment #2: speedstep_bx.diff --] [-- Type: text/plain, Size: 2025 bytes --] diff -up speedstep_bx/Makefile speedstep_bx.dirty/Makefile --- speedstep_bx/Makefile 2002-10-09 12:06:48.000000000 +0200 +++ speedstep_bx.dirty/Makefile 2005-11-19 20:20:32.587834750 +0100 @@ -1,16 +1,19 @@ -HKERNEL = /lib/modules/`uname -r`/build/include -MODVERSCFLAGS = -DMODVERSIONS -include $(HKERNEL)/linux/modversions.h -MODCFLAGS = -DMODULE $(MODVERSCFLAGS) +# If KERNELRELEASE is defined, we've been invoked from the +# kernel build system and can use its language. +ifneq ($(KERNELRELEASE),) + obj-m := speedstep.o -CFLAGS = -D__KERNEL__ -O2 -Wall -Wstrict-prototypes -Wno-trigraphs \ - -fomit-frame-pointer -fno-strict-aliasing -fno-common \ - -I$(HKERNEL) \ - -D_LINUX $(MODCFLAGS) - +# Otherwise we were called directly from the command +# line; invoke the kernel build system. +else + KERNELDIR ?= /lib/modules/$(shell uname -r)/build + PWD := $(shell pwd) +default: + $(MAKE) -C $(KERNELDIR) M=$(PWD) modules +endif -speedstep.o: speedstep.c - gcc $(CFLAGS) -c -o speedstep.o speedstep.c - -.PHONY: clean -clean: speedstep.o - rm -f speedstep.o +clean: + rm -rf speedstep.o speedstep.ko speedstep.mod.c speedstep.mod.o \ + .speedstep.ko.cmd .speedstep.o.cmd .speedstep.mod.o.cmd \ + .tmp_versions + diff -up speedstep_bx/speedstep.c speedstep_bx.dirty/speedstep.c --- speedstep_bx/speedstep.c 2003-05-23 11:37:25.000000000 +0200 +++ speedstep_bx.dirty/speedstep.c 2005-11-19 20:11:47.503019000 +0100 @@ -488,14 +488,14 @@ speedstep_initialize(void) int mult, mult2; int low, high; - speedstep_chipset_dev = pci_find_subsys(PCI_VENDOR_ID_INTEL, + speedstep_chipset_dev = pci_get_subsys(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371AB_3, PCI_ANY_ID, PCI_ANY_ID, NULL); if (!speedstep_chipset_dev) - speedstep_chipset_dev = pci_find_subsys(PCI_VENDOR_ID_INTEL, + speedstep_chipset_dev = pci_get_subsys(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443MX_3, PCI_ANY_ID, PCI_ANY_ID, [-- Attachment #3: Type: text/plain, Size: 147 bytes --] _______________________________________________ Cpufreq mailing list Cpufreq@lists.linux.org.uk http://lists.linux.org.uk/mailman/listinfo/cpufreq ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cpufreq on Coppermine 2005-11-19 19:29 ` Mattia Dongili @ 2005-11-20 1:19 ` Luca 2005-11-20 14:33 ` Mattia Dongili 0 siblings, 1 reply; 9+ messages in thread From: Luca @ 2005-11-20 1:19 UTC (permalink / raw) To: cpufreq, Bruno Ducrot, Luca On 11/19/05, Mattia Dongili <malattia@linux.it> wrote: > > I think don't work with 2.6 kernel... > > just for the purpose to make it build you can apply the attached patch, > it uses an adapted (from LDD3) Makefile for 2.6 and changes from > pci_find_subsys to pci_get_subsys. Still, you need to define > I_WANT_SPEEDSTEP at line 42 as before. I do the patch and I compile the speedstep_bx, this is the result: pj@cristal:/usr/local/src/speedstep_bx$ sudo make make -C /lib/modules/2.6.14p3.laptop.cfd/build M=/usr/local/src/speedstep_bx modules make[1]: Entering directory `/usr/src/linux-2.6.14' CC [M] /usr/local/src/speedstep_bx/speedstep.o /usr/local/src/speedstep_bx/speedstep.c: In function 'speedstep_initialize': /usr/local/src/speedstep_bx/speedstep.c:489: warning: 'low' may be used uninitialized in this function /usr/local/src/speedstep_bx/speedstep.c:489: warning: 'high' may be used uninitialized in this function Building modules, stage 2. MODPOST *** Warning: "__fixunsdfsi" [/usr/local/src/speedstep_bx/speedstep.ko] undefined! *** Warning: "__divdf3" [/usr/local/src/speedstep_bx/speedstep.ko] undefined! *** Warning: "__muldf3" [/usr/local/src/speedstep_bx/speedstep.ko] undefined! *** Warning: "__adddf3" [/usr/local/src/speedstep_bx/speedstep.ko] undefined! *** Warning: "__floatsidf" [/usr/local/src/speedstep_bx/speedstep.ko] undefined! LD [M] /usr/local/src/speedstep_bx/speedstep.ko make[1]: Leaving directory `/usr/src/linux-2.6.14' pj@cristal:/usr/local/src/speedstep_bx$ next I copied the modules in the kernel module dir, and when I try to load the module I return this error: pj@cristal:/usr/local/src/speedstep_bx$ sudo modprobe speedstep -vvvv insmod /lib/modules/2.6.14p3.laptop.cfd/kernel/arch/i386/kernel/cpu/cpufreq/speedstep.ko FATAL: Error inserting speedstep (/lib/modules/2.6.14p3.laptop.cfd/kernel/arch/i386/kernel/cpu/cpufreq/speedstep.ko): Unknown symbol in module, or unknown parameter (see dmesg) and dmesg return this error: speedstep: Unknown symbol __floatsidf speedstep: Unknown symbol __fixunsdfsi speedstep: Unknown symbol __adddf3 speedstep: Unknown symbol __divdf3 speedstep: Unknown symbol __muldf3 I have kernel 2.6.14 compiled with debug symbols on cpufreq... tell me if do you need some information... tnks you Luca ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cpufreq on Coppermine 2005-11-20 1:19 ` Luca @ 2005-11-20 14:33 ` Mattia Dongili 2005-11-20 19:41 ` Luca 0 siblings, 1 reply; 9+ messages in thread From: Mattia Dongili @ 2005-11-20 14:33 UTC (permalink / raw) To: Luca; +Cc: cpufreq, Bruno Ducrot On Sun, Nov 20, 2005 at 02:19:28AM +0100, Luca wrote: > On 11/19/05, Mattia Dongili <malattia@linux.it> wrote: > > > I think don't work with 2.6 kernel... > > > > just for the purpose to make it build you can apply the attached patch, > > it uses an adapted (from LDD3) Makefile for 2.6 and changes from > > pci_find_subsys to pci_get_subsys. Still, you need to define > > I_WANT_SPEEDSTEP at line 42 as before. > > I do the patch and I compile the speedstep_bx, this is the result: > [...] > MODPOST > *** Warning: "__fixunsdfsi" [/usr/local/src/speedstep_bx/speedstep.ko] > undefined! > *** Warning: "__divdf3" [/usr/local/src/speedstep_bx/speedstep.ko] undefined! > *** Warning: "__muldf3" [/usr/local/src/speedstep_bx/speedstep.ko] undefined! > *** Warning: "__adddf3" [/usr/local/src/speedstep_bx/speedstep.ko] undefined! > *** Warning: "__floatsidf" [/usr/local/src/speedstep_bx/speedstep.ko] undefined! > LD [M] /usr/local/src/speedstep_bx/speedstep.ko > make[1]: Leaving directory `/usr/src/linux-2.6.14' > pj@cristal:/usr/local/src/speedstep_bx$ Ah, -msoft-float. Either change the '#if 0' to '#if 1' at line 449 or build with 'make EXTRA_CFLAGS=-mhard-float' -- mattia :wq! ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cpufreq on Coppermine 2005-11-20 14:33 ` Mattia Dongili @ 2005-11-20 19:41 ` Luca 0 siblings, 0 replies; 9+ messages in thread From: Luca @ 2005-11-20 19:41 UTC (permalink / raw) To: Luca, cpufreq, Bruno Ducrot On 11/20/05, Mattia Dongili <malattia@linux.it> wrote: > Ah, -msoft-float. Either change the '#if 0' to '#if 1' at line 449 or > build with 'make EXTRA_CFLAGS=-mhard-float' I have modified the speedstep.c file and I have compiled the modules, but when I load it I return this error: Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: read_core_mult() MSR_IA32_EBL_CR_POWERON 0x46480020 0x00000000 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: speedstep_initialize() Processor at 700000 kHz Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: speedstep_initialize() pmbase is 0x1000 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_read_state() called Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_read_state() MSR_IA32_EBL_CR_POWERON 0x46480020 0x00000000 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_read_state() gpo_hilo: 0xfe Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_read_state() -> 0x00 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: speedstep_initialize() state is 0 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: speedstep_initialize() trying to switch to state 1 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_do_transition() called Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_do_transition() state is 01 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_do_transition() MSR_IA32_EBL_CR_POWERON 0x46480020 0x00000000 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_do_transition() s is fe... Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_do_transition() ... and now s is ff Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_do_transition() cntb before: 0x00103a3f 00000000 00010000 00111010 00111111 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_do_transition() cntb after: 0x00103fff 00000000 00010000 00111111 11111111 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_do_transition() pcntrl before: 0x00001202 00000000 00000000 00010010 00000010 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_do_transition() pcntrl after: 0x00001a02 00000000 00000000 00011010 00000010 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_do_transition() we survive to C3... Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: cpu_do_transition() MSR_IA32_EBL_CR_POWERON 0x46480020 0x00000000 Nov 20 20:30:31 cristal kernel: /usr/local/src/speedstep_bx/speedstep.c: read_core_mult() MSR_IA32_EBL_CR_POWERON 0x46480020 0x00000000 mmm...what is the problem? Is not supported? tell me if you do some information..I don't know what to do... help thanks very much Luca ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cpufreq on Coppermine 2005-11-18 15:41 ` Bruno Ducrot 2005-11-18 19:39 ` Luca @ 2005-11-19 9:00 ` Luca 1 sibling, 0 replies; 9+ messages in thread From: Luca @ 2005-11-19 9:00 UTC (permalink / raw) To: Bruno Ducrot; +Cc: cpufreq I try to load speedstep-smi module with debug info and this is the result of debug: Nov 19 09:52:44 cristal kernel: speedstep-lib: x86: 6, model: 8 Nov 19 09:52:44 cristal kernel: speedstep-lib: Coppermine: MSR_IA32_EBL_CR_POWERON is 0x46480020, 0x0 Nov 19 09:52:44 cristal kernel: speedstep-lib: Coppermine: MSR_IA32_PLATFORM ID is 0x0, 0x4b560000 Nov 19 09:52:44 cristal kernel: speedstep-smi: signature:0x47534943, command:0x008000b2, event:0x000000b3, perf_level:0x07d00001. Nov 19 09:52:44 cristal kernel: cpufreq-core: trying to register driver speedstep-smi Nov 19 09:52:44 cristal kernel: cpufreq-core: adding CPU 0 Nov 19 09:52:44 cristal kernel: speedstep-smi: trying to obtain ownership with command 47534980 at port b2 Nov 19 09:52:44 cristal kernel: speedstep-smi: result is 0 Nov 19 09:52:44 cristal kernel: speedstep-smi: trying to determine frequencies with command 47534980 at port b2 Nov 19 09:52:44 cristal kernel: speedstep-smi: result 47534980, low_freq 0, high_freq 4 Nov 19 09:52:44 cristal kernel: speedstep-smi: could not detect low and high frequencies by SMI call. Nov 19 09:52:44 cristal kernel: speedstep-lib: trying to determine both speeds Nov 19 09:52:44 cristal kernel: speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0x46480020 0x0 Nov 19 09:52:44 cristal kernel: speedstep-lib: speed is 700000 Nov 19 09:52:44 cristal kernel: speedstep-lib: previous speed is 700000 Nov 19 09:52:44 cristal kernel: speedstep-smi: trying to set frequency to state 1 with command 47534980 at port b2 Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 1, previous result 0, waiting... Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 2, previous result 0, waiting... Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 3, previous result 0, waiting... Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 4, previous result 0, waiting... Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 5, previous result 0, waiting... Nov 19 09:52:44 cristal kernel: speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0x46480020 0x0 Nov 19 09:52:44 cristal kernel: speedstep-lib: speed is 700000 Nov 19 09:52:44 cristal kernel: speedstep-lib: low speed is 700000 Nov 19 09:52:44 cristal kernel: speedstep-smi: trying to set frequency to state 0 with command 47534980 at port b2 Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 1, previous result 0, waiting... Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 2, previous result 0, waiting... Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 3, previous result 0, waiting... Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 4, previous result 0, waiting... Nov 19 09:52:44 cristal kernel: speedstep-smi: retry 5, previous result 0, waiting... Nov 19 09:52:44 cristal kernel: speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0x46480020 0x0 Nov 19 09:52:44 cristal kernel: speedstep-lib: speed is 700000 Nov 19 09:52:44 cristal kernel: speedstep-lib: high speed is 700000 Nov 19 09:52:44 cristal kernel: speedstep-smi: could not detect two different speeds -- aborting. Nov 19 09:52:44 cristal kernel: cpufreq-core: initialization failed Nov 19 09:52:44 cristal kernel: cpufreq-core: no CPU initialized for driver speedstep-smi Nov 19 09:52:44 cristal kernel: cpufreq-core: unregistering CPU 0 If I power on the laptop with AC, it work at 700 mhz and with only the battery 550mhz... I thinks the modules don't found the low speed... what you think? help bye tnks Luca ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <20051120025915.GA7617@kroworsch.de>]
* Re: cpufreq on Coppermine (=> modprobe speedstep_smi smi_port=0xb1 smi_cmd=0x82) [not found] ` <20051120025915.GA7617@kroworsch.de> @ 2005-11-20 9:28 ` Luca 0 siblings, 0 replies; 9+ messages in thread From: Luca @ 2005-11-20 9:28 UTC (permalink / raw) To: Wolfgang Kroworsch; +Cc: cpufreq On 11/20/05, Wolfgang Kroworsch <wolfgang@kroworsch.de> wrote: > Hi Luca, > > some time ago I used my Pentium III (Coppermine, 600 MHz) notebook from > Maxdata. The only possibility to get the right speedstep settings was to > look at the drivers of windows. ok.. > > As I do not know which laptop from Packard Bell you use, I just looked > for some old ones on their webpage. I found the Chrome@ with 700MHz and > the drivers for speedstep: > http://support.packardbell.com/uk/mypc/?PibItemNr=platform_R3&PibLinkGroup=2000#show > Link to "Intel Speedstep Applet 2.3" > http://support.packardbell.com/uk/mypc/?PibItemNr=REFFIUP02670500&PibItemParent=platform_R3#show > => http://support.packardbell.com/uk/mypc/?dwn=REFFIUP02670500;speedstep23.exe > > This "zip"-file speedstep23.exe (just unzip it with 'unzip) contains a > file named Registry.ini which tells the system-dependent settings: > [PRPC] > Port=0x000000B1 > Command=0x00000082 > ... > I have download the speedstep's applet from the packard bell support site and the file Registry.ini is: [PRPC] Port=0x000000B1 Command=0x00000082 Flags=0x10000232 UserPrefs=0x00000005 SystemPrefs=0x00000303 EventRegister=0x00000000 SetStateRetry=0x00000400 AppletTimeout=0x00000078 PollPeriod=0x000007d0 DBSPeriod=0x012c03e8 DBSThreshold=0x005f005f MBPeriod=0x07d01388 MBPoll=0x0000012c MBPrefs=0x00000000 MBThreshold=0x0032005a W2KTimer=0x00000001 > For _my_ notebook the respective file says 0xB2 and 0x82, and the > options for my speedstep_smi in modules.conf are: > options speedstep_smi smi_port=0xb2 smi_cmd=0x82 > > You should verify, that you get the correct files for your laptop, but I > think that this should be the easiest way to get the right settings. > I think, that _you_ should use: > options speedstep_smi smi_port=0xb1 smi_cmd=0x82 > > Due to these options my laptop is able to run at 500 MHz and 600 MHz > without any problems :-). > The notebook is running linux-2.6.6-vanilla. I have vanilla 2.6.14...and I try to use speedstep_smi smi_port=0xb1 smi_cmd=0x82 but return me no such device...and this is the result of debug: Nov 20 10:22:01 cristal kernel: speedstep-lib: x86: 6, model: 8 Nov 20 10:22:01 cristal kernel: speedstep-lib: Coppermine: MSR_IA32_EBL_CR_POWERON is 0x46480020, 0x0 Nov 20 10:22:01 cristal kernel: speedstep-lib: Coppermine: MSR_IA32_PLATFORM ID is 0x0, 0x4b560000 Nov 20 10:22:01 cristal kernel: speedstep-smi: signature:0x47534943, command:0x008000b2, event:0x000000b3, perf_level:0x07d00001. Nov 20 10:22:01 cristal kernel: cpufreq-core: trying to register driver speedstep-smi Nov 20 10:22:01 cristal kernel: cpufreq-core: adding CPU 0 Nov 20 10:22:01 cristal kernel: speedstep-smi: trying to obtain ownership with command 47534982 at port b1 Nov 20 10:22:01 cristal kernel: speedstep-smi: result is 0 Nov 20 10:22:01 cristal kernel: speedstep-smi: trying to determine frequencies with command 47534982 at port b1 Nov 20 10:22:01 cristal kernel: speedstep-smi: result 47534982, low_freq 0, high_freq 4 Nov 20 10:22:01 cristal kernel: speedstep-smi: could not detect low and high frequencies by SMI call. Nov 20 10:22:01 cristal kernel: speedstep-lib: trying to determine both speeds Nov 20 10:22:01 cristal kernel: speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0x46480020 0x0 Nov 20 10:22:01 cristal kernel: speedstep-lib: speed is 700000 Nov 20 10:22:01 cristal kernel: speedstep-lib: previous speed is 700000 Nov 20 10:22:01 cristal kernel: speedstep-smi: trying to set frequency to state 1 with command 47534982 at port b1 Nov 20 10:22:01 cristal kernel: speedstep-smi: retry 1, previous result 0, waiting... Nov 20 10:22:01 cristal kernel: speedstep-smi: retry 2, previous result 0, waiting... Nov 20 10:22:01 cristal kernel: speedstep-smi: retry 3, previous result 0, waiting... Nov 20 10:22:01 cristal kernel: speedstep-smi: retry 4, previous result 0, waiting... Nov 20 10:22:01 cristal kernel: speedstep-smi: retry 5, previous result 0, waiting... Nov 20 10:22:01 cristal kernel: speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0x46480020 0x0 Nov 20 10:22:01 cristal kernel: speedstep-lib: speed is 700000 Nov 20 10:22:01 cristal kernel: speedstep-lib: low speed is 700000 Nov 20 10:22:01 cristal kernel: speedstep-smi: trying to set frequency to state 0 with command 47534982 at port b1 Nov 20 10:22:01 cristal kernel: speedstep-smi: retry 1, previous result 0, waiting... Nov 20 10:22:01 cristal kernel: speedstep-smi: retry 2, previous result 0, waiting... Nov 20 10:22:01 cristal kernel: speedstep-smi: retry 3, previous result 0, waiting... Nov 20 10:22:01 cristal kernel: speedstep-smi: retry 4, previous result 0, waiting... Nov 20 10:22:01 cristal kernel: speedstep-smi: retry 5, previous result 0, waiting... Nov 20 10:22:01 cristal kernel: speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0x46480020 0x0 Nov 20 10:22:01 cristal kernel: speedstep-lib: speed is 700000 Nov 20 10:22:01 cristal kernel: speedstep-lib: high speed is 700000 Nov 20 10:22:01 cristal kernel: speedstep-smi: could not detect two different speeds -- aborting. Nov 20 10:22:01 cristal kernel: cpufreq-core: initialization failed Nov 20 10:22:01 cristal kernel: cpufreq-core: no CPU initialized for driver speedstep-smi Nov 20 10:22:01 cristal kernel: cpufreq-core: unregistering CPU 0 > Please ask, if some information is missing. I think the modules need some option when I load it. I try to seek this in the Documentation of kernel, but I don't find it. When I load the modules it don't find the other information of frequency.... > > Good luck, I need :-) > > bye bye and thank you very much Luca ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-11-20 19:41 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-17 22:05 cpufreq on Coppermine Luca
2005-11-18 15:41 ` Bruno Ducrot
2005-11-18 19:39 ` Luca
2005-11-19 19:29 ` Mattia Dongili
2005-11-20 1:19 ` Luca
2005-11-20 14:33 ` Mattia Dongili
2005-11-20 19:41 ` Luca
2005-11-19 9:00 ` Luca
[not found] ` <20051120025915.GA7617@kroworsch.de>
2005-11-20 9:28 ` cpufreq on Coppermine (=> modprobe speedstep_smi smi_port=0xb1 smi_cmd=0x82) Luca
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox