If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Battery not recognised
Hello !
I've installed Debian Stretch on my HP x2 Detachable with the kernel 4.19. My battery isn't recognised, so I don't have a battery level in the systray. Only the command `lshw` is able to identify the battery : -battery --- produit: SW02032XL --- fabriquant: 333-42-1E-A --- identifiant matériel: 1 --- emplacement: Primary --- capacité: 32570mWh --- configuration: voltage=7,7V I've tried a lot of things without succes. It's seems like the kernel isn't able to recognise the battery. Do you have any tips about this problem? Sylvain |
#2
|
|||
|
|||
Battery not recognised
Sécherre wrote:
Hello ! I've installed Debian Stretch on my HP x2 Detachable with the kernel 4.19. My battery isn't recognised, so I don't have a battery level in the systray. Only the command `lshw` is able to identify the battery : -battery --- produit: SW02032XL --- fabriquant: 333-42-1E-A --- identifiant matériel: 1 --- emplacement: Primary --- capacité: 32570mWh --- configuration: voltage=7,7V I've tried a lot of things without succes. It's seems like the kernel isn't able to recognise the battery. Do you have any tips about this problem? Sylvain I like the Arch Linux articles, for background info. https://wiki.archlinux.org/index.php...#Battery_state "ACPI Battery state can be read using ACPI utilities from the terminal. ACPI command line utilities are provided via the acpi package. See ACPI modules for more information. cbatticon is a battery icon that sits in the system tray. batterymon-cloneAUR is a battery monitor that sits in the system tray, similar to batti. batifyAUR is an udevrule file triggering plug and battery level notifications (multi-x sessions support). " It says there, that the ACPI subsystem provided by the BIOS (ACPI tables), has an ACPI object representing the battery. So the software in Linux to read it, will be dealing with the ACPI object, rather than running a "serial interface" on the battery directly. ******* And this article https://superuser.com/questions/8083...ly-bat0-uevent suggests: cat /sys/class/power_supply/BAT0/uevent POWER_SUPPLY_NAME=BAT0 POWER_SUPPLY_STATUS=Discharging POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_TECHNOLOGY=Li-ion POWER_SUPPLY_CYCLE_COUNT=481 POWER_SUPPLY_VOLTAGE_MIN_DESIGN=7400000 POWER_SUPPLY_VOLTAGE_NOW=7400000 POWER_SUPPLY_POWER_NOW=9361000 POWER_SUPPLY_ENERGY_FULL_DESIGN=48248000 POWER_SUPPLY_ENERGY_FULL=40877000 POWER_SUPPLY_ENERGY_NOW=20712000 POWER_SUPPLY_CAPACITY=50 POWER_SUPPLY_MODEL_NAME=UX32-65 POWER_SUPPLY_MANUFACTURER=ASUSTeK POWER_SUPPLY_SERIAL_NUMBER= Maybe that will tell you if it is detected. ******* If you have purchased a third-party battery, it's possible the capacity monitoring chip is not set up properly. And that's why it isn't registering properly. This document seems to suggest it's on SMBUS (the same bus that the SPD chip on the DIMMs use). While the word I2C appears in the document in the definition section, the word doesn't appear in the body text. http://smartbattery.org/specs/sbdat110.pdf And this is the smart battery charger, the "power management block" on the motherboard. It charges the battery up, when the battery is discharged slightly, and AC power is available. This isn't likely to answer any of your questions, but is a companion to the other spec. http://sbs-forum.org/specs/sbc110.pdf Pointer from here. https://electronics.stackexchange.co...-battery-packs ******* https://www.kernel.org/doc/html/v4.1...r-api/i2c.html There is this. (With the usual "caution" language) https://linux.die.net/man/8/i2cdetect There is lm-sensors, but I can't see any evidence it sees laptop battery chips as part of its feature set. ******* It's possible some subsystem is missing between ACPI and user-land. But what, I don't know... Is it udev? I don't know the role of those softwares and what they do. Paul |
#3
|
|||
|
|||
Battery not recognised
Sécherre wrote:
Hello ! I've installed Debian Stretch on my HP x2 Detachable with the kernel 4.19. My battery isn't recognised, so I don't have a battery level in the systray. Only the command `lshw` is able to identify the battery : -battery --- produit: SW02032XL --- fabriquant: 333-42-1E-A --- identifiant matériel: 1 --- emplacement: Primary --- capacité: 32570mWh --- configuration: voltage=7,7V I've tried a lot of things without succes. It's seems like the kernel isn't able to recognise the battery. Do you have any tips about this problem? Sylvain "HP x2 Detachable" doesn't say which one YOU have. That is a family line of netbooks/tablets. There are models within that family and even submodels. I did a search at hp.com on what you gave and picked the first one that show up in its results, which was: https://support.hp.com/us-en/product...01_title_r0001 When I clicked on the "Software, Drivers and Firmware" button on the left side, that took me to: https://support.hp.com/us-en/drivers...model/11572368 The *only* operating system listed is Windows and *only version 10 64-bit. HP provides the drivers only for that setup which is typical of these type of computers. They don't support earlier versions of Windows, they don't support any later versions of Windows, and they definitely don't support any non-Windows operating systems. What makes you think you can run *NIX on your tablet (with detachable keyboard)? Unless exposed by standard firmware protocols (APM, ACPI), you need something (software or device definition) for the OS to access the hardware. All hardware needs an interface defined in an OS, so the OS knows how to communicate with the hardware. If that tablet has a chip to monitor the battery statistics, something has to tell the OS how to communicate with that chip. I can only guess which driver package from HP is used to interface the OS to the hardware, like maybe the "HP PC Hardware Diagnostics UEFI". You could try to use programs that poll APM or ACPI functions to find the battery. Windows expects the battery firmware to get exposed via ACPI. https://docs.microsoft.com/en-us/win...implementation One version of ACPI is documented at: http://www.acpi.info/DOWNLOADS/ACPI_5_Errata%20A.pdf Section 3.9 Battery Management, page 45. To find how Debian might use ACPI to monitor/manage the battery, I did a search, which was: https://www.google.com/search?q=debi...ery+management one of which was: https://linrunner.de/en/tlp/docs/tlp...anagement.html Perhaps in the distro you installed, you didn't do a custom install; that is, maybe you have to select one of the non-default packages to install to get ACPI battery management included in that OS. Maybe Debian doesn't come with ACPI battery management functions included or in its distro, so you're stuck using non-distro tools. From cursory reading, *NIX users have complained that some distros are not as efficient on battery life as Windows, and I've seen TLP mentioned as a solution. Never used Debian but I did find: https://packages.debian.org/jessie/x...-power-manager and which says it does battery monitoring. |
#4
|
|||
|
|||
Battery not recognised
Le 04/03/2019 Ã* 17:32, Sécherre a écritÂ*:
Hello ! I've installed Debian Stretch on my HP x2 Detachable with the kernel 4.19. My battery isn't recognised, so I don't have a battery level in the systray. Only the command `lshw` is able to identify the battery : -battery --- produit: SW02032XL --- fabriquant: 333-42-1E-A --- identifiant matériel: 1 --- emplacement: Primary --- capacité: 32570mWh --- configuration: voltage=7,7V I've tried a lot of things without succes. It's seems like the kernel isn't able to recognise the battery. Do you have any tips about this problem? Sylvain Thanks a lot for your answers. I realize that I didn't give you the pieces of information needed. Sorry. My netbook is a "HP x2 detachable 10-p029NF". I'm under Debian Stretch, kernel 4.19 (backports), and I use KDE. There's a option in the bios that allows the OS to see the battery status or not. But it seemes it doesn't work because the behavior of the OS is the same if set on or off. Thirst clue, the icone in the system tray tells "no batterie available". -------------------------------- Second clue, the command "ls /sys/class/power_supply" doesn't show "BAT0", but only "ADP1". -------------------------------- Third clue, here's the result of the command upower -e: -------------------------------- /org/freedesktop/UPower/devices/line_power_ADP1 /org/freedesktop/UPower/devices/DisplayDevice Fourth clue, "acpi -V" gives me: -------------------------------- Adapter 0: off-line Thermal 0: ok, 53.0 degrees C Thermal 0: trip point 0 switches to mode hot at temperature 89.0 degrees C Thermal 0: trip point 1 switches to mode passive at temperature 87.0 degrees C Cooling 0: Processor 0 of 10 Cooling 1: PNIT no state information available Cooling 2: soc_dts1 no state information available Cooling 3: Processor 0 of 10 Cooling 4: STR0 no state information available Cooling 5: Processor 0 of 10 Cooling 6: STR2 no state information available Cooling 7: intel_powerclamp no state information available Cooling 8: soc_dts0 no state information available Cooling 9: Processor 0 of 10 Cooling 10: INT3400 Thermal no state information available Fith clue, the "lshw" command finds the battery whatever the option in the bios is set or not: -------------------------------- -battery --- produit: SW02032XL --- fabriquant: 333-42-1E-A --- identifiant matériel: 1 --- emplacement: Primary --- capacité: 32570mWh --- configuration: voltage=7,7V I don't understand why only "lshw" can find the battery... I think that there's a probleme between the BIOS and acpi. Sylvain |
#5
|
|||
|
|||
Battery not recognised
Sécherre wrote:
Le 04/03/2019 Ã* 17:32, Sécherre a écrit : Hello ! I've installed Debian Stretch on my HP x2 Detachable with the kernel 4.19. My battery isn't recognised, so I don't have a battery level in the systray. Only the command `lshw` is able to identify the battery : -battery --- produit: SW02032XL --- fabriquant: 333-42-1E-A --- identifiant matériel: 1 --- emplacement: Primary --- capacité: 32570mWh --- configuration: voltage=7,7V I've tried a lot of things without succes. It's seems like the kernel isn't able to recognise the battery. Do you have any tips about this problem? Sylvain Thanks a lot for your answers. I realize that I didn't give you the pieces of information needed. Sorry. My netbook is a "HP x2 detachable 10-p029NF". I'm under Debian Stretch, kernel 4.19 (backports), and I use KDE. There's a option in the bios that allows the OS to see the battery status or not. But it seemes it doesn't work because the behavior of the OS is the same if set on or off. Thirst clue, the icone in the system tray tells "no batterie available". -------------------------------- Second clue, the command "ls /sys/class/power_supply" doesn't show "BAT0", but only "ADP1". -------------------------------- Third clue, here's the result of the command upower -e: -------------------------------- /org/freedesktop/UPower/devices/line_power_ADP1 /org/freedesktop/UPower/devices/DisplayDevice Fourth clue, "acpi -V" gives me: -------------------------------- Adapter 0: off-line Thermal 0: ok, 53.0 degrees C Thermal 0: trip point 0 switches to mode hot at temperature 89.0 degrees C Thermal 0: trip point 1 switches to mode passive at temperature 87.0 degrees C Cooling 0: Processor 0 of 10 Cooling 1: PNIT no state information available Cooling 2: soc_dts1 no state information available Cooling 3: Processor 0 of 10 Cooling 4: STR0 no state information available Cooling 5: Processor 0 of 10 Cooling 6: STR2 no state information available Cooling 7: intel_powerclamp no state information available Cooling 8: soc_dts0 no state information available Cooling 9: Processor 0 of 10 Cooling 10: INT3400 Thermal no state information available Fith clue, the "lshw" command finds the battery whatever the option in the bios is set or not: -------------------------------- -battery --- produit: SW02032XL --- fabriquant: 333-42-1E-A --- identifiant matériel: 1 --- emplacement: Primary --- capacité: 32570mWh --- configuration: voltage=7,7V I don't understand why only "lshw" can find the battery... I think that there's a probleme between the BIOS and acpi. Sylvain I would suggest checking the product web page and see if a BIOS update is available. Contact Tech Support at HP and report your results. While they might not have a very active BIOS development process, they might pass your trouble ticket to the BIOS development team and include it for consideration for fixes before another BIOS is released. Paul |
#6
|
|||
|
|||
Battery not recognised
Le 05/03/2019 Ã* 15:26, Paul a écritÂ*:
Sécherre wrote: Le 04/03/2019 Ã* 17:32, Sécherre a écrit : Hello ! I've installed Debian Stretch on my HP x2 Detachable with the kernel 4.19. My battery isn't recognised, so I don't have a battery level in the systray. Only the command `lshw` is able to identify the battery : -battery --- produit: SW02032XL --- fabriquant: 333-42-1E-A --- identifiant matériel: 1 --- emplacement: Primary --- capacité: 32570mWh --- configuration: voltage=7,7V I've tried a lot of things without succes. It's seems like the kernel isn't able to recognise the battery. Do you have any tips about this problem? Sylvain Thanks a lot for your answers. I realize that I didn't give you the pieces of information needed. Sorry. My netbook is a "HP x2 detachable 10-p029NF". I'm under Debian Stretch, kernel 4.19 (backports), and I use KDE. There's a option in the bios that allows the OS to see the battery status or not. But it seemes it doesn't work because the behavior of the OS is the same if set on or off. Thirst clue, the icone in the system tray tells "no batterie available". -------------------------------- Second clue, the command "ls /sys/class/power_supply" doesn't show "BAT0", but only "ADP1". -------------------------------- Third clue, here's the result of the command upower -e: -------------------------------- Â*Â*Â*Â* /org/freedesktop/UPower/devices/line_power_ADP1 Â*Â*Â*Â* /org/freedesktop/UPower/devices/DisplayDevice Fourth clue, "acpi -V" gives me: -------------------------------- Â*Â*Â* Adapter 0: off-line Â*Â*Â* Thermal 0: ok, 53.0 degrees C Â*Â*Â* Thermal 0: trip point 0 switches to mode hot at temperature 89.0 degrees C Â*Â*Â* Thermal 0: trip point 1 switches to mode passive at temperature 87.0 degrees C Â*Â*Â* Cooling 0: Processor 0 of 10 Â*Â*Â* Cooling 1: PNIT no state information available Â*Â*Â* Cooling 2: soc_dts1 no state information available Â*Â*Â* Cooling 3: Processor 0 of 10 Â*Â*Â* Cooling 4: STR0 no state information available Â*Â*Â* Cooling 5: Processor 0 of 10 Â*Â*Â* Cooling 6: STR2 no state information available Â*Â*Â* Cooling 7: intel_powerclamp no state information available Â*Â*Â* Cooling 8: soc_dts0 no state information available Â*Â*Â* Cooling 9: Processor 0 of 10 Â*Â*Â* Cooling 10: INT3400 Thermal no state information available Fith clue, the "lshw" command finds the battery whatever the option in the bios is set or not: -------------------------------- -battery --- produit: SW02032XL --- fabriquant: 333-42-1E-A --- identifiant matériel: 1 --- emplacement: Primary --- capacité: 32570mWh --- configuration: voltage=7,7V I don't understand why only "lshw" can find the battery... I think that there's a probleme between the BIOS and acpi. Sylvain I would suggest checking the product web page and see if a BIOS update is available. Contact Tech Support at HP and report your results. While they might not have a very active BIOS development process, they might pass your trouble ticket to the BIOS development team and include it for consideration for fixes before another BIOS is released. Â*Â* Paul The BIOS is the last available. I've just wrote to the developper of lshw because it's the only software able to see my battery. And you are right: I also will write to HP support and light a candle at Notre Dame de Paris Thank you, Sylvain |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WD HDD not recognised by XP | Tom | Homebuilt PC's | 7 | May 24th 09 04:49 PM |
SAT not recognised by mobo after been on USB | Dan[_14_] | General | 8 | December 24th 08 11:24 PM |
Rebuilding Notebook Battery. For Toshiba Laptop 4100XDVD battery part #PA2487U | Chris | Homebuilt PC's | 0 | February 21st 04 05:48 AM |
External HDD not recognised | John Green | Storage (alternative) | 1 | November 1st 03 07:17 PM |
2nd HDD not recognised | dave | Asus Motherboards | 0 | July 3rd 03 02:47 PM |