Re: Thinkpad x230 display brightness

2014-02-12 Thread Matthias Petermann

Hello,

Zitat von bezobraz...@hushmail.com:


hi everyone
i have a x230 and i have problem with acpi

i read and install
# cd /usr/ports/sysutils/acpi_call && make install clean # kldload
acpi_ibm # kldload acpi_call # acpi_call -p 'VBRC' -i N where N is
0-16. (strangely, 15 is brighter than 16).
my output for  [ acpi_call -p 'VBRC' -i N ] is "0"

but i can change the brighter . can anyone help me ??
i can't find a command-line for change in the terminal
or the key FnF8 or FnF9
thz


with my X121e I had some success with:

root@thinkpad:/usr/home/mpeterma # cd /usr/ports/sysutils/acpi_call/
root@thinkpad:/usr/ports/sysutils/acpi_call # make install clean
root@thinkpad:/usr/ports/sysutils/acpi_call # kldload acpi_call

root@thinkpad:/usr/ports/sysutils/acpi_call # acpi_call -p '\VBRU'
root@thinkpad:/usr/ports/sysutils/acpi_call # acpi_call -p '\VBRD'

while VBRU increases and VBRD decreases by one step brightness of the screen.

There is also a PR filed:

http://www.freebsd.org/cgi/query-pr.cgi?pr=amd64/181357

Kind regards,
Mathias
--
Matthias Petermann  | www.petermann-it.de
GnuPG: 0x5C3E6D75 | 5930 86EF 7965 2BBA 6572  C3D7 7B1D A3C3 5C3E 6D75

___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"


Re: Reduced screen light after power disappearing.

2013-12-21 Thread Matthias Petermann

Hello,

Zitat von Гуляев Гоша :


Good day!

I have a laptop with FreeBSD 10-BETA4 AMD64. When the power is lost  
it automatically reduces screen brightness. But when the power comes  
back, the brightness does not return to a normal level. Fn +  
BrightUP key do not help. I have no other auto power saving set up  
except powerd_enable="yes" in /etc/rc.conf


The only way to return brightness to a normal level now is to  
reboot. How I can fix that?


You could try to kldload acpi_video.

# kldload acpi_video
# sysctl -a | grep brightness

should show up a key which you can use to set the brightness.

# sysctl hw.acpi.video.lcd0.brightness=100

For some vendors (e.g. Lenovo) there are custom modules with their own  
brightness setting keys:


# kldload acpi_ibm
# sysctl -a | grep brightness

If none of this are working, you might want to try out  
ports/sysutils/acpi_call and directly calling an ACPI method to  
increase or set the brightness. This was btw the only way it is  
working for my Lenovo X121e and E330.


Kind regards,
Matthias
--
Matthias Petermann  | www.petermann-it.de
GnuPG: 0x5C3E6D75 | 5930 86EF 7965 2BBA 6572  C3D7 7B1D A3C3 5C3E 6D75

___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"

Re: suspend/resume on Lenovo X1 (regression from reports on wiki)

2013-08-27 Thread Matthias Petermann

Hi Laura,

Am 27.08.2013 22:32, schrieb Laura Marie Feeney:
I tried suspend/resume (less systematically) with 9.1-RELEASE and 
didn't have success.  I can build minimal kernels for both 9.1 and 9.0 
and will report (probably not tonight).  Unfortunately, the 
SuspendResume wiki isn't completely clear about what build was used - 
perhaps the folks who reported will be able to clarify.


Can you rebuild your kernel without "options VESA". This helped to fix 
suspend/resume for my Thinkpad X121e.


Regards,
Matthias

___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"


amd64/181358: Suspend to RAM not working correctly on Lenovo X121e (ACPI issue?)

2013-08-24 Thread Matthias Petermann

Hello,

regarding the issue mentioned in the subject (Lenovo Thinkpad X121e not 
able to resume after suspend to ram) there is finally some progress. I 
found this few months old discussion[1] on freebsd-acpi (related to 
Thinkpad X201):


"I had a similar problem. After syncing with FreeBSD 10-CURRENT and 
compiling a kernel without
VESA support, I was able to get graphics to work on resume, but only 
when running X. "


This works for the X121e too! It is now able to suspend and resume 
properly when running Xorg (with i915kms.ko). I'm really happy :-)


There is only a (very minor) problem: after the first resume Xorg 
graphics seem to slow down. When moving windows on the screen they leave 
some traces behind and it takes some milliseconds until they are wiped 
away and replaced with the background image.


Kind regards,
Matthias


[1]

http://freebsd.1045724.n5.nabble.com/Resume-failed-after-Suspend-on-Thinkpad-x201i-td5723622.html

___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"