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

Info about UM5401QA - Zenbook 14X Oled #102

Open
Tobiaqs opened this issue Jun 26, 2022 · 0 comments
Open

Info about UM5401QA - Zenbook 14X Oled #102

Tobiaqs opened this issue Jun 26, 2022 · 0 comments

Comments

@Tobiaqs
Copy link

Tobiaqs commented Jun 26, 2022

Device config for this device is m433ia.

Brightness control does not work out of the box on this device.

The panel needs to be switched on and off, brightness set separately (as far was I was able to determine)

Here are the int/hex values for commands

Action Int Hex
Turn on LED 1 0x01
Turn off LED 0 0x00
Brightness level 1 65 0x41
Brightness level 2 66 0x42
Brightness level 3 67 0x43
Brightness level 4 68 0x44
Brightness level 5 69 0x45
Brightness level 6 (brightest) 70 0x46

In terms of BRIGHT_VAL array:

# High res
BRIGHT_VAL = [hex(val) for val in [70, 69, 68, 67, 66, 65, 0]]

# Low res
BRIGHT_VAL = [hex(val) for val in [70, 68, 66, 0]]

This needs some adaptations to the code, because the panel needs to be explicitly turned on and brightness needs to be kept in sync with the panel. See my fork for an example (it is a bit hacky but don't have time to properly add support)

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

1 participant