Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compaq laptop lm_sensors woes...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
beissemj
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2005
Posts: 100
Location: Orlando, FL

PostPosted: Thu Jun 30, 2005 7:54 am    Post subject: compaq laptop lm_sensors woes... Reply with quote

Ok, I have an HP Pavilion dv1000 laptop (pentium m with centrino). I am trying to get information regarding my fan. I've tried to get lm_sensors to work, but that's no good. From what I can tell lm_sensors in general doesn't seem to support compaq laptops b/c apparently compaq has some proprietary software (read unsupported crap) called cpqhealth used to monitor their devices and their are no available data sheets. So I have been able to get my cpu temperature, battery status, and the like from

Code:
#cat /proc/acpi/foo


The problem is I have no information regarding my fan!

Code:

#cat /proc/acpi/fan
#cat /sys/bus/i2c/devices/

both give me nothing.

I have tried gkrellm but wasn't giving me anything.

I'm using gentoo sources 2.6.11r11, i've compiled in all the acpi stuff and ic2. I added acpid to rc-update default level. I'm at a complete loss. If anyone has had any luck with getting their sensors to work or even just displaying their fan information on a compaq laptop I'd love to hear from ya.

cooling info
Code:
#cat /proc/acpi/thermal_zone/THRM/cooling_mode
<setting not supported>
cooling mode:   passive


cpu info
Code:

#cat /proc/acpi/processor/CPU0/info       
processor id:            0
acpi id:                 0
bus mastering control:   yes
power management:        yes
throttling control:      no
limit interface:         no


.config
Code:

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION=""

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y    <-------------
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=y

#
# I2C support
#
CONFIG_I2C=m
CONFIG_I2C_CHARDEV=m

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ALGOPCA=m

#
# I2C Hardware Bus support
#
CONFIG_I2C_I801=m <--- this is right
# CONFIG_I2C_I810 is not set
CONFIG_I2C_ISA=m
CONFIG_I2C_PARPORT=m
CONFIG_I2C_PARPORT_LIGHT=m
CONFIG_I2C_PIIX4=m
ACPI: SSCONFIG_I2C_STUB=m

#
# Hardware Sensors Chip support
# All these are loaded b/c i was trying to get lm_sensors to work
CONFIG_I2C_SENSOR=m
CONFIG_SENSORS_ADM1021=m
CONFIG_SENSORS_ADM1025=m
CONFIG_SENSORS_ADM1026=m
CONFIG_SENSORS_ADM1031=m
CONFIG_SENSORS_ASB100=m
CONFIG_SENSORS_DS1621=m
CONFIG_SENSORS_FSCHER=m
CONFIG_SENSORS_GL518SM=m
CONFIG_SENSORS_IT87=m
CONFIG_SENSORS_LM63=m
CONFIG_SENSORS_LM75=m
CONFIG_SENSORS_LM77=m
CONFIG_SENSORS_LM78=m
CONFIG_SENSORS_LM80=m
CONFIG_SENSORS_LM83=m
CONFIG_SENSORS_LM85=m
CONFIG_SENSORS_LM87=m
CONFIG_SENSORS_LM90=m
CONFIG_SENSORS_MAX1619=m
CONFIG_SENSORS_PC87360=m
CONFIG_SENSORS_SMSC47B397=m
CONFIG_SENSORS_SMSC47M1=m
CONFIG_SENSORS_VIA686A=m
CONFIG_SENSORS_W83781D=m
CONFIG_SENSORS_W83L785TS=m
CONFIG_SENSORS_W83627HF=m

#
# Other I2C Chip support
#
CONFIG_SENSORS_EEPROM=m
CONFIG_SENSORS_PCF8574=m
CONFIG_SENSORS_PCF8591=m
CONFIG_SENSORS_RTC8564=m
CONFIG_I2C_DEBUG_CORE=y
CONFIG_I2C_DEBUG_ALGO=y
CONFIG_I2C_DEBUG_BUS=y
CONFIG_I2C_DEBUG_CHIP=y


dmesg stuff
Code:

 BIOS-e820: 000000003dee0000 - 000000003deec000 (ACPI data)
 BIOS-e820: 000000003deec000 - 000000003df00000 (ACPI NVS)
ACPI: RSDP (v000 HP                                    ) @ 0x000f7e00
ACPI: RSDT (v001 HP     09B8     0x06040000  LTP 0x00000000) @ 0x3dee76bb
ACPI: FADT (v001 HP     09B8     0x06040000 PTL  0x00000050) @ 0x3deebe8c
ACPI: HPET (v001 HP     09B8     0x06040000 PTL  0x00000000) @ 0x3deebf00
ACPI: MADT (v001 HP     09B8     0x06040000 PTL  0x00000050) @ 0x3deebf38
ACPI: MADT (v001 HP     09B8     0x06040000 PTL  0x00000000) @ 0x3deebf92
ACPI: BOOT (v001 HP     09B8     0x06040000  LTP 0x00000001) @ 0x3deebfd8
ACPI: SSDT (v001 HP     09B8     0x00000001 INTL 0x20030224) @ 0x3dee7afe
ACPI: SSDT (v001 HP     09B8     0x00002000 INTL 0x20030224) @ 0x3dee76fb
ACPI: DSDT (v001 HP     09B8     0x06040000 MSFT 0x0100000e) @ 0x00000000
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: 2 duplicate APIC table ignored.
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Using ACPI (MADT) for SMP configuration information
Kernel command line: root=/dev/hda6 vmalloc=256m acpi=on vga=791 splash=verbose,theme:emergence
ACPI: Subsystem revision 20050211
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *10)
ACPI: PCI Interrupt Link [LNKB] (IRQs *5)
ACPI: PCI Interrupt Link [LNKC] (IRQs *4)
ACPI: PCI Interrupt Link [LNKD] (IRQs *3)
ACPI: PCI Interrupt Link [LNKE] (IRQs *11)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs *4)
ACPI: PCI Interrupt Link [LNKH] (IRQs *3)
ACPI: Embedded Controller [H_EC] (gpe 29)
pnp: PnP ACPI init
pnp: PnP ACPI: found 6 devices
PCI: Using ACPI for IRQ routing
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.4
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: AC Adapter [ACAD] (off-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID0]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Video Device [GFX0] (multi-head: yes  rom: yes  post: no)
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
ACPI: Thermal Zone [THRM] (68 C)
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 17 (level, low) -> IRQ 17
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
ACPI: PCI interrupt 0000:02:09.2[C] -> GSI 22 (level, low) -> IRQ 22
ACPI: PCI interrupt 0000:02:09.0[A] -> GSI 20 (level, low) -> IRQ 20
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23
ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
ACPI wakeup devices:
ACPI: (supports S0 S3 S4 S5)
ACPI: PCI interrupt 0000:02:06.0[A] -> GSI 18 (level, low) -> IRQ 18
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 17

_________________
Debian on a Dell latitude D600: http://d600.elwiki.com/
There is no such thing as a stupid question. They are just the easiest to answer.
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Thu Jun 30, 2005 9:38 am    Post subject: Reply with quote

Ragarding lm_sensors your SMBus chip is probably hidden by BIOS. You can find how i made it visible on my Toshiba Tecra M2 in this thread

https://forums.gentoo.org/viewtopic-t-353707.html

Anyway, at least for my laptop, there's no info about the fan there.
Back to top
View user's profile Send private message
beissemj
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2005
Posts: 100
Location: Orlando, FL

PostPosted: Tue Jul 05, 2005 7:08 am    Post subject: Reply with quote

well, i got lm-sensors working... kind of. it loads the useless eeprom stuff but i get this on dmesg:

Code:

i801_smbus 0000:00:1f.3: I801 using PCI Interrupt for SMBus.
i801_smbus 0000:00:1f.3: SMBREV = 0x3
i801_smbus 0000:00:1f.3: I801_smba = 0x1880
i801_smbus 0000:00:1f.3: Transaction (pre): CNT=00, CMD=00,ADD=a0, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: SMBus busy (02). Resetting...
i801_smbus 0000:00:1f.3: Successfull!
i801_smbus 0000:00:1f.3: Transaction (post): CNT=00, CMD=00, ADD=a0, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Transaction (pre): CNT=00, CMD=00,ADD=a0, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Transaction (post): CNT=00, CMD=00, ADD=a0, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Transaction (pre): CNT=00, CMD=00,ADD=a2, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Transaction (post): CNT=00, CMD=00, ADD=a2, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Transaction (pre): CNT=00, CMD=00,ADD=a2, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Transaction (post): CNT=00, CMD=00, ADD=a2, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Transaction (pre): CNT=00, CMD=00,ADD=a4, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Error: no response!
i801_smbus 0000:00:1f.3: Transaction (post): CNT=00, CMD=00, ADD=a4, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Transaction (pre): CNT=00, CMD=00,ADD=a6, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Error: no response!
i801_smbus 0000:00:1f.3: Transaction (post): CNT=00, CMD=00, ADD=a6, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Transaction (pre): CNT=00, CMD=00,ADD=a8, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Error: no response!
i801_smbus 0000:00:1f.3: Transaction (post): CNT=00, CMD=00, ADD=a8, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Transaction (pre): CNT=00, CMD=00,ADD=aa, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Error: no response!
i801_smbus 0000:00:1f.3: Transaction (post): CNT=00, CMD=00, ADD=aa, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Transaction (pre): CNT=00, CMD=00,ADD=ac, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Error: no response!
i801_smbus 0000:00:1f.3: Transaction (post): CNT=00, CMD=00, ADD=ac, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Transaction (pre): CNT=00, CMD=00,ADD=ae, DAT0=06, DAT1=00
i801_smbus 0000:00:1f.3: Error: no response!
i801_smbus 0000:00:1f.3: Transaction (post): CNT=00, CMD=00, ADD=ae, DAT0=06, DAT1=00


so i'm thinking it's more than likely hidden at 1f.3..

EDIT
maybe not...
Code:

#lspci
0000:00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
hmmmm....
_________________
Debian on a Dell latitude D600: http://d600.elwiki.com/
There is no such thing as a stupid question. They are just the easiest to answer.
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Tue Jul 05, 2005 10:30 am    Post subject: Reply with quote

If you've Windows you may try to check what's out there with SpeedFan

http://www.almico.com/speedfan.php
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum