Find the answer to your Linux question:
Results 1 to 7 of 7
Hallo, Could you help me to enable the battery status on Gkrellm? Notebook: Toshiba Tecra Battery: Microsoft ACPI-konforme Gkrellm shows 'no data' Thanks & best wishes p.s. I'm not sure, ...
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    25

    'No data' - notebook battery on Gkrellm ?

    Hallo,

    Could you help me to enable the battery status on Gkrellm?

    Notebook: Toshiba Tecra
    Battery: Microsoft ACPI-konforme
    Gkrellm shows 'no data'

    Thanks & best wishes

    p.s. I'm not sure, which battery command I can choice.

  2. #2
    Just Joined!
    Join Date
    Nov 2005
    Location
    California
    Posts
    36
    Do you have power controls and reporting complied into the kernel?

  3. #3
    Just Joined!
    Join Date
    Sep 2005
    Posts
    25
    I thinks 'yes',

  4. #4
    Just Joined!
    Join Date
    Nov 2005
    Location
    California
    Posts
    36
    To find out open a terminal window and do

    Code:
    cd /usr/src/linux
    less .config | grep ACPI
    if the various items are compiled into the kernel then they will show as

    Code:
    CONFIG_ACPI_[item]=y
    If they are compiled as modules they will show as

    Code:
    CONFIG_ACPI_[item]=m
    Otherwise it will show

    Code:
    CONFIG_ACPI_[item] is not set

  5. #5
    Just Joined!
    Join Date
    Sep 2005
    Posts
    25
    Hello, KG6KVQ,

    Code:
    # 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=m
    CONFIG_ACPI_BATTERY=m
    CONFIG_ACPI_BUTTON=m
    CONFIG_ACPI_FAN=m
    CONFIG_ACPI_PROCESSOR=m
    CONFIG_ACPI_THERMAL=m
    CONFIG_ACPI_ASUS=m
    CONFIG_ACPI_TOSHIBA=m
    # 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_ACPI_CPUFREQ=m
    # CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
    CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
    CONFIG_HOTPLUG_PCI_ACPI=m
    # CONFIG_SERIAL_8250_ACPI is not set
    Should I compile the kernel again ?
    Thanks

  6. #6
    Just Joined!
    Join Date
    Nov 2005
    Location
    California
    Posts
    36
    No, the batter is compiled as a module so now you need to run

    Code:
    lsmod
    to see if it is being loaded into the kernel. If not load it with modprobe and add it to your /etc/modules.autoload.d/kernel-<version> file. Then you should have battery data being reported.

  7. #7
    Just Joined!
    Join Date
    Sep 2005
    Posts
    25
    hello, KG6KVQ,

    I have just added 'battery' into '/etc/modules'
    It does work.
    Thank you very much!

    Greetings

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •