hp compaq nx9005

Marco
2003-11-29
2003-12-04
  • Marco

    Marco - 2003-11-29

    I have a HP Compaq nx9005 too.
    I read the message from emeitner.
    I compiled and loaded the module 2003-11-12 for kernel 2.4.22.
    In my case the working features are:
    temperature, ac, onetouch.
    There display function does not work correctly.
    The command:
    cat /proc/omnibook/display
    always returns the same result:
    External display is not present

    I tried to plug the external monitor before and after
    booting the notebook but nothing changes.
    I'm also interest in suporting other features, such
    LCD backlight turn off and fan monitoring.

    I can supply the following info:
    1.
    Pavels omke.pl does not seem to work, it doesn't cause any effect
    with none of the options;
    2.
    I tried loading the module with ectype= from 1 to 9:
    with ectype=2 'battery' seems to work;
    ectype=7 seems to correspond to the default behavior.
    The others returned inconsistent values.
    3.
    These are the DMI strings:
    root@notebook:/proc# cat /proc/omnibook/dmi
    BIOS Vendor:   Phoenix Technologies Ltd.
    BIOS Version:  KAM1.46
    BIOS Release:  07/21/200392
    System Vendor: Hewlett-Packard
    Product Name:  HP nx9005 (DJ163A)
    Version:       KAM1.46
    Serial Number: CNF3341DWD
    Board Vendor:  Hewlett-Packard
    Board Name:    0024
    Board Version: PQ1A78
    4.
    My kernel suports ACPI so I dumped the DSDT
    with the command:
    cat /proc/acpi/dsdt > nx9005.aml
    I can supply this file to anyone who needs it,
    just tell me the e-mail address.
    I may also help in testing changes to the omnibook module.

    Regards
    Marco
    jschin@tin.it

     
    • Soós, Péter

      Soós, Péter - 2003-12-03

      Hi,

      When you load module with ectype=2 the battery information is correct?
      Anyway please send me the DSDT, and the test results (content of files in the /proc/omnibook/)

      Regards,
      Peter

       
      • Marco

        Marco - 2003-12-04

        Hi.
        I posted the file nx9005.aml to
        soosp at users.sourceforge.net. Is this correct?

        Furthermore, I'm reporting more detailed tests.

        When I load the module with option ectype=2 I find the following
        situation:

        root@notebook:/proc# pwd
        /proc

        root@notebook:/proc# ls omnibook/
        ac  battery  blank  display  dmi  key_polling  lcd  onetouch  temperature  touchpad  version

        root@notebook:/proc# for name in omnibook/*; do echo $name; cat $name; done
        omnibook/ac
        AC off-line

        omnibook/battery
        Battery:                      0
        Type:                      NiMH
        Present Voltage:          16873 mV
        Design Voltage:            4096 mV
        Remaining Capacity:        4409 mAh
        Design Capacity:            574 mAh
        Gauge:                        0 %
        Status:                charging

        omnibook/blank
        LCD console blanking is enabled

        omnibook/display
        External display is not present

        omnibook/dmi
        BIOS Vendor:   Phoenix Technologies Ltd.
        BIOS Version:  KAM1.46
        BIOS Release:  07/21/200392
        System Vendor: Hewlett-Packard
        Product Name:  HP nx9005 (DJ163A)
        Version:       KAM1.46
        Serial Number: CNF3341DWD
        Board Vendor:  Hewlett-Packard
        Board Name:    0024
        Board Version: PQ1A78

        omnibook/key_polling
        Volume buttons handling is disabled
        omnibook/lcd
        LCD brightness:  4

        omnibook/onetouch
        OneTouch buttons are enabled

        omnibook/temperature
        CPU temperature:             0 C

        omnibook/touchpad
        Touchpad is enabled

        omnibook/version
        2003-11-12

        And this is what I get from acpi (after few seconds):

        marco@notebook:~$ cat /proc/acpi/battery/BAT1/info
        present:                 yes
        design capacity:         4400 mAh
        last full capacity:      4384 mAh
        battery technology:      rechargeable
        design voltage:          14800 mV
        design capacity warning: 300 mAh
        design capacity low:     200 mAh
        capacity granularity 1:  32 mAh
        capacity granularity 2:  32 mAh
        model number:            01KT
        serial number:           1
        battery type:            LION
        OEM info:                SMP-PA

        marco@notebook:~$ cat /proc/acpi/battery/BAT1/state
        present:                 yes
        capacity state:          ok
        charging state:          charging
        present rate:            192 mA
        remaining capacity:      4384 mAh
        present voltage:         16864 mV

        After some minutes the battery finished charging
        (the battery led switched from yellow to green) and I executed the test again:

        root@notebook:/proc# for name in omnibook/*; do echo $name; cat $name; done

        [...]

        omnibook/battery
        Battery:                      0
        Type:                    Li-Ion
        Present Voltage:          16815 mV
        Design Voltage:            4096 mV
        Remaining Capacity:        4409 mAh
        Design Capacity:           4414 mAh
        Gauge:                        0 %
        Status:                 charged

        [...]

        And this is what acpi says:

        marco@notebook:~$ cat /proc/acpi/battery/BAT1/state
        present:                 yes
        capacity state:          ok
        charging state:          unknown
        present rate:            0 mA
        remaining capacity:      4384 mAh
        present voltage:         16800 mV

        marco@notebook:~$ cat /proc/acpi/battery/BAT1/info
        present:                 yes
        design capacity:         4400 mAh
        last full capacity:      4384 mAh
        battery technology:      rechargeable
        design voltage:          14800 mV
        design capacity warning: 300 mAh
        design capacity low:     200 mAh
        capacity granularity 1:  32 mAh
        capacity granularity 2:  32 mAh
        model number:            01KT
        serial number:           1
        battery type:            LION
        OEM info:                SMP-PA

        These tests were done with ac power plugged in.

        Then I unplugged the external power and repeated the test after 5 minutes:
        now the values were:

        from omnibook/battery:
        Battery:                      0
        Type:                    Li-Ion
        Present Voltage:          16324 mV
        Design Voltage:            4096 mV
        Remaining Capacity:        4249 mAh
        Design Capacity:           4414 mAh
        Gauge:                        0 %
        Status:             discharging

        And from acpi:
        marco@notebook:~$ cat /proc/acpi/battery/BAT1/info
        present:                 yes
        design capacity:         4400 mAh
        last full capacity:      4384 mAh
        battery technology:      rechargeable
        design voltage:          14800 mV
        design capacity warning: 300 mAh
        design capacity low:     200 mAh
        capacity granularity 1:  32 mAh
        capacity granularity 2:  32 mAh
        model number:            01KT
        serial number:           1
        battery type:            LION
        OEM info:                SMP-PA

        marco@notebook:~$ cat /proc/acpi/battery/BAT1/state
        present:                 yes
        capacity state:          ok
        charging state:          discharging
        present rate:            1312 mA
        remaining capacity:      4256 mAh
        present voltage:         16320 mV

        The values retrieved from omnibook/battery seem to be correct,
        or at least 'Type', 'Present voltage' and 'Remaining capacity'.
        But as you can see from results no other feature work with ectype=2:
        even 'ac' and 'temperature', which work with the default configuration,
        return wrong values.

        This is the situation loading the module without options:

        root@notebook:/proc# ls omnibook/
        ac  display  dmi  onetouch  temperature  version

        root@notebook:/proc# for name in omnibook/*; do echo $name; cat $name; done
        omnibook/ac
        AC on-line
        omnibook/display
        External display is not present
        omnibook/dmi
        BIOS Vendor:   Phoenix Technologies Ltd.
        BIOS Version:  KAM1.46
        BIOS Release:  07/21/200392
        System Vendor: Hewlett-Packard
        Product Name:  HP nx9005 (DJ163A)
        Version:       KAM1.46
        Serial Number: CNF3341DWD
        Board Vendor:  Hewlett-Packard
        Board Name:    0024
        Board Version: PQ1A78
        omnibook/onetouch
        OneTouch buttons are enabled
        omnibook/temperature
        CPU temperature:            44 C
        omnibook/version
        2003-11-12

        And if I disconnect AC I get:

        AC off-line
        (thus is OK).
        I also verified that the five onetouch buttons and the three volume buttons
        (+ - mute) return a keycode (with xev utility), while if I disable the onetouch feature only some
        of them work. And this is what I expected.

        Regards, mschinca

         

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks