Coder Social home page Coder Social logo

dell-g15-controller's People

Contributors

cemkaya-mpi avatar jl2210 avatar mokurin000 avatar phobeuscz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dell-g15-controller's Issues

Model unsupported override

It would be helpful if a 'Don't ask' option was added to the unsupported models dialog instead of warning on every launch.

G15 5520 compatibility

Hello! I have a Dell G15 5520, and would want to add it as compatible, to add at least G button function and put the fans to the max. How can I intercept AWCC ACPI commands from windows? I tried extracting DSDT, and reading ACPI tables, but couldn't compile it to even try to locate some functions.

Update the Readme

Please add the dep needed for the tool:
sudo apt install libxcb-cursor0
and:
pip3 install pyside6

I would like to try it on an M17R3 with the same spec. But I have no idea how to use it I would like to turn off the light when not typing.

Dell G15 5511 Intel edition SSDT table

I went through the past Issue and tried to export my computer's SSDT table, in which I found the WMAX method.
ssdt2.txt
I also tried the scripts in #12 after changing AMW3 to AMWW.

#!/bin/bash

c(){ echo "$1" | sudo tee /proc/acpi/call >/dev/null && sudo cat /proc/acpi/call;echo;}

for mode in 0xa{0..9} 0xa{a..b}
do
    echo "Trying mode ${mode}"
    echo "\_SB.AMWW.WMAX 0 0x15 {0x01, ${mode}, 0x00, 0x00}"
    c "\_SB.AMWW.WMAX 0 0x15 {0x01, ${mode}, 0x00, 0x00}"
done
echo "Reverting to balanced."
c "\_SB.AMWW.WMAX 0 0x15 {0x01, 0xa0, 0x00, 0x00}"

The results are as follows:

Trying mode 0xa0
\_SB.AMWW.WMAX 0 0x15 {0x01, 0xa0, 0x00, 0x00}
0x0
Trying mode 0xa1
\_SB.AMWW.WMAX 0 0x15 {0x01, 0xa1, 0x00, 0x00}
0x0
Trying mode 0xa2
\_SB.AMWW.WMAX 0 0x15 {0x01, 0xa2, 0x00, 0x00}
0x0
Trying mode 0xa3
\_SB.AMWW.WMAX 0 0x15 {0x01, 0xa3, 0x00, 0x00}
0x0
Trying mode 0xa4
\_SB.AMWW.WMAX 0 0x15 {0x01, 0xa4, 0x00, 0x00}
0xffffffff
Trying mode 0xa5
\_SB.AMWW.WMAX 0 0x15 {0x01, 0xa5, 0x00, 0x00}
0xffffffff
Trying mode 0xa6
\_SB.AMWW.WMAX 0 0x15 {0x01, 0xa6, 0x00, 0x00}
0xffffffff
Trying mode 0xa7
\_SB.AMWW.WMAX 0 0x15 {0x01, 0xa7, 0x00, 0x00}
0xffffffff
Trying mode 0xa8
\_SB.AMWW.WMAX 0 0x15 {0x01, 0xa8, 0x00, 0x00}
0xffffffff
Trying mode 0xa9
\_SB.AMWW.WMAX 0 0x15 {0x01, 0xa9, 0x00, 0x00}
0xffffffff
Trying mode 0xaa
\_SB.AMWW.WMAX 0 0x15 {0x01, 0xaa, 0x00, 0x00}
0xffffffff
Trying mode 0xab
\_SB.AMWW.WMAX 0 0x15 {0x01, 0xab, 0x00, 0x00}
0x0
Reverting to balanced.
0x0

Works on Dell G16 7620

Not too surprising, these devices are very similar. I think they even use the same BIOS.

Recommend replacing GROUP="plugdev" with TAG+="uaccess". This is best practice on Arch Linux. Then you can just check whether or not you can access the file rather than if you're in the group.

Keyboard backlight does not work with Secure Boot in Audit mode. Don't ask me how long I took to figure this out.

image

Also keybinds from fn+f7 and fn+f9 to toggle keyboard lights and G mode respectively would be nice-to-have

AttributeError: 'MainWindow' object has no attribute 'is_dell_g15'

I have a Dell G15 5515. When i try to launch the program, it fails.

QApplication: invalid style override 'kvantum' passed, ignoring it.
	Available styles: Windows, Fusion
Traceback (most recent call last):
  File "/home/weiss/Dell-G15-Controller/./main.py", line 449, in <module>
    window = MainWindow()
             ^^^^^^^^^^^^
  File "/home/weiss/Dell-G15-Controller/./main.py", line 26, in __init__
    self.init_acpi_call()
  File "/home/weiss/Dell-G15-Controller/./main.py", line 97, in init_acpi_call
    if self.is_dell_g15:
       ^^^^^^^^^^^^^^^^
AttributeError: 'MainWindow' object has no attribute 'is_dell_g15'

Fixing AWCC

After trying many things, I wasn't able to fix my Windows AWCC after using this script. So, I decided to read the code and try to modify some things. After making those modifications, I successfully reset the keyboard light. The solution involved removing all animations from the keyboard using elc.remove_animation. However, there was an animation that was not listed for some reason. But in the end I managed to obtain the animation ID using the get_animation_count command.

Later I can create a Pull Request to create a script that resets all the animations. This could help people who encounter similar problems like mine.

Power and fan management does not work on custom bash prompts

If the bash prompt does not end with '$' or '#', the app waits for the child bash process to print these values to stdout until timeout, and fan and power related functions do not work as a result. The current workaround is to have an unmodified bash prompt, but this is not optimal. It would be better to detect the current bash prompt and wait for it instead.

Power mode works on Alienware M16 R1 model, keyboard lights do not.

Selam kardesim umutsuzca internette dolasirken programina rastladim acpi_call modulunu yukleyince laptopumda platform profillerini degistirebiliyorum. Klavye isiklarini kontrol etmeyi denemedim daha cok da onemli degiller zaten. Ne guzel insanlar var dunyada, cok tesekkurler.

Dell G15 5515 AMD edition DSDT table

Have the Dell G15 5515 Amd edition, commented on something on this repo a while back and someone asked me to create an issue & post my dsdt table here, so here i am and here it is:
dsdt.txt
hopefully this is the right file and format.

Alienware-m17-r3 impossible to switch off/on the keyboard lights

Bus 002 Device 002: ID 0bda:0328 Realtek Semiconductor Corp. USB3.0-CRW
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:565a Realtek Semiconductor Corp. Integrated_Webcam_HD
Bus 001 Device 003: ID 187c:0550 Alienware Corporation LED controller
Bus 001 Device 002: ID 1ea7:0064 SHARKOON Technologies GmbH 2.4GHz Wireless rechargeable vertical mouse [More&Better]
Bus 001 Device 006: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 005: ID 0d62:3740 Darfon Electronics Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub```
For more information see #13 

Laptop model not supported after kernel downgrade

I had to downgrade my kernel from 6.9.9.arch1-1 to 6.0.10-arch2-1 to be able to use an old nvidia driver (520.56.06) because the latest is causing games to freeze due to the xid 109 problem: https://forums.developer.nvidia.com/t/multiple-cuda-rtx-vulkan-application-crashing-with-xid-13-109-errors/235459/399.

After that Dell G15 Controller stopped working for me. It says my laptop model is not supported.

Do I need to downgrade Dell G15 Controller as well?

My specs:

OS: Arch Linux x86_64
Host: Dell G15 5525 (1.16.1)
Kernel: Linux 6.0.10-arch2-1
CPU: AMD Ryzen 7 6800H (16) @ 3.20 GHz
GPU 1: AMD Radeon 680M [Integrated]
GPU 2: NVIDIA GeForce RTX 3060 Mobile / Max-Q [Discrete]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.