Announcement

Collapse
No announcement yet.

How to monitor the GPU temperature?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • octapult
    replied
    Originally posted by agd5f View Post
    Is the driver loaded on both GPUs? Check your dmesg output. Probably best to file a bug.
    These are some messages related to drm/i2c from dmesg output:
    Code:
    [    0.435787] [drm] Initialized drm 1.1.0 20060810
    [    0.435907] [drm] radeon defaulting to kernel modesetting.
    [    0.435968] [drm] radeon kernel modesetting enabled.
    [    0.436299] [drm] initializing kernel modesetting (RV770 0x1002:0x9441 0x1002:0x2542).
    [    0.436412] [drm] register mmio base: 0xF5000000
    [    0.436469] [drm] register mmio size: 65536
    [    0.436667] ATOM BIOS: R700
    [    0.436741] radeon 0000:03:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
    [    0.436821] radeon 0000:03:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
    [    0.436902] mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
    [    0.436980] [drm] Detected VRAM RAM=1024M, BAR=256M
    [    0.437056] [drm] RAM width 256bits DDR
    [    0.437158] [TTM] Zone  kernel: Available graphics memory: 2022112 kiB
    [    0.437220] [TTM] Initializing pool allocator
    [    0.437276] [TTM] Initializing DMA pool allocator
    [    0.437348] [drm] radeon: 1024M of VRAM memory ready
    [    0.437403] [drm] radeon: 512M of GTT memory ready.
    [    0.437464] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [    0.437519] [drm] Driver supports precise vblank timestamp query.
    [    0.437607] radeon 0000:03:00.0: irq 47 for MSI/MSI-X
    [    0.437615] radeon 0000:03:00.0: radeon: using MSI.
    [    0.437692] [drm] radeon: irq initialized.
    [    0.437747] [drm] GART: num cpu pages 131072, num gpu pages 131072
    [    0.438468] [drm] radeon: ib pool ready.
    [    0.439306] [drm] Loading RV770 Microcode
    [    0.441243] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
    [    0.441338] radeon 0000:03:00.0: WB enabled
    [    0.441393] [drm] fence driver on ring 0 use gpu addr 0x40000c00 and cpu addr 0xffff88012aa48c00
    [    0.488058] [drm] ring test on 0 succeeded in 1 usecs
    [    0.488507] [drm] ib test on ring 0 succeeded in 0 usecs
    [    0.489193] [drm] Radeon Display Connectors
    [    0.489254] [drm] Connector 0:
    [    0.489307] [drm]   DVI-I
    [    0.489359] [drm]   HPD2
    [    0.489412] [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
    [    0.489489] [drm]   Encoders:
    [    0.489542] [drm]     DFP1: INTERNAL_UNIPHY
    [    0.489595] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
    [    0.489648] [drm] Connector 1:
    [    0.489701] [drm]   DIN
    [    0.489753] [drm]   Encoders:
    [    0.489805] [drm]     TV1: INTERNAL_KLDSCP_DAC2
    [    0.489858] [drm] Connector 2:
    [    0.489910] [drm]   DVI-I
    [    0.489963] [drm]   HPD1
    [    0.490031] [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
    [    0.490111] [drm]   Encoders:
    [    0.490164] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
    [    0.490217] [drm]     DFP2: INTERNAL_KLDSCP_LVTMA
    [    0.490300] [drm] Special thermal controller config
    [    0.490371] [drm] radeon: power management initialized
    [    0.555593] [drm] fb mappable at 0xD0142000
    [    0.555646] [drm] vram apper at 0xD0000000
    [    0.555700] [drm] size 8294400
    [    0.555752] [drm] fb depth is 24
    [    0.555805] [drm]    pitch is 7680
    [    0.555960] fbcon: radeondrmfb (fb0) is primary device
    [    0.969639] Console: switching to colour frame buffer device 240x67
    [    0.974146] fb0: radeondrmfb frame buffer device
    [    0.974148] drm: registered panic notifier
    [    0.974193] [drm] Initialized radeon 2.15.0 20080528 for 0000:03:00.0 on minor 0
    [    0.974485] [drm] initializing kernel modesetting (RV770 0x1002:0x9441 0x1002:0x2042).
    [    0.974557] [drm] register mmio base: 0xF7000000
    [    0.974586] [drm] register mmio size: 65536
    [    1.098206] ATOM BIOS: R700
    [    1.098242] radeon 0000:04:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
    [    1.098278] radeon 0000:04:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
    [    1.098313] mtrr: type mismatch for e0000000,10000000 old: write-back new: write-combining
    [    1.098346] [drm] Detected VRAM RAM=1024M, BAR=256M
    [    1.098367] [drm] RAM width 256bits DDR
    [    1.098388] [drm] radeon: 1024M of VRAM memory ready
    [    1.098410] [drm] radeon: 512M of GTT memory ready.
    [    1.098441] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [    1.098468] [drm] Driver supports precise vblank timestamp query.
    [    1.098532] radeon 0000:04:00.0: irq 48 for MSI/MSI-X
    [    1.098541] radeon 0000:04:00.0: radeon: using MSI.
    [    1.098584] [drm] radeon: irq initialized.
    [    1.098605] [drm] GART: num cpu pages 131072, num gpu pages 131072
    [    1.099390] [drm] radeon: ib pool ready.
    [    1.099554] [drm] Loading RV770 Microcode
    [    1.101467] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
    [    1.101538] radeon 0000:04:00.0: WB enabled
    [    1.101558] [drm] fence driver on ring 0 use gpu addr 0x40000c00 and cpu addr 0xffff88012a308c00
    [    1.148194] Refined TSC clocksource calibration: 2399.999 MHz.
    [    1.148200] [drm] ring test on 0 succeeded in 0 usecs
    [    1.148251] Switching to clocksource tsc
    [    1.148530] [drm] ib test on ring 0 succeeded in 0 usecs
    [    1.148861] [drm] Radeon Display Connectors
    [    1.148896] [drm] Internal thermal controller without fan control
    [    1.149043] [drm] radeon: power management initialized
    [    1.149100] No connectors reported connected with modes
    [    1.149125] [drm] Cannot find any crtc or sizes - going 1024x768
    [    1.150792] [drm] fb mappable at 0xE0142000
    [    1.150811] [drm] vram apper at 0xE0000000
    [    1.150830] [drm] size 3145728
    [    1.150845] [drm] fb depth is 24
    [    1.150860] [drm]    pitch is 4096
    [    1.150954] fb1: radeondrmfb frame buffer device
    [    1.150993] [drm] Initialized radeon 2.15.0 20080528 for 0000:04:00.0 on minor 1
    [    1.153423] brd: module loaded
    [    1.154694] loop: module loaded
    snip
    [   13.696531] it87: Found IT8718F chip at 0x290, revision 5
    [   13.696539] it87: VID is disabled (pins used for GPIO)
    [   13.696550] it87: Beeping is supported
    snip
    [ 1609.712027] Modules linked in: it87 adt7475 hwmon_vid i2c_i801 coretemp
    There is a hwmon directory in /sys/class/drm/card1/device but not in card0, so I guess hwmon driver is not active on gpu0:
    Code:
    $ ls /sys/class/drm/card0/device
    boot_vga              config                    dma_mask_bits  enable    i2c-1  i2c-4          local_cpus  msi_irqs      power_profile  reset      resource0_wc  rom               subsystem_vendor
    broken_parity_status  consistent_dma_mask_bits  driver         graphics  i2c-2  irq            modalias    power         remove         resource   resource2     subsystem         uevent
    class                 device                    drm            i2c-0     i2c-3  local_cpulist  msi_bus     power_method  rescan         resource0  resource4     subsystem_device  vendor
    
    $ ls /sys/class/drm/card1/device
    broken_parity_status  consistent_dma_mask_bits  driver  graphics  i2c-6  i2c-9          local_cpus  msi_irqs      power_profile  reset      resource0_wc  rom               subsystem_vendor
    class                 device                    drm     hwmon     i2c-7  irq            modalias    power         remove         resource   resource2     subsystem         uevent
    config                dma_mask_bits             enable  i2c-5     i2c-8  local_cpulist  msi_bus     power_method  rescan         resource0  resource4     subsystem_device  vendor

    Leave a comment:


  • agd5f
    replied
    Originally posted by octapult View Post
    As you can see there is only temperature of gpu1. Temperature of gpu0 should be 85-90?C (Yes I know it's too high due to my old system case :/ ). Sometimes it rises above 90?C and I have to manually turn power_profile to "high" (which was set to "auto") to speed up gpu fan to cool down a bit. That's why I need gpu0's temperature rather than gpu1's. Is there anyway to get gpu0's temperature with open source radeon driver?
    Is the driver loaded on both GPUs? Check your dmesg output. Probably best to file a bug.

    Leave a comment:


  • octapult
    replied
    Hello. My video card is 4870x2 and I'm using open source radeon driver (xf86-video-ati). I can only get temperature of gpu1 but not gpu0.

    These are what I set in kernel:
    Code:
    Device Drivers --->
        Graphics support --->
            <*> Support for frame buffer devices --->
                <*> ATI Radeon display support [*] DDC/I2C for ATI Radeon support
    These are detected by lm_sensors regarding Radeon i2c:
    Code:
    Next adapter: Radeon i2c bit bus 0x91 (i2c-1)
    Do you want to scan it? (YES/no/selectively): y
    Client found at address 0x2e
    Probing for `Myson MTP008'...                               No
    Probing for `National Semiconductor LM78'...                No
    Probing for `National Semiconductor LM79'...                No
    Probing for `National Semiconductor LM80'...                No
    Probing for `National Semiconductor LM85'...                No
    Probing for `National Semiconductor LM96000 or PC8374L'...  No
    Probing for `Analog Devices ADM1027'...                     No
    Probing for `Analog Devices ADT7460 or ADT7463'...          No
    Probing for `SMSC EMC6D100 or EMC6D101'...                  No
    Probing for `SMSC EMC6D102'...                              No
    Probing for `SMSC EMC6D103'...                              No
    Probing for `SMSC EMC6D103S or EMC2300'...                  No
    Probing for `SMSC EMC6W201'...                              No
    Probing for `Winbond WPCD377I'...                           No
    Probing for `Analog Devices ADT7467 or ADT7468'...          No
    Probing for `Analog Devices ADT7470'...                     No
    Probing for `Analog Devices ADT7473'...                     Success!
        (confidence 5, driver `adt7475')
    Probing for `Analog Devices ADT7475'...                     No
    Probing for `Analog Devices ADT7476'...                     No
    Probing for `Analog Devices ADT7490'...                     No
    Probing for `Andigilog aSC7611'...                          No
    Probing for `Andigilog aSC7621'...                          No
    Probing for `National Semiconductor LM87'...                No
    Probing for `Analog Devices ADM1024'...                     No
    Probing for `National Semiconductor LM93'...                No
    Probing for `National Semiconductor LM94'...                No
    Probing for `Winbond W83781D'...                            No
    Probing for `Winbond W83782D'...                            No
    Probing for `Winbond W83791D'...                            No
    Probing for `Winbond W83792D'...                            No
    Probing for `Winbond W83793R/G'...                          No
    Probing for `Nuvoton W83795G/ADG'...                        No
    Probing for `Winbond W83627HF'...                           No
    Probing for `Winbond W83627EHF'...                          No
    Probing for `Winbond W83627DHG/W83667HG/W83677HG'...        No
    Probing for `Asus AS99127F (rev.1)'...                      No
    Probing for `Asus AS99127F (rev.2)'...                      No
    Probing for `Asus ASB100 Bach'...                           No
    Probing for `Winbond W83L786NR/NG/R/G'...                   No
    Probing for `Winbond W83L785TS-S'...                        No
    Probing for `Analog Devices ADM9240'...                     No
    Probing for `Dallas Semiconductor DS1780'...                No
    Probing for `National Semiconductor LM81'...                No
    Probing for `Analog Devices ADM1026'...                     No
    Probing for `Analog Devices ADM1025'...                     No
    Probing for `Maxim MAX6639'...                              No
    Probing for `Texas Instruments AMC6821'...                  No
    Probing for `Analog Devices ADM1029'...                     No
    Probing for `Analog Devices ADM1030'...                     No
    Probing for `Analog Devices ADM1031'...                     No
    Probing for `Analog Devices ADM1022'...                     No
    Probing for `Texas Instruments THMC50'...                   No
    Probing for `Analog Devices ADM1028'...                     No
    Probing for `Texas Instruments THMC51'...                   No
    Probing for `ITE IT8712F'...                                No
    Probing for `SMSC DME1737'...                               No
    Probing for `SMSC SCH5027D-NW'...                           No
    Probing for `SMSC EMC2103'...                               No
    Probing for `Fintek F75373S/SG'...                          No
    Probing for `Fintek F75375S/SP'...                          No
    Probing for `Fintek F75387SG/RG'...                         No
    Probing for `Winbond W83791SD'...                           No
    Client found at address 0x48
    Probing for `National Semiconductor LM75'...                No
    Probing for `National Semiconductor LM75A'...               No
    Probing for `Dallas Semiconductor DS75'...                  No
    Probing for `National Semiconductor LM77'...                No
    Probing for `Analog Devices ADT7410'...                     No
    Probing for `Analog Devices ADT7411'...                     No
    Probing for `Dallas Semiconductor DS1621/DS1631'...         No
    Probing for `Maxim MAX6642'...                              No
    Probing for `National Semiconductor LM73'...                No
    Probing for `National Semiconductor LM92'...                No
    Probing for `National Semiconductor LM76'...                No
    Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
    Probing for `NXP/Philips SA56004'...                        No
    Probing for `SMSC EMC1023'...                               No
    Probing for `SMSC EMC1043'...                               No
    Probing for `SMSC EMC1053'...                               No
    Probing for `SMSC EMC1063'...                               No
    Client found at address 0x4f
    Probing for `National Semiconductor LM75'...                No
    Probing for `National Semiconductor LM75A'...               No
    Probing for `Dallas Semiconductor DS75'...                  No
    Probing for `Dallas Semiconductor DS1621/DS1631'...         No
    Probing for `Maxim MAX6642'...                              No
    Probing for `Texas Instruments TMP421'...                   No
    Probing for `Texas Instruments TMP422'...                   No
    Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
    Probing for `NXP/Philips SA56004'...                        No
    
    Next adapter: Radeon i2c bit bus 0x92 (i2c-2)
    Do you want to scan it? (YES/no/selectively): y
    Client found at address 0x49
    Probing for `National Semiconductor LM75'...                No
    Probing for `National Semiconductor LM75A'...               No
    Probing for `Dallas Semiconductor DS75'...                  No
    Probing for `National Semiconductor LM77'...                No
    Probing for `Analog Devices ADT7410'...                     No
    Probing for `Dallas Semiconductor DS1621/DS1631'...         No
    Probing for `Maxim MAX6642'...                              No
    Probing for `National Semiconductor LM73'...                No
    Probing for `National Semiconductor LM92'...                No
    Probing for `National Semiconductor LM76'...                No
    Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
    Probing for `NXP/Philips SA56004'...                        No
    Probing for `SMSC EMC1023'...                               No
    Probing for `SMSC EMC1043'...                               No
    Probing for `SMSC EMC1053'...                               No
    Probing for `SMSC EMC1063'...                               No
    Client found at address 0x50
    Probing for `Analog Devices ADM1033'...                     No
    Probing for `Analog Devices ADM1034'...                     No
    Probing for `SPD EEPROM'...                                 No
    Probing for `EDID EEPROM'...                                Yes
        (confidence 8, not a hardware monitoring chip)
    
    Next adapter: Radeon i2c bit bus 0x93 (i2c-3)
    Do you want to scan it? (YES/no/selectively): y
    
    Next adapter: Radeon i2c bit bus 0x14 (i2c-4)
    Do you want to scan it? (YES/no/selectively): y
    
    Next adapter: Radeon i2c bit bus 0x90 (i2c-5)
    Do you want to scan it? (YES/no/selectively): y
    
    Next adapter: Radeon i2c bit bus 0x91 (i2c-6)
    Do you want to scan it? (YES/no/selectively): y
    
    Next adapter: Radeon i2c bit bus 0x92 (i2c-7)
    Do you want to scan it? (YES/no/selectively): y
    
    Next adapter: Radeon i2c bit bus 0x93 (i2c-8)
    Do you want to scan it? (YES/no/selectively): y
    
    Next adapter: Radeon i2c bit bus 0x14 (i2c-9)
    Do you want to scan it? (YES/no/selectively): y
    Kernel modules loaded:
    Code:
    $ lsmod
    Module                  Size  Used by
    it87                   27392  0 
    coretemp                5398  0 
    adt7475                20002  0 
    hwmon_vid               2940  2 it87,adt7475
    i2c_i801                8054  0
    These are what I get from sensors command:
    Code:
    $ sensors
    radeon-pci-0400
    Adapter: PCI adapter
    temp1:        +63.5?C  
    
    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0:       +55.0?C  (high = +82.0?C, crit = +100.0?C)
    Core 1:       +54.0?C  (high = +82.0?C, crit = +100.0?C)
    Core 2:       +51.0?C  (high = +82.0?C, crit = +100.0?C)
    Core 3:       +49.0?C  (high = +82.0?C, crit = +100.0?C)
    
    it8718-isa-0290
    Adapter: ISA adapter
    in0:          +1.14 V  (min =  +0.00 V, max =  +4.08 V)
    in1:          +1.94 V  (min =  +0.00 V, max =  +4.08 V)
    in2:          +3.30 V  (min =  +0.00 V, max =  +4.08 V)
    +5V:          +2.96 V  (min =  +0.00 V, max =  +4.08 V)
    in4:          +0.11 V  (min =  +0.00 V, max =  +4.08 V)
    in5:          +0.06 V  (min =  +0.00 V, max =  +4.08 V)
    in6:          +0.11 V  (min =  +0.00 V, max =  +4.08 V)
    in7:          +3.06 V  (min =  +0.00 V, max =  +4.08 V)
    Vbat:         +3.12 V  
    fan1:        2319 RPM  (min =   10 RPM)
    fan2:           0 RPM  (min =    0 RPM)
    fan3:           0 RPM  (min =    0 RPM)
    fan4:           0 RPM  (min =    0 RPM)
    temp1:        +52.0?C  (low  = +127.0?C, high = +127.0?C)  sensor = thermistor
    temp2:        +43.0?C  (low  = +127.0?C, high = +80.0?C)  sensor = thermal diode
    temp3:         -3.0?C  (low  = +127.0?C, high = +127.0?C)  sensor = thermistor
    intrusion0:  ALARM
    My system:
    Code:
    $ uname -a
    Linux localhost 3.4.2-gentoo #2 SMP Wed Jun 13 20:05:53 CST 2012 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux
    As you can see there is only temperature of gpu1. Temperature of gpu0 should be 85-90?C (Yes I know it's too high due to my old system case :/ ). Sometimes it rises above 90?C and I have to manually turn power_profile to "high" (which was set to "auto") to speed up gpu fan to cool down a bit. That's why I need gpu0's temperature rather than gpu1's. Is there anyway to get gpu0's temperature with open source radeon driver?
    Last edited by octapult; 13 June 2012, 08:53 AM.

    Leave a comment:


  • AndrewR
    replied
    Try those three patches ...

    http://people.freedesktop.org/~agd5f...-on-comb.patch

    http://people.freedesktop.org/~agd5f...2c-buses.patch

    http://people.freedesktop.org/~agd5f...ios-i2c-.patch

    Leave a comment:


  • hobbes
    replied
    Originally posted by agd5f View Post
    Make sure radeon is loaded before lm63 since the radeon i2c buses don't exist until radeon is loaded. Try unloading lm63 if it's already loaded and then reloading it after radeon has loaded:
    modprobe -r lm63
    modprobe lm63
    I've tried that, again, to no avail.

    I noticed something on dmesg:

    Code:
    $ dmesg | egrep i2c
    [    1.347993] i2c-core: driver [adp5520] using legacy suspend method
    [    1.347996] i2c-core: driver [adp5520] using legacy resume method
    [    9.066050] i2c /dev entries driver
    i2c-core shows up on the boot process, but it is not showing on lsmod:

    Code:
     lsmod | egrep i2c*
    i2c_dev                13399  0 
    i2c_algo_bit           13436  1 radeon
    i2c_viapro             13153  0
    Thanks for helping.

    I'll ask on the mailing lists.

    Leave a comment:


  • agd5f
    replied
    Make sure radeon is loaded before lm63 since the radeon i2c buses don't exist until radeon is loaded. Try unloading lm63 if it's already loaded and then reloading it after radeon has loaded:
    modprobe -r lm63
    modprobe lm63

    Leave a comment:


  • agd5f
    replied
    Your best bet is to ask on one of the lm_sensors/hwmon mailing lists. I'm not sure why the module isn't loading.

    Leave a comment:


  • hobbes
    replied
    Originally posted by agd5f View Post
    Make sure i2c_dev and i2c_core are loaded. Also check your dmesg output for any messages about lm63.
    Code:
    $ cat /etc/modules 
    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules that should be loaded
    # at boot time, one per line. Lines beginning with "#" are ignored.
    
    lp
    rtc
    
    
    # Generated by sensors-detect on Wed Feb 23 01:15:05 2011
    # Chip drivers
    lm63
    it87
    i2c_dev
    i2c_core

    lsmod

    Code:
    Module                  Size  Used by
    binfmt_misc            17646  1 
    snd_emu10k1_synth      17256  0 
    snd_emux_synth         39664  1 snd_emu10k1_synth
    snd_seq_virmidi        13623  1 snd_emux_synth
    snd_seq_midi_emul      13939  1 snd_emux_synth
    snd_emu10k1           161999  3 snd_emu10k1_synth
    snd_ac97_codec        130553  1 snd_emu10k1
    ac97_bus               12730  1 snd_ac97_codec
    snd_pcm                98540  2 snd_emu10k1,snd_ac97_codec
    snd_page_alloc         18572  2 snd_emu10k1,snd_pcm
    snd_util_mem           14074  2 snd_emux_synth,snd_emu10k1
    snd_hwdep              13782  2 snd_emux_synth,snd_emu10k1
    snd_seq_midi           13370  0 
    snd_rawmidi            30488  3 snd_seq_virmidi,snd_emu10k1,snd_seq_midi
    snd_seq_midi_event     14899  2 snd_seq_virmidi,snd_seq_midi
    i2c_dev                13399  0 
    snd_seq                62088  5 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_midi,snd_seq_midi_event
    radeon                990187  3 
    ttm                    77625  1 radeon
    it87                   43611  0 
    hwmon_vid              12779  1 it87
    drm_kms_helper         42980  1 radeon
    snd_timer              30240  3 snd_emu10k1,snd_pcm,snd_seq
    snd_seq_device         14528  5 snd_emu10k1_synth,snd_emu10k1,snd_seq_midi,snd_rawmidi,snd_seq
    drm                   232889  5 radeon,ttm,drm_kms_helper
    i2c_algo_bit           13436  1 radeon
    lm63                   14385  0 
    gspca_zc3xx            52538  0 
    gspca_main             33076  1 gspca_zc3xx
    videodev               78123  1 gspca_main
    ppdev                  17141  0 
    emu10k1_gp             12606  0 
    v4l2_compat_ioctl32    17259  1 videodev
    i2c_viapro             13153  0 
    snd                    68244  14 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_pcm,snd_hwdep,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    parport_pc             37530  1 
    gameport               20069  2 emu10k1_gp
    shpchp                 37397  0 
    psmouse                70098  0 
    lp                     17868  0 
    usb_storage            54050  0 
    uas                    18136  0 
    serio_raw              13294  0 
    soundcore              12680  1 snd
    parport                42788  3 ppdev,parport_pc,lp
    usbhid                 48035  0 
    hid                    91696  1 usbhid
    r8169                  55123  0 
    floppy                 70590  0 
    sata_via               13968  5 
    pata_via               13659  0
    As you see i2c_core is missing.


    Code:
    $modprobe -v i2c_core
    $
    Code:
    $ lsmod | egrep i2c*
    i2c_dev                13399  0 
    i2c_algo_bit           13436  1 radeon
    i2c_viapro             13153  0
    I tried to modprobe it but no avail. It does not give any errors.

    Code:
    $ dmesg | egrep lm63
    $
    Nothing on dmesg either.

    Code:
    $ pwd
    /sys/class/hwmon/hwmon0/device
    $ ls
    alarms      in6_alarm                   pwm2_auto_point4_pwm
    driver      in6_input                   pwm2_auto_point4_temp
    fan1_alarm  in6_max                     pwm2_enable
    fan1_div    in6_min                     pwm2_freq
    fan1_input  in7_alarm                   pwm3
    fan1_min    in7_input                   pwm3_auto_channels_temp
    fan2_alarm  in7_max                     pwm3_auto_point1_pwm
    fan2_div    in7_min                     pwm3_auto_point1_temp
    fan2_input  in8_input                   pwm3_auto_point1_temp_hyst
    fan2_min    in8_label                   pwm3_auto_point2_pwm
    hwmon       modalias                    pwm3_auto_point2_temp
    in0_alarm   name                        pwm3_auto_point3_pwm
    in0_input   power                       pwm3_auto_point3_temp
    in0_max     pwm1                        pwm3_auto_point4_pwm
    in0_min     pwm1_auto_channels_temp     pwm3_auto_point4_temp
    in1_alarm   pwm1_auto_point1_pwm        pwm3_enable
    in1_input   pwm1_auto_point1_temp       pwm3_freq
    in1_max     pwm1_auto_point1_temp_hyst  subsystem
    in1_min     pwm1_auto_point2_pwm        temp1_alarm
    in2_alarm   pwm1_auto_point2_temp       temp1_input
    in2_input   pwm1_auto_point3_pwm        temp1_max
    in2_max     pwm1_auto_point3_temp       temp1_min
    in2_min     pwm1_auto_point4_pwm        temp1_type
    in3_alarm   pwm1_auto_point4_temp       temp2_alarm
    in3_input   pwm1_enable                 temp2_input
    in3_max     pwm1_freq                   temp2_max
    in3_min     pwm2                        temp2_min
    in4_alarm   pwm2_auto_channels_temp     temp2_type
    in4_input   pwm2_auto_point1_pwm        temp3_alarm
    in4_max     pwm2_auto_point1_temp       temp3_input
    in4_min     pwm2_auto_point1_temp_hyst  temp3_max
    in5_alarm   pwm2_auto_point2_pwm        temp3_min
    in5_input   pwm2_auto_point2_temp       temp3_type
    in5_max     pwm2_auto_point3_pwm        uevent
    in5_min     pwm2_auto_point3_temp
    Nothing new was added.


    Also, I'm running a drm-next Kernel from Ubuntu's Mainline Kernel PPA.
    Code:
    $ uname -a 
    Linux desktop 2.6.38-996-generic #201102231200 SMP Wed Feb 23 12:04:03 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
    Is there anything else that can be done?

    Leave a comment:


  • agd5f
    replied
    r6xx and newer radeons (like your 5770) have an internal thermal sensor that is exposed by the driver on most cards that utilize it so there's no need to probe for it. On pre-r6xx hardware, the thermal sensor was an external i2c chip, so you need to load the appropriate i2c hwmon driver.

    Leave a comment:


  • drag
    replied
    Just for the record I ran lm-sensors and it found the temps and such for my 5770.

    here is the output that I get:

    radeon-pci-0100
    Adapter: PCI adapter
    temp1: +56.0?C

    The sensors-detect script did a good job probing my card and finding every little i2c bus and fingering it. The thing found this as a 'battery sensor' or something like that.

    Weird, but it appears to work.

    Leave a comment:

Working...
X