Open nekomimipanic opened 3 years ago
If it is just about the hardware buttons, it can be patched directly in the kernel, instead of using DSDT.
Could you attach a dmesg to this issue ?
Here is dmsg log. It's DSDT integrated kernel one. dmesg2.log
I have added you to the brunch testing repo (you should have received a github invite), the release there should have working buttons for your device.
power button is working testing brunch. additionally this device Bluetooth firmware is not properly adopt. need root-c mount and in /firmware/brcm cp BCM4356A2-0a5c-6419.hcd BCM4354A2-0a5c-6419.hcd become working.
finally rotate is not work this testing one force_tablet_mode or sysfs_tablet_mode or already mentioned method not working. attach dmsg
I have a doubt as you mention tablet mode:
May be tablet mode not triggered. on sysfs_tablet_mode, # echo 1 > /dev/pra~ but no action.
before testing update, it worked.
Sorry but I really need to confirm if it is a tablet mode issue or sensors.
Could you remove all tablet mode related options, reboot, login then press CTRL+ALT+SHIFT+T to trigger tablet mode manually and see if rotation works ?
CTRL+ALT+SHIFT+T , no reaction...
I have uploaded another brunch-testing, could you try it ?
Between, do you remember which release your were using previously (when tablet mode worked fine) ?
20201109 not working rotation and ctrl~ notworking too. force~ not working. r86 worked fine.
thx
Well, the issue is I did not change much between r86 and this build so I am not sure what it could be related to...
Could you attach a new dmesg to this issue ? (after a fresh reboot, run "dmesg > ~/Downloads/dmesg.txt" in crosh shell and attach dmesg.txt from your Downloads folder to this issue)
Forgot to say, a new dmesg without any tablet mode related options
You can also try the new testing release
new one 201110ver work fine! thx.
ill attach dmesg log with 09 and 10. dmesg.zip
Hmm. both testing from chromeos-install.sh,not work. (clean install) Stable can rotate,
so first stable chromeos-install.sh then,chromeos-update -f 201110ver can rotate... but if edit rootc, become not rotate.
stable chromeos-install.sh then,chromeos-update -f 201109ver NOT rotate.
Thanks for all the tests :) that's very interesting (even though I don't really understand yet what the issue is)
can I check your additional ACPI code? I ll test step by step.
You will find my patch below but I doubt it is related to the tablet mode issue.
--- a/drivers/platform/x86/intel-hid.c 2020-04-20 19:28:32.000000000 +0200
+++ b/drivers/platform/x86/intel-hid.c 2020-05-04 18:01:26.427423389 +0200
@@ -60,6 +60,20 @@
static const struct dmi_system_id button_array_table[] = {
{
+ .ident = "HUAWEI MateBook HZ-W09",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "HUAWEI"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "MateBook HZ-W09"),
+ },
+ },
+ {
+ .ident = "HUAWEI MateBook HZ-W19",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "HUAWEI"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "MateBook HZ-W19"),
+ },
+ },
+ {
.ident = "Wacom MobileStudio Pro 13",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Wacom Co.,Ltd"),
Could you try the new "brunch-testing" release ?
testing release not work rotate. thx
Could you attach an "lsmod" to this issue ?
The MateBook HZ-W09 part exist in brunch for more than 6 months so that's not related.
Actually, I just noticed that there are 2 tablet mode modules loaded on your device (which chromeos does not expect), could you try to add "module_blacklist=intel_vbtn" on the kernel command line (after "cros_debug")
no change lsmod.log
My tablet's ACPI table is different from standard one. It need to fix ACPI table, otherwise not work volume and power button. Ref. https://github.com/ivzave/matebook-linux
Is there any easy way to override DSDT before boot? (already prepared recompiled DSDT as dsdt.Aml) Cpio method can't work. Ref. https://wiki.archlinux.org/index.php/DSDT Ref. https://android.googlesource.com/kernel/tegra/+/ce636452343af0522d2666157dab9c2096f4f996/Documentation/acpi/initramfs-add-dsdt.sh
I recompile kernel,but it's annoying and takes time. So is there any other way to override DSDT?
Thx