Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility on Tongfang GK7C chassis #6

Open
astiak opened this issue May 3, 2021 · 5 comments
Open

Compatibility on Tongfang GK7C chassis #6

astiak opened this issue May 3, 2021 · 5 comments

Comments

@astiak
Copy link
Contributor

astiak commented May 3, 2021

Hi,

I've been searching for a tool to control the lightbar on my laptop (Tongfang GK7CP7S) and this tool does the job.

I've tested the other features within this module too, findings below.

Fan speeds:

Fan speeds and temperatures are shown in sensors output.

Controlling the lightbar

brightness
Works as intended, able to switch on/off the LED. The file however, appears not to get written therefore checking the status does not work. It always remains on 0.

s3_brightness
Untested

rainbow_mode
Works as intended. However echo 0 > /sys/class/leds/qc71_laptop::lightbar/rainbow_mode leads to Permission denied, so I had to use tee (`echo 0 | sudo tee /sys/class/leds/qc71_laptop::lightbar/rainbow_mode)

color
Changing the colour works as intended. E.g. setting 100 had changed the led strip to red after setting rainbow_mode to 0.

Controlling the fans

fan_always_on and fan_reduced_duty_cycle is not available, therefore does not function. This option does not exist in my BIOS either.

Fn lock

fn_lock_switch is not available, therefore does not function.

Battery charge limit

charge_control_end_threshold is not available, therefore does not function.

Super key (windows key) lock

Functions as intended. Again, sudo tee had to be used.

Thanks for the tool @pobrn. The most useful feature to me is the lightbar and that is functioning as expected. This will likely work on other laptops that use the same lightbar. Another step closer to full linux compatibility.

@pobrn
Copy link
Owner

pobrn commented May 3, 2021

Thanks for the detailed report. Can you share the name of the distribution, the kernel version, and the output of grep -r . /sys/devices/virtual/dmi/id/ 2>/dev/null (run as non-root)?

@astiak
Copy link
Contributor Author

astiak commented May 3, 2021

Sure, see below:

Distro: Arch Linux

Kernel: 5.11.16-zen1-1-zen

Output of: grep -r . /sys/devices/virtual/dmi/id/ 2>/dev/:

/sys/devices/virtual/dmi/id/bios_date:01/07/2019
/sys/devices/virtual/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrN.1.03:bd01/07/2019:br5.13:efr1.2:svnPCSpecialistLTD:pnRecoilIII:pvrStandard:rvnTongFang:rnGK7CP7S:rvrStandard:cvnStandard:ct10:cvrStandard:
/sys/devices/virtual/dmi/id/product_name:Recoil III
/sys/devices/virtual/dmi/id/chassis_vendor:Standard
/sys/devices/virtual/dmi/id/chassis_asset_tag:Standard
/sys/devices/virtual/dmi/id/ec_firmware_release:1.2
/sys/devices/virtual/dmi/id/sys_vendor:PC Specialist LTD
/sys/devices/virtual/dmi/id/power/runtime_active_time:0
/sys/devices/virtual/dmi/id/power/runtime_status:unsupported
/sys/devices/virtual/dmi/id/power/runtime_suspended_time:0
/sys/devices/virtual/dmi/id/power/control:auto
/sys/devices/virtual/dmi/id/bios_version:N.1.03
/sys/devices/virtual/dmi/id/bios_release:5.13
/sys/devices/virtual/dmi/id/product_version:Standard
/sys/devices/virtual/dmi/id/board_vendor:TongFang
/sys/devices/virtual/dmi/id/chassis_version:Standard
/sys/devices/virtual/dmi/id/product_sku:0001
/sys/devices/virtual/dmi/id/chassis_type:10
/sys/devices/virtual/dmi/id/product_family:CFL
/sys/devices/virtual/dmi/id/bios_vendor:American Megatrends Inc.
/sys/devices/virtual/dmi/id/board_asset_tag:Standard
/sys/devices/virtual/dmi/id/board_version:Standard
/sys/devices/virtual/dmi/id/modalias:dmi:bvnAmericanMegatrendsInc.:bvrN.1.03:bd01/07/2019:br5.13:efr1.2:svnPCSpecialistLTD:pnRecoilIII:pvrStandard:rvnTongFang:rnGK7CP7S:rvrStandard:cvnStandard:ct10:cvrStandard:
/sys/devices/virtual/dmi/id/board_name:GK7CP7S

@augenbrot
Copy link

Thanks for the great work. I came here for the battery threshold. Unfortunately its for me the same as for astiak. Battery and Fan control are not available. Colorbar, fan sensors and key locks are working fine.
I run the module on a XMG NEO 15 (E21) (ID: XNE15AE21). I think it's a Tongfang GM5ZG0O chassis.

I am running Arch Linux kernel 5.19.8-arch1-1

/sys/devices/virtual/dmi/id/bios_date:09/07/2021
/sys/devices/virtual/dmi/id/uevent:MODALIAS=dmi:bvnAmericanMegatrendsInternational,LLC.:bvrN.1.24A10:bd09/07/2021:br5.19:efr1.30:svnSchenkerTechnologiesGmbH:pnXMGNEO(CZN/E21):pvrStandard:rvnNB02:rnGMxZGxx:rvrStandard:cvnSchenkerTechnologiesGmbH:ct10:cvrStandard:skuXNE15AE21/XNE17AE21:
/sys/devices/virtual/dmi/id/product_name:XMG NEO (CZN/E21)
/sys/devices/virtual/dmi/id/chassis_vendor:SchenkerTechnologiesGmbH
/sys/devices/virtual/dmi/id/chassis_asset_tag:Standard
/sys/devices/virtual/dmi/id/ec_firmware_release:1.30
/sys/devices/virtual/dmi/id/sys_vendor:SchenkerTechnologiesGmbH
/sys/devices/virtual/dmi/id/power/runtime_active_time:0
/sys/devices/virtual/dmi/id/power/runtime_status:unsupported
/sys/devices/virtual/dmi/id/power/runtime_suspended_time:0
/sys/devices/virtual/dmi/id/power/control:auto
/sys/devices/virtual/dmi/id/bios_version:N.1.24A10
/sys/devices/virtual/dmi/id/bios_release:5.19
/sys/devices/virtual/dmi/id/product_version:Standard
/sys/devices/virtual/dmi/id/board_vendor:NB02
/sys/devices/virtual/dmi/id/chassis_version:Standard
/sys/devices/virtual/dmi/id/product_sku:XNE15AE21 / XNE17AE21
/sys/devices/virtual/dmi/id/chassis_type:10
/sys/devices/virtual/dmi/id/bios_vendor:American Megatrends International, LLC.
/sys/devices/virtual/dmi/id/board_asset_tag:Standard
/sys/devices/virtual/dmi/id/board_version:Standard
/sys/devices/virtual/dmi/id/modalias:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrN.1.24A10:bd09/07/2021:br5.19:efr1.30:svnSchenkerTechnologiesGmbH:pnXMGNEO(CZN/E21):pvrStandard:rvnNB02:rnGMxZGxx:rvrStandard:cvnSchenkerTechnologiesGmbH:ct10:cvrStandard:skuXNE15AE21/XNE17AE21:
/sys/devices/virtual/dmi/id/board_name:GMxZGxx

Hopefully this helps!

@pobrn
Copy link
Owner

pobrn commented Sep 15, 2022

Is it possible to change the battery charge threshold on windows in the officially supported application or in BIOS?

@augenbrot
Copy link

Is it possible to change the battery charge threshold on windows in the officially supported application or in BIOS?

Yes, it's possible in the official Control Center Software (v3.9.38.0).
They have a High Capacity, Balanced and Eco Mode. The Balanced and Eco mode should have a reduced peak capacity.
I made a screenshot.
https://ibb.co/gtHCswY

In BIOS this feature is unfortunately still missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants