lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 14 Nov 2012 16:48:47 +0000 (UTC)
From:	Forconi <forconi@...ecomm.it>
To:	Alan Cox <alan@...rguk.ukuu.org.uk>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: KMS Framebuffer on Intel N2600 (GMA3600)

Hi Alan,
first of all, thanks for your support.

> So the panel backlight register is set to indicate that the
> brightness
> will be handled by the firmware in some other way and not by the
> graphics.
> Do you have ACPI backlight support in your kernel ? Do you have the
> LVDS
> panel enabled in the BIOS ?

This backlight problem appears only when I run linux with KMS framebuffer,
when I run linux without KMS framebuffer, the backlight is always on.

Yes, I have ACPI enabled and ACPI backlight enabled, but running:
echo 100 > /sys/class/backlight/psb-bl/brightness
won't change anything.
In the BIOS there isn't any section relative to Video or LVDS settings.

But, in the end, this means that the driver si correctly loaded and the 
framebuffer is running but the panel backlight is off?
In other words, I can't see anything only because the backlight is off?

> It could be the value hasn't been initialised when it should have
> been,
> it could be your hardware has some other interface for this.
> 
> If you look at cdv_device.c you'll see cdv_get_max_backlight() checks
> for
> this case. If you can find out what the value should be then you can
> substitute
> 
>         if (max == 0) {
>                 DRM_DEBUG_KMS("LVDS Panel PWM value is 0!\n");
>                 /* i915 does this, I believe which means that we
>                 should
>                  * smash PWM control as firmware will take control of
>                  it.
>         	return 1;
>         }
> 
> 
> with
> 	if (max == 0)
> 		max = max_value << 16;
> 
> and test that case. If that doesn't work then probably the backlight
> is
> wired some other way. If ACPI handles it you may be able to handle it
> that way. If it's a custom driver interface in Windows you may have a
> problem.
> 
> Alan
> 

I don't know which could be the maximum value, there are any standard values
for backlight settings? I could try setting some values and see what happens...



Thanks again for your help.

Regards,
Samuele.


-- 
Ing. Samuele Forconi
Responsabile Sviluppo SW
WaveComm S.r.l.
Sede legale: Via Donizetti 25, 53011 Castellina in Chianti (SI)
Sede operativa: Loc. Belvedere - Ingresso 2, 53034 Colle Val d'Elsa (SI)
Phone: (39) 0577 043101
Fax: (39) 0577 043101
Mobile: (39) 347 5899717
Skype: samueleforconi
E-mail: forconi@...ecomm.it
URL: www.wavecomm.it

_____________________________________________________________________________________________

Ai sensi del D. Lgs. n.196 del 30/06/2003, questo messaggio ed ogni suo allegato sono confidenziali e ad uso esclusivo del destinatario, il quale è l'unico autorizzato ad usarlo, copiarlo e, sotto la propria responsabilità, diffonderlo. Se il ricevente non è il destinatario diretto del presente messaggio, è pregato di contattare l'originario mittente e di cancellare questo messaggio ed ogni suo allegato dal sistema di posta. Se il ricevente non è il destinatario diretto del presente messaggio, sono vietati l'uso, la riproduzione, e la stampa di questo messaggio e di ogni suo allegato, nonché la diffusione del loro contenuto a qualsiasi altro soggetto.

For the D. Lgs. n.196 of 30/06/2003, this message and any attachment are confidential and privileged for the the recipient identified above, who only may use, copy and, under his/her responsibility, further disseminate it. If you are not the intended recipient, please contact the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not use, copy or print this message or attachment or disclose the contents to any other person.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ