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
Screen brightness #15
Comments
have not tested, did not even install a gui last time i run linux.. Worse case scenario you adjust it with xset. |
The i915 driver needs a patch to make this work. I have it and I'll post it up next time I crack open the tablet. |
please post patch |
http://home.ix.netcom.com/~jjingber/0007-intel_baytrail_backlight.patch i915 kernel module needs i915.force_backlight_pmic=1 |
i915.force_backlight_pmic=1,can't adjust screen brightness,my tablet z3735f . |
@jharrison022 I just wanted to say thanks for the patch. I just used this on 4.8 rc7 from git and it works beautifully on my Asus T100TA. |
can anyone with a flexx10 confirm that it works and with which kernel revision? |
https://bugs.freedesktop.org/show_bug.cgi?id=85977 i don't know their discussion results |
I think it's safe to say the screen on the Flexx 9 and 10-style tablets are very different. This patch works over here. |
I think that's really the only difference in these tables, expect for the Flexx 9's sh*tty firmware (gimped VBT) and size of SSD. |
I'm not good at English,I can't understand their discussion for pwm backlight, |
@jharison22 so it works with 10 and not with 9 |
It works on the 9, at least. No idea about the 10. |
Try this patches: https://www.tinc-vpn.org/pipermail/click/2016-October/000347.html Build options:
|
https://bugs.freedesktop.org/show_bug.cgi?id=96571 ,do you read this bug ? @RussianNeuroMancer |
Yes. @youling257, do you refer to some particular comment? |
@RussianNeuroMancer ,https://www.tinc-vpn.org/pipermail/click/2016-October/000347.html ,he edit DSDT,i need know DSDT patch . DSDT patch,@zefie ,half year ago,get backlight work,https://files.persona.cc/linux/intel_baytrail_soc/nextbook%2010.1/android/android_x86_010c.txt Kernel Source: http://github.com/zefie/nxt_andx86_kernel |
@RussianNeuroMancer ,zefie/nxt_andx86_kernel@121736b ,https://github.com/zefie/nxt_and_x86/blob/x86/files/generic/boot/boot/dsdt/dsdt_changes.patch DSDT patch,@@ -433,9 +433,10 @@ ,@@ -13764,10 +13765,10 @@,@@ -13731,10 +13732,10 @@,can make Volume Buttons work ;don't use DSDT patch,use this patch,https://patchwork.kernel.org/patch/6118791 ,Volume Buttons also work . so,if @@ -9599,31 +9600,7 @@ and @@ -9656,32 +9633,7 @@ is for backlight,but my dsdt can't patch @@ -9599,31 +9600,7 @@ ,@@ -9656,32 +9633,7 @@ ,get dsdt.dsl.rej file . |
Yep, but as I understand most BYT devices doesn't need DSDT changes to get backlight work. This is wrong assumption?
This patch is old, why it's not merged into upstream? Is there bugreport about this?
One method is this patch https://patchwork.kernel.org/patch/6118791 and another? DSDT edit or something different? |
@RussianNeuroMancer , most BYT devices , what BYT devices ? z3735f [drm:pwm_setup_backlight [i915]] ERROR Failed to own the pwm chip . |
BayTrail tablets/laptops/transformers
Check this: https://drive.google.com/drive/folders/0B_uxdqSfzNGwOG1UUEh2ckM4LVU |
@RussianNeuroMancer , i don't will go to test his kernel and modules , i must solved z3735f android x86 backlight problem . |
https://drive.google.com/drive/folders/0B_uxdqSfzNGwTjF2M2w2VDBzb0k?usp=sharing ,“BUT for make this set of patches work, I had to modify my DSDT table” @RussianNeuroMancer |
Okay, maybe someone else will test this approach. |
@RussianNeuroMancer ,please you tell me,i test his deb file,has what use ? |
thanks for zefie DSDT patch,zefie/nxt_andx86_kernel@121736b https://github.com/zefie/nxt_and_x86/blob/x86/files/generic/boot/boot/dsdt/dsdt_changes.patch |
Just to confirm:
What your device? Nextbook Flexx 10.1"? |
let me tell you,here is z3735f problem,i only care z3735f on Android x86 problem . @RussianNeuroMancer |
As I understand you solved it, right? I want to clearly understand the way you do this. This is why I asking you this questions from my previous comment. This information could be very helpful for other people. |
“@RussianNeuroMancer ,zefie/nxt_andx86_kernel@121736b ,https://github.com/zefie/nxt_and_x86/blob/x86/files/generic/boot/boot/dsdt/dsdt_changes.patch DSDT patch,@@ -433,9 +433,10 @@ ,@@ -13764,10 +13765,10 @@,@@ -13731,10 +13732,10 @@,can make Volume Buttons work ;don't use DSDT patch,use this patch,https://patchwork.kernel.org/patch/6118791 ,Volume Buttons also work . so,if @@ -9599,31 +9600,7 @@ and @@ -9656,32 +9633,7 @@ is for backlight,but my dsdt can't patch @@ -9599,31 +9600,7 @@ ,@@ -9656,32 +9633,7 @@ ,get dsdt.dsl.rej file .” yes,@@ -9599,31 +9600,7 @@ and @@ -9656,32 +9633,7 @@ is for backlight ,i patch my dsdt.dsl success ,compile dsdt.hex into kernel ,get backlight work . |
please, leave bugs open until proper documentation is provided. (+ confirmation) |
I tested the patch for kernel 4.8.3 with modified DSDT compiled in on Teclast X80h. The error message (failed to own pwm chip) disappeared and "xrandr --output DSI-1 --off" did turn off/on the backlight despite putting X into black screen. Backlight control still doesn't work. The only thing works is turninig backlight on and off. However, I still get black screen everywhere. I can bypass this black screen issue with i915.fastboot=1 parameter. But the screen turns black when I "restart X/xrandr rotate/xrandr on/off". So, my screen only works at first login(logout also causes black screen) and I cannot rotate it. |
CONFIG_PWM=y
CONFIG_PWM_CRC=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
CONFIG_I2C_DESIGNWARE_PCI=y
CONFIG_INTEL_SOC_PMIC=y
CONFIG_DRM_I915=m
CONFIG_PWM_LPSS=y
CONFIG_PWM_LPSS_PCI=y
CONFIG_PWM_LPSS_PLATFORM=y
CONFIG_X86_INTEL_LPSS=y
2016年12月16日 上午12:18,"SuIông N." <notifications@github.com>写道:
I tested the patch for kernel 4.8.3 with modified DSDT compiled in on
Teclast X80h. The error message (failed to own pwm chip) disappeared and
"xrandr --output DSI-1 --off" did turn off/on the backlight despite putting
X into black screen. Backlight control still doesn't work. The only thing
works is turninig backlight on and off. However, I still get black screen
everywhere. I can bypass this black screen issue with i915.fastboot=1
parameter. But the screen turns black when I "restart X/xrandr
rotate/xrandr on/off". So, my screen only works at first login(logout also
causes black screen) and I cannot rotate it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APjKVHgVQhm-TqaGG4jZqb0mNAU41u0Mks5rIWhqgaJpZM4J0kUq>
.
|
DSDT patch,such as http://pastebin.com/ZKfJNySj i compile include/dsdt.hex into kernel,# CONFIG_STANDALONE is not set |
yes, these are exactly what I did. I do have these kernel config parameter the same as above and compiled in the dsdt.hex. |
only use these three patch,https://drive.google.com/drive/folders/0B_uxdqSfzNGwTjF2M2w2VDBzb0k |
ok, with more testing, backlight is actually working despite showing a black screen. Booting with i915.fastboot=1 gets me a functioning X (without backlight support). Booting without that parameter gets me a black screen with working backlight support. |
Hi, I can't adjust brightness during boot sequence but I can adjust brightness when the desktop appears (with FN + fonction button for brightness). Then I think I don't need the patch ? Right ? |
do not even have a keyboard for my device...... |
If you want the how-to to adjust brightness at boot (with the help of initramfs), tell me I will post here. ;-) |
if you say xrandr script ,i don't know it . android not support xrandr . xrandr adjust gamma,isn't brightness ,i can use android app adjust gamma .
the adjust brightness by pwm control from DSDT .
bay trail/cherry trail,LPSS based device or CRC PMIC.
2016-12-24 21:17 GMT+08:00 Tuxman2 <notifications@github.com>:
… Hi,
I can't adjust brightness during boot sequence but I can adjust brightness
when the desktop appears (with FN + fonction button for brightness). Then I
think I don't need the patch ? Right ?
To adjust the brightness during boot sequence I use a script that I
applied with initramfs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APjKVAu66dr4hO0MOebavifh8mukDVPnks5rLRtPgaJpZM4J0kUq>
.
|
I don't use xrandr script but another tip. The tip I use is to adjust the brightness after boot. Here is the tip:
Note: replace x with the value you need.
chmod a+rx /etc/initramfs-tools/scripts/init-premount/local-backlight-brightness update-initramfs -u -k all (for all the kernels available).
Note: Here is the source I used: http://unix.stackexchange.com/questions/117101/how-to-set-laptop-screen-brightness-just-after-boot-with-full-disk-encryption |
If your dmesg no this , pwm_setup_backlight [i915]] ERROR Failed , the correct method to solved it |
4.10 kernel,if patch intel_panel.c and intel_drv.h ,can't compile ,http://pastebin.com/AwDqbfZC ;4.8 and 4.9 ,no problem,backlight control can work . 4.9 kernel and 4.10 kernel ,
shit,I have no necessary to follow up ,the 4.8 kernel is perfect and exclusively . |
What patches are required for backlight to work ? |
adjust screen brightness,really can work ?
The text was updated successfully, but these errors were encountered: