Bug 83941
Summary: | I2C GenericSerialBus - No battery information on Onda v975w (Baytrail) | ||
---|---|---|---|
Product: | ACPI | Reporter: | Bastien Nocera (bugzilla) |
Component: | Power-Battery | Assignee: | Aaron Lu (aaron.lu) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | joel, kernelbugs, lenb, lv.zheng, pbludov, pierrick, rafacc1, rui.zhang, tianyu.lan |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.16.0-0.rc5 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
journalctl-onda-v975w.txt
DSDT.bin DSDT.dsl dmesg from 3.18rc2 + CONFIG_ACPI_I2C_OPREGION fix dsdt.dsl dmesg from 4.0-rc1 4.0-rc1-journalctl-b.txt A hack patch to work around buggy ASL code for onda v975w config for baytrail-T dmesg from 4.3-rc5 |
Created attachment 149321 [details]
DSDT.bin
Created attachment 149331 [details]
DSDT.dsl
DSDT decompiled with iasl.
*** This bug has been marked as a duplicate of bug 69011 *** The patches in bug 69011 don't actually help, FWIW. Could you attach the output of dmesg? (In reply to Lan Tianyu from comment #5) > Could you attach the output of dmesg? It's included in the journalctl output, in this attachment: https://bugzilla.kernel.org/attachment.cgi?id=149311 I meant the dmesg with fix patch in the bug 69011. Please apply the following patch with enabling "CONFIG_ACPI_I2C_OPREGION". https://bugzilla.kernel.org/attachment.cgi?id=148961&action=diff I applied the patch from bug 69011 comment 55, and it failed to detect the battery. Some of the errors in the dmesg say: [ 0.293958] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20140926/hwxface-580) [ 0.293972] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140926/hwxface-580) [ 0.293984] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_] (20140926/hwxface-580) [ 0.293996] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S4_] (20140926/hwxface-580) [ 0.294016] ACPI: (supports S0) and: [ 1.268048] ACPI Error: No handler for Region [DVBQ] (f502c780) [GenericSerialBus] (20140926/evregion-163) [ 1.268061] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 1.268072] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC.PSRC] (Node f502dfd8), AE_NOT_EXIST (20140926/psparse-536) [ 1.268089] ACPI Error: Method parse/execution failed [\_SB_.ADP1._PSR] (Node f502e060), AE_NOT_EXIST (20140926/psparse-536) [ 1.268107] ACPI Exception: AE_NOT_EXIST, Error reading AC Adapter state (20140926/ac-131) [ 1.272749] ACPI Error: No handler for Region [FGCP] (f502c5d0) [GenericSerialBus] (20140926/evregion-163) [ 1.272764] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 1.272775] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BIX] (Node f502deb8), AE_NOT_EXIST (20140926/psparse-536) [ 1.272793] ACPI Exception: AE_NOT_EXIST, Evaluating _BIX (20140926/battery-460) [ 1.297457] ACPI Error: No handler for Region [FGCP] (f502c5d0) [GenericSerialBus] (20140926/evregion-163) [ 1.297470] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 1.297480] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BIX] (Node f502deb8), AE_NOT_EXIST (20140926/psparse-536) [ 1.297501] ACPI Exception: AE_NOT_EXIST, Evaluating _BIX (20140926/battery-460) [ 1.320825] ACPI Error: No handler for Region [FGCP] (f502c5d0) [GenericSerialBus] (20140926/evregion-163) [ 1.320837] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 1.320847] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BIX] (Node f502deb8), AE_NOT_EXIST (20140926/psparse-536) [ 1.320865] ACPI Exception: AE_NOT_EXIST, Evaluating _BIX (20140926/battery-460) [ 1.345364] ACPI Error: No handler for Region [FGCP] (f502c5d0) [GenericSerialBus] (20140926/evregion-163) [ 1.345376] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 1.345387] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BIX] (Node f502deb8), AE_NOT_EXIST (20140926/psparse-536) [ 1.345404] ACPI Exception: AE_NOT_EXIST, Evaluating _BIX (20140926/battery-460) [ 1.368983] ACPI Error: No handler for Region [FGCP] (f502c5d0) [GenericSerialBus] (20140926/evregion-163) [ 1.368995] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 1.369005] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BIX] (Node f502deb8), AE_NOT_EXIST (20140926/psparse-536) [ 1.369023] ACPI Exception: AE_NOT_EXIST, Evaluating _BIX (20140926/battery-460) Full dmesg attached below. Created attachment 156081 [details]
dmesg from 3.18rc2 + CONFIG_ACPI_I2C_OPREGION fix
With the updated patch from: https://bugzilla.kernel.org/show_bug.cgi?id=69011#c61 I now get: [ 1.268821] ACPI Error: No handler for Region [DVBQ] (f502c780) [GenericSerialBus] (20140926/evregion-163) [ 1.268834] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 1.268845] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC.PSRC] (Node f502dfd8), AE_NOT_EXIST (20140926/psparse-536) [ 1.268861] ACPI Error: Method parse/execution failed [\_SB_.ADP1._PSR] (Node f502e060), AE_NOT_EXIST (20140926/psparse-536) [ 1.268880] ACPI Exception: AE_NOT_EXIST, Error reading AC Adapter state (20140926/ac-131) [ 1.438535] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 1.438550] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 1.438562] ACPI Error: Method parse/execution failed [\_SB_.GPO2._L01] (Node f5026900), AE_NOT_EXIST (20140926/psparse-536) [ 2.948627] ACPI Warning: Could not enable fixed event - RealTimeClock (4) (20140926/evxface-643) [ 3.663324] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 3.663338] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 3.663348] ACPI Error: Method parse/execution failed [\_SB_.GPO2._L01] (Node f5026900), AE_NOT_EXIST (20140926/psparse-536) [ 3.996420] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) [ 7.785770] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 7.785784] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 7.785794] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 7.785809] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 7.785829] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 7.988160] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 7.988183] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 7.988201] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 7.988227] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 7.988263] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 8.189890] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 8.189913] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 8.189930] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 8.189957] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 8.189993] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 8.391987] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 8.392019] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 8.392044] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 8.392081] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 8.392130] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 8.593946] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 8.593982] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 8.594000] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 8.594030] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 8.594069] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 8.795938] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 8.795957] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 8.795970] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 8.795991] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 8.796019] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 8.997734] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 8.997748] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 8.997759] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 8.997775] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 8.997795] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 9.199724] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 9.199737] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 9.199747] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 9.199764] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 9.199785] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 9.401630] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 9.401647] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 9.401658] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 9.401676] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 9.401699] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 9.603294] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 9.603355] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 9.603383] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 9.603421] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 9.603471] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 9.805429] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 9.805448] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 9.805462] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 9.805485] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 9.805515] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 10.007176] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 10.007214] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 10.007242] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 10.007326] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 10.007386] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 10.209107] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 10.209145] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 10.209174] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 10.209217] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 10.209273] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 10.411190] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 10.411208] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 10.411220] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 10.411239] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 10.411264] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 10.612994] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 10.613034] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 10.613056] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 10.613088] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 10.613130] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 10.815132] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 10.815161] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 10.815182] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 10.815215] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 10.815267] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 11.017430] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 11.017468] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 11.017496] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 11.017539] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 11.017617] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 11.219401] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 11.219439] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 11.219467] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 11.219511] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 11.219583] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 11.420995] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 11.421027] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 11.421051] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 11.421089] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 11.421153] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 11.623115] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 11.623157] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 11.623186] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 11.623229] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 11.623301] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 11.825098] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 11.825131] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 11.825155] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 11.825192] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 11.825259] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 12.027104] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 12.027142] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 12.027170] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 12.027214] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 12.027285] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 12.229043] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 12.229081] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 12.229109] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 12.229153] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 12.229230] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 12.430972] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 12.431010] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 12.431038] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 12.431082] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 12.431158] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 12.632936] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 12.632974] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 12.633003] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 12.633046] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 12.633119] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 12.834881] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 12.834919] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 12.834947] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 12.834990] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 12.835065] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 13.036857] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 13.036894] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 13.036922] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 13.036965] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 13.037042] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 13.238747] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 13.238785] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 13.238814] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 13.238857] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 13.238933] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 13.440554] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 13.440597] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 13.440626] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 13.440669] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 13.440747] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 13.642708] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 13.642734] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 13.642753] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 13.642783] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 13.642833] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 13.844243] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 13.844280] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 13.844309] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 13.844353] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 13.844426] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 14.046379] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 14.046416] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 14.046444] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 14.046487] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 14.046560] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 14.255468] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 14.255507] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 14.255536] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 14.255581] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 14.255647] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 14.483095] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 14.483121] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 14.483141] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 14.483170] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 14.483208] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 14.714246] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 14.714275] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 14.714297] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 14.714330] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 14.714372] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 14.944240] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 14.944277] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 14.944305] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 14.944348] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 14.944404] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 15.167238] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 15.167275] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 15.167304] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 15.167349] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 15.167396] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 15.369093] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 15.369130] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 15.369159] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 15.369202] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 15.369263] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 15.570780] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 15.570824] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 15.570853] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 15.570897] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 15.570953] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 15.772995] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 15.773028] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 15.773052] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 15.773090] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 15.773138] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 15.974590] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 15.974619] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 15.974641] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 15.974685] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 15.974741] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 16.176529] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 16.176562] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 16.176586] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 16.176624] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 16.176671] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 16.378832] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 16.378869] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 16.378897] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 16.378941] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 16.378996] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 16.580751] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 16.580789] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 16.580817] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 16.580860] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 16.580916] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 16.782696] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 16.782729] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 16.782754] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 16.782792] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 16.782839] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 16.984731] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 16.984766] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 16.984785] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 16.984814] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 16.984852] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 17.186344] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 17.186367] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 17.186384] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 17.186411] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 17.186445] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 17.388174] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 17.388203] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 17.388224] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 17.388257] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 17.388298] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 17.590216] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 17.590253] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 17.590281] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 17.590325] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 17.590380] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 17.792149] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 17.792187] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 17.792221] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 17.792264] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 17.792320] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 17.994176] ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140926/evregion-163) [ 17.994208] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140926/exfldio-299) [ 17.994233] ACPI Error: Method parse/execution failed [\_SB_.I2C3.REF0] (Node f502da38), AE_NOT_EXIST (20140926/psparse-536) [ 17.994270] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f502ded0), AE_NOT_EXIST (20140926/psparse-536) [ 17.994319] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20140926/battery-516) [ 18.238837] ACPI: Battery Slot [BATC] (battery present) Which shows a Battery being (somewhat) available, but the AC Adapter doesn't. The "upower -d" output for that battery. Device: /org/freedesktop/UPower/devices/battery_BATC native-path: BATC vendor: ChipHD Battery model: ChiHD Battery serial: Battery power supply: yes updated: Thu 27 Nov 2014 11:42:56 CET (46 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 4.484 Wh energy-empty: 0 Wh energy-full: 4.484 Wh energy-full-design: 0 Wh energy-rate: 0.086 W voltage: 3.902 V time to empty: 52.1 hours percentage: 0% capacity: 100% icon-name: 'battery-caution-symbolic' History (rate): 1417084976 0.086 discharging I have the same problem with Teclast X98 (Onda clone) The "upower -d" output: Device: /org/freedesktop/UPower/devices/battery_BATC native-path: BATC vendor: Battery model: Battery serial: Battery power supply: yes updated: Sun 14 Dec 2014 20:16:50 (27 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging energy: 6,564 Wh energy-empty: 0 Wh energy-full: 6,564 Wh energy-full-design: 0 Wh energy-rate: 0,072 W voltage: 3,968 V percentage: 0% capacity: 100% The raw acpi dump from acpi_battery_get_info: [ 524.481814] ACPI: 0: 0 (00000000) type 1 [ 524.481834] ACPI: 1: 0 (00000000) type 1 [ 524.481845] ACPI: 2: 0 (00000000) type 1 [ 524.481856] ACPI: 3: 0 (00000000) type 1 [ 524.481866] ACPI: 4: 1 (00000001) type 1 [ 524.481877] ACPI: 5: -1 (FFFFFFFF) type 1 [ 524.481887] ACPI: 6: 0 (00000000) type 1 [ 524.481897] ACPI: 7: 0 (00000000) type 1 [ 524.481909] ACPI: 8: 256 (00000100) type 1 [ 524.481920] ACPI: 9: 64 (00000040) type 1 [ 524.481931] ACPI: 10: 800 (00000320) type 1 [ 524.481942] ACPI: 11: 9500 (0000251C) type 1 [ 524.481953] ACPI: 12: 0 (00000000) type 1 [ 524.481964] ACPI: 13: 0 (00000000) type 1 [ 524.481975] ACPI: 14: 100 (00000064) type 1 [ 524.481985] ACPI: 15: 100 (00000064) type 1 [ 524.481998] ACPI: 16: Battery type 2 [ 524.482010] ACPI: 17: Battery type 2 [ 524.482021] ACPI: 18: Battery type 2 [ 524.482031] ACPI: 19: Battery type 2 The raw acpi dump from acpi_battery_get_state: [ 524.681873] ACPI: 0: 2 (00000002) type 1 [ 524.681893] ACPI: 1: 72 (00000048) type 1 [ 524.681906] ACPI: 2: 6618 (000019DA) type 1 [ 524.681917] ACPI: 3: 3983 (00000F8F) type 1 As far as i'm understood, the _BST method works as expected, while the _BIX method is just a stub. This is the vendor failure and may be fixed in the next firmware update. There is no way to fix it in the kernel. (In reply to Pavel Bludov from comment #11) > I have the same problem with Teclast X98 (Onda clone) <snip> > As far as i'm understood, the _BST method works as expected, > while the _BIX method is just a stub. This is the vendor failure > and may be fixed in the next firmware update. > There is no way to fix it in the kernel. That's surely work-aroundable if Windows 8 can show the battery status on the same machine... You are right. Design_capacity is just a constant. It can be passed to the kernel via a command line parameter. Sort of acpi.battery_design_capacity = 8500 I will try to code it. Created attachment 160701 [details]
dsdt.dsl
Here is my DSDT. It ends with
Name (BIXP, Package (0x14)
{
Zero,
Zero,
0x053C,
0x053C,
One,
0xFFFFFFFF,
0x86,
0x35,
0x0100,
0x40,
0x0320,
0x251C,
Zero,
Zero,
0x64,
0x64,
"Battery ",
"Battery ",
"Battery ",
"Battery "
})
Method (_BIX, 0, NotSerialized) // _BIX: Battery Information Extended
{
Store (^^^I2C3.FCTL, TES2)
Store (And (E002, 0xFE), E002)
Store (TES2, ^^^I2C3.FCTL)
Store (FG3C, DECC)
Store (DECC, Index (BIXP, 0x02))
Store (FG0E, FUEC)
Store (FUEC, Index (BIXP, 0x03))
Divide (FUEC, 0x0A, Local1, Local0)
Store (Local1, Index (BIXP, 0x06))
Divide (FUEC, 0x19, Local1, Local0)
Store (Local1, Index (BIXP, 0x07))
Return (BIXP)
}
So, _BIX method is not a stub. But fields FG3C & FG0E are zeroes for some reason.
Any updates on the original warnings? we have a couple of patches shipped in the latest upstream kernel, about the I2C operation region. could you please wait and check if the problem still exists in 3.20-rc1 kernel? Created attachment 167961 [details]
dmesg from 4.0-rc1
The battery icon appears in the tray for a second, then it's gone.
Created attachment 168171 [details]
4.0-rc1-journalctl-b.txt
No success with 4.0-rc1 on the Onda v975w.
Please rebuild your kernel with CONFIG_I2C_DESIGNWARE_PLATFORM=y, CONFIG_ACPI_AC=m, and CONFIG_ACPI_BATTERY=m, and then re-attach the dmesg output if the problem still exists. According to Tianyu, this seems like a BIOS problem because 1. ACPI AC device accesses DVBQ operation region in I2C1 scope, but it does not have _DEP method defined. 2. ACPI battery driver accesses FSAO operation region in I2C3, but only I2C1 is referred in its _DEP method. Thus, AC/Battery driver tries to access I2C operation region before the operation region handler is actually installed onn I2C1/I2C3. A proper fix is 1. fix the BIOS to reflect the real dependency (_DEP) 2. make ACPI AC driver be aware of acpi_device->dep_unmet. But anyway, to confirm this assumption, lets check if the problem can be fixed by making ACPI AC/Battery driver loaded AFTER I2C operation region handler installed, i.e. the test mentioned in comment #19.. (In reply to Zhang Rui from comment #19) > Please rebuild your kernel with CONFIG_I2C_DESIGNWARE_PLATFORM=y, > CONFIG_ACPI_AC=m, and CONFIG_ACPI_BATTERY=m, and then re-attach the dmesg > output if the problem still exists. Looks like all those were already enabled: CONFIG_I2C_DESIGNWARE_PLATFORM=m CONFIG_ACPI_AC=y CONFIG_ACPI_BATTERY=y Do they specifically need to be enabled as modules? (In reply to Zhang Rui from comment #20) > According to Tianyu, this seems like a BIOS problem because > 1. ACPI AC device accesses DVBQ operation region in I2C1 scope, but it does > not have _DEP method defined. > 2. ACPI battery driver accesses FSAO operation region in I2C3, but only I2C1 > is referred in its _DEP method. > > Thus, AC/Battery driver tries to access I2C operation region before the > operation region handler is actually installed onn I2C1/I2C3. > > A proper fix is > 1. fix the BIOS to reflect the real dependency (_DEP) I'm afraid that that probably won't happen, as the vendor (Onda) has not released any new firmwares since September last year. And it probably won't as "it works with Windows"... > 2. make ACPI AC driver be aware of acpi_device->dep_unmet. > > But anyway, to confirm this assumption, lets check if the problem can be > fixed by making ACPI AC/Battery driver loaded AFTER I2C operation region > handler installed, i.e. the test mentioned in comment #19.. Ha, right, so it's important for those to be loaded as modules, not builtin. I'll launch a kernel build. Thanks. Using v4.0-2620-gb79013b2449c with CONFIG_I2C_DESIGNWARE_PLATFORM, CONFIG_ACPI_AC and CONFIG_ACPI_BATTERY as modules, I can't even get the machine to finish booting. I get: ACPI Error: Region GenericSerialBus (ID=0) has no handler (20150204/exfldio-299) Method parse/execution failed (\_SB_.GPOZ._L01) (Node ffff88005accaf50), AE_NOT_EXIST (20150204/psparse-536) I'll test with a newer version of the kernel. Still the same problem after making ACPI_AC and ACPI_BATTERY modules. I unloaded them both and reloaded them before checking the battery level, and still the same errors and missing battery information. After unloading and reloading the "battery" module, I don't get the errors above (despite what I said in comment 23). the energy_full, energy_full_design and capacity sysfs entries both have "0" as the value, which is what causes the percentage to still show up as 0. (In reply to Zhang Rui from comment #20) > According to Tianyu, this seems like a BIOS problem because > 1. ACPI AC device accesses DVBQ operation region in I2C1 scope, but it does > not have _DEP method defined. > 2. ACPI battery driver accesses FSAO operation region in I2C3, but only I2C1 > is referred in its _DEP method. As it seems like an ACPI table related issue, a override could probably work: https://01.org/linux-acpi/documentation/overriding-dsdt I have no idea if this is correct, just a guess: Device (BATC) { Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Name (BTPC, Zero) Name (_DEP, Package (0x02) // _DEP: Dependencies { I2C1, I2C3 }) Scope (_SB) { Device (ADP1) { Name (_HID, "ACPI0003" /* Power Source Device */) // _HID: Hardware ID Name (_DEP, Package (0x01) // _DEP: Dependencies { I2C1 }) I've tried to make the changes mentioned in comment 25, but I get the same problem as earlier, not being able to finish booting. (In reply to Bastien Nocera from comment #24) > After unloading and reloading the "battery" module, I don't get the errors > above (despite what I said in comment 23). > > the energy_full, energy_full_design and capacity sysfs entries both have "0" > as the value, which is what causes the percentage to still show up as 0. I'm getting the same 0 values and the energy_full value is got from ASL code by reading a field defined in I2C operation region. The relevant code is: Name (BQFG, ResourceTemplate () { I2cSerialBus (0x0055, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.I2C1", 0x00, ResourceConsumer, , ) }) Field (FGCP, BufferAcc, NoLock, Preserve) { Connection (BQFG), Offset (0x3C), AccessAs (BufferAcc, AttribBytes (0x02)), FG3C, 8 } Name (BIXP, Package (0x14) { Zero, Zero, 0x1C84, 0x1C84, One, 0xFFFFFFFF, 0x02DA, 0x0122, 0x0100, 0x40, 0x0320, 0x251C, Zero, Zero, 0x64, 0x64, "ChiHD Battery ", "Battery ", "Battery ", "ChipHD Battery " }) Method (_BIX, 0, NotSerialized) // _BIX: Battery Information Extended { DECC = FG3C /* \_SB_.I2C1.FG3C */ Index (BIXP, 0x02) = DECC /* \_SB_.I2C1.BATC.DECC */ FUEC = FG0E /* \_SB_.I2C1.FG0E */ Index (BIXP, 0x03) = FUEC /* \_SB_.I2C1.BATC.FUEC */ Divide (FUEC, 0x0A, Local1, Local0) Index (BIXP, 0x06) = Local1 Divide (FUEC, 0x19, Local1, Local0) Index (BIXP, 0x07) = Local1 Return (BIXP) /* \_SB_.I2C1.BATC.BIXP */ } So the information about energy_full_design: Index (BIXP, 0x02) is assigned a value of DECC, which is got from FG3C. From the debug messages, the I2C operation region handler runs well and no error occurred, only the value returned doesn't make any sense: 0. Perhaps this is due to buggy ASL code: DECC = FG3C DECC is not the whole buffer, the right code should be BU3C = FG3C. Will see if it is possible to work around this in ACPICA. Created attachment 179931 [details]
A hack patch to work around buggy ASL code for onda v975w
Apply on latest Linus' git tree.
This is a temporary work around patch, I need to think more on how to solve this buggy BIOS problem and may come up with another version later.
(In reply to Aaron Lu from comment #29) > Created attachment 179931 [details] > A hack patch to work around buggy ASL code for onda v975w > > Apply on latest Linus' git tree. > This is a temporary work around patch, I need to think more on how to solve > this buggy BIOS problem and may come up with another version later. Which seems to be working \o/ $ upower -d Device: /org/freedesktop/UPower/devices/battery_BATC native-path: BATC vendor: ChipHD Battery model: ChiHD Battery serial: Battery power supply: yes updated: Tue 16 Jun 2015 11:26:28 CEST (16 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: critical energy: 0.2 Wh energy-empty: 0 Wh energy-full: 5.68 Wh energy-full-design: 7.3 Wh energy-rate: 0 W voltage: 3.439 V percentage: 3% capacity: 77.8082% icon-name: 'battery-caution-symbolic' History (charge): 1434446788 3.000 discharging (it is nearly empty indeed) After updating the base kernel to the current 4.2 "pre" tree, and with the above hack, I don't get any battery reporting anymore: [ 7.509387] ACPI Error: No handler for Region [PMOP] (f4c93d50) [UserDefinedRegion] (20150515/evregion-163) [ 7.509401] ACPI Error: Region UserDefinedRegion (ID=141) has no handler (20150515/exfldio-297) [ 7.509411] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f4c96ed0), AE_NOT_EXIST (20150515/psparse-536) [ 7.509434] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20150515/battery-510) [ 7.741184] ACPI Error: No handler for Region [PMOP] (f4c93d50) [UserDefinedRegion] (20150515/evregion-163) [ 7.741200] ACPI Error: Region UserDefinedRegion (ID=141) has no handler (20150515/exfldio-297) [ 7.741212] ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f4c96ed0), AE_NOT_EXIST (20150515/psparse-536) [ 7.741236] ACPI Exception: AE_NOT_EXIST, Evaluating _BST (20150515/battery-510) Might be due to other changes in the ACPI stack. Do you have CONFIG_CRC_PMIC_OPREGION set? (In reply to Aaron Lu from comment #32) > Do you have CONFIG_CRC_PMIC_OPREGION set? I don't! Trying to rebuild with that support. Thanks for the quick reply. Not wildly successful: $ grep PMIC /boot/config-`uname -r` CONFIG_PMIC_OPREGION=y CONFIG_CRC_PMIC_OPREGION=y # CONFIG_PMIC_ADP5520 is not set # CONFIG_PMIC_DA903X is not set # CONFIG_MFD_HI6421_PMIC is not set CONFIG_INTEL_SOC_PMIC=y Jul 01 17:18:18 localhost.localdomain kernel: ACPI Error: No handler for Region [DVBQ] (f4c95600) [GenericSerialBus] (20150515/evregion-163) Jul 01 17:18:18 localhost.localdomain kernel: ACPI Error: Region GenericSerialBus (ID=9) has no handler (20150515/exfldio-297) Jul 01 17:18:18 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC.PSRC] (Node f4c96fd8), AE_NOT_EXIST (20150515/psparse-536) Jul 01 17:18:18 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.ADP1._PSR] (Node f4c97060), AE_NOT_EXIST (20150515/psparse-536) Jul 01 17:18:18 localhost.localdomain kernel: ACPI Exception: AE_NOT_EXIST, Error reading AC Adapter state (20150515/ac-132) <snip> Jul 01 17:18:18 localhost.localdomain kernel: ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20150515/evregion-297) Jul 01 17:18:18 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f4c96ed0), AE_BAD_PARAMETER (20150515/psparse-536) Jul 01 17:18:18 localhost.localdomain kernel: ACPI Exception: AE_BAD_PARAMETER, Evaluating _BST (20150515/battery-510) Jul 01 17:18:18 localhost.localdomain kernel: ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20150515/evregion-297) Jul 01 17:18:18 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.GPO2._L01] (Node f4c8f900), AE_BAD_PARAMETER (20150515/psparse-536) The error is due to missing CONFIG_ACPI_I2C_OPREGION=y. Just in case, you will at least need: CONFIG_GPIO_ACPI and CONFIG_GPIO_CRYSTAL_COVE too. They're all enabled though: $ grep CONFIG_ACPI_I2C_OPREGION /boot/config-`uname -r` CONFIG_ACPI_I2C_OPREGION=y $ grep CONFIG_GPIO_ACPI /boot/config-`uname -r` CONFIG_GPIO_ACPI=y $ grep CONFIG_GPIO_CRYSTAL_COVE /boot/config-`uname -r` CONFIG_GPIO_CRYSTAL_COVE=y I didn't see any warnings related to DVBQ this time. Jul 02 11:20:02 localhost.localdomain kernel: ACPI Error: No handler for Region [FSAO] (f4c95660) [GenericSerialBus] (20150515/evregion-163) Jul 02 11:20:02 localhost.localdomain kernel: ACPI Error: Region GenericSerialBus (ID=9) has no handler (20150515/exfldio-297) Jul 02 11:20:02 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.GPO2._L01] (Node f4c8f900), AE_NOT_EXIST (20150515/psparse-536) <snip> Jul 02 11:20:06 localhost.localdomain kernel: ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20150515/evregion-297) Jul 02 11:20:06 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BST] (Node f4c96ed0), AE_BAD_PARAMETER (20150515/psparse-536) Jul 02 11:20:06 localhost.localdomain kernel: ACPI Exception: AE_BAD_PARAMETER, Evaluating _BST (20150515/battery-510) I've split up "ac" and "battery" as modules, as advised earlier, which might have consequences on the load ordering. For information, the full kernel config: http://paste.fedoraproject.org/238746/58298131 The error message about no handler for GenericSerialBus should be solved by setting CONFIG_ACPI_I2C_OPREGION, I have no idea why it is still failing for you. I'll try it next week. Created attachment 182041 [details]
config for baytrail-T
I just tried, except an harmless error message:
[ 2.268174] ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20150619/evregion-297)
[ 2.268218] ACPI Error: Method parse/execution failed [\_SB_.GPO2._L01] (Node ffff88005acabf00), AE_BAD_PARAMETER (20150619/psparse-536)
The battery is working, please use my .config.
Too many moving parts. It seems to work with your patch, config and 4.2-rc0. I'd like to be more helpful in my testing, but rebasing always breaks one or two components (4.2rc1 doesn't boot, for example). (In reply to Aaron Lu from comment #39) > Created attachment 182041 [details] > config for baytrail-T > > I just tried, except an harmless error message: > [ 2.268174] ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for > [UserDefinedRegion] (20150619/evregion-297) > [ 2.268218] ACPI Error: Method parse/execution failed [\_SB_.GPO2._L01] > (Node ffff88005acabf00), AE_BAD_PARAMETER (20150619/psparse-536) > > The battery is working, please use my .config. Actually, it is "working" in that it reports the battery status, but that data doesn't seem to be in sync with reality. When plugging in the AC, the battery doesn't set its status to charging, the ADP "power line" never comes online. When installing packages which use the Wi-Fi as well as 100% CPU when decompressing to disk, the battery always report 0.064 W usage, or 57 hours until the 80% full battery is empty (I wish). It's better but not quite there yet. When I plug in the AC, the /sys/class/power_supply/BATC/status returns Charging. But the power_now(which is the rate of how much power the battery is draining) indeed returns a not-seems-correct value, ranging from 7x - 8x, while the remaining capacity is 4xxx, the estimated last hour is almost 60 hours(e.g. 4762 / 80). I don't see any way to change this, the rate information is retrieved from a field in the I2C register and the operation went well, no error happened and no firmware bug is found regarding this, so no way to solve this... I just checked Windows, it only displays how much percent the remaining battery is, no estimated remaining time. I guess that is due to Windows think the rate information is not correct so it doesn't use it. I suppose GNOME should do something similar. Still someone playing with the Onda v975w ? I'm also seeing: [ 5.556402] ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20150818/evregion-297) [ 5.556424] ACPI Error: Method parse/execution failed [\_SB.I2C1.BATC._BST] (Node ffff88006c8bad38), AE_BAD_PARAMETER (20150818/psparse-542) [ 5.556447] ACPI Exception: AE_BAD_PARAMETER, Evaluating _BST (20150818/battery-506) with 4.3-rc5 and mentioned CONFIG parameters and patches I found related to v975w (those not yet upstreamed). Thanks Created attachment 190261 [details]
dmesg from 4.3-rc5
upower -d returns: Device: /org/freedesktop/UPower/devices/battery_BATC native-path: BATC power supply: no updated: Wed 14 Oct 2015 11:04:01 PM CEST (0 seconds ago) has history: no has statistics: no battery present: no rechargeable: no state: unknown warning-level: none energy: 0 Wh energy-empty: 0 Wh energy-full: 0 Wh energy-full-design: 0 Wh energy-rate: 0 W percentage: 0% icon-name: 'battery-missing-symbolic' Device: /org/freedesktop/UPower/devices/line_power_ADP1 native-path: ADP1 power supply: yes updated: Wed 14 Oct 2015 11:04:01 PM CEST (0 seconds ago) has history: no has statistics: no line-power warning-level: none online: no icon-name: 'ac-adapter-symbolic' Device: /org/freedesktop/UPower/devices/DisplayDevice power supply: no updated: Wed 14 Oct 2015 11:04:01 PM CEST (0 seconds ago) has history: no has statistics: no unknown warning-level: none icon-name: '' Daemon: daemon-version: 0.99.3 on-battery: no lid-is-closed: no lid-is-present: no critical-action: HybridSleep An additional info. When building with CONFIG_ACPI_BATTERY=y the device doesn't boot if no USB device is hooked (at least with my kernel config). If I put it as module or simply don't build it, it boots even without a USB device. OK, we'll seek a way to make the fixed merged to the ACPICA upstream. I just confirmed that currently it is not possible to work this around in ACPICA. You need to continue to provide quirks in the I2C opregion handler. So re-assign back to Aaron. Thanks -Lv |
Created attachment 149311 [details] journalctl-onda-v975w.txt This Baytrail tablet doesn't export any battery information, with a few ACPI errors related to battery devices showing up: Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: No handler for Region [DVBQ] (f502c780) [GenericSerialBus] (20140424/evregion-162) Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140424/exfldio-299) Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC.PSRC] (Node f502dfd8), AE_NOT_EXIST (20140424/psparse-536) Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.ADP1._PSR] (Node f502e060), AE_NOT_EXIST (20140424/psparse-536) Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140424/evregion-162) Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140424/exfldio-299) Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.GPO2._L01] (Node f5026900), AE_NOT_EXIST (20140424/psparse-536) Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: No handler for Region [FSAO] (f502c7e0) [GenericSerialBus] (20140424/evregion-162) Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140424/exfldio-299) Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.GPO2._L01] (Node f5026900), AE_NOT_EXIST (20140424/psparse-536) Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: No handler for Region [FGCP] (f502c5d0) [GenericSerialBus] (20140424/evregion-162) Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140424/exfldio-299) Sep 05 18:19:15 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BIX] (Node f502deb8), AE_NOT_EXIST (20140424/psparse-536) Sep 05 18:19:16 localhost.localdomain kernel: ACPI Error: No handler for Region [FGCP] (f502c5d0) [GenericSerialBus] (20140424/evregion-162) Sep 05 18:19:16 localhost.localdomain kernel: ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140424/exfldio-299) Sep 05 18:19:16 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BIX] (Node f502deb8), AE_NOT_EXIST (20140424/psparse-536) Sep 05 18:19:16 localhost.localdomain kernel: ACPI Error: No handler for Region [FGCP] (f502c5d0) [GenericSerialBus] (20140424/evregion-162) Sep 05 18:19:16 localhost.localdomain kernel: ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140424/exfldio-299) Sep 05 18:19:16 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BIX] (Node f502deb8), AE_NOT_EXIST (20140424/psparse-536) Sep 05 18:19:16 localhost.localdomain kernel: ACPI Error: No handler for Region [FGCP] (f502c5d0) [GenericSerialBus] (20140424/evregion-162) Sep 05 18:19:16 localhost.localdomain kernel: ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140424/exfldio-299) Sep 05 18:19:16 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BIX] (Node f502deb8), AE_NOT_EXIST (20140424/psparse-536) Sep 05 18:19:16 localhost.localdomain kernel: ACPI Error: No handler for Region [FGCP] (f502c5d0) [GenericSerialBus] (20140424/evregion-162) Sep 05 18:19:16 localhost.localdomain kernel: ACPI Error: Region GenericSerialBus (ID=9) has no handler (20140424/exfldio-299) Sep 05 18:19:16 localhost.localdomain kernel: ACPI Error: Method parse/execution failed [\_SB_.I2C1.BATC._BIX] (Node f502deb8), AE_NOT_EXIST (20140424/psparse-536) Full journalctl output after boot attached