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: Thinkpad x230 display brightness

2013-03-07 Thread Любомир Григоров
2013/3/6 Sergey Nasonov 

> **
>
> I have tested Intel adapter. And test results shows problem with
> brightness control. Brightness level stop changing after loading kernel.
>

Brightness controll is possible by doing the following

# cd /usr/ports/sysutils/acpi_call && make install clean
# rehash
# kldload acpi_ibm
# kldload acpi_call
# acpi_call -p '\VBRC' -i N

where N is 0-16. (strangely, 15 is brighter than 16).

Another problem I found is that laptop just hang during shutdown. I suppose
> that hang may be related to VT switch, because it still dont realized in
> case of Intel KMS driver.
>
> I don't have a problem with shutdown. However, issuing halt or shutdown -h
now, just results in a reboot after key is pressed. Not a problem, I just
hold power button at that point.

-- 
Lyubomir Grigorov (bgalakazam)
___
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: Thinkpad x230 display brightness

2013-03-06 Thread Sergey Nasonov
I have tested Intel adapter. And test results shows problem with brightness 
control. Brightness level stop changing after loading kernel. Another problem 
I found is that laptop just hang during shutdown. I suppose that hang may be 
related to VT switch, because it still dont realized in case of Intel KMS 
driver.

USB works fine. For example suspend/resume passed fine when USB flash dive 
inserted. And after resume I can access files on that volume.

I found only one problem: If at suspend time I have running VM Windows XP then 
resume process will fail. 

On Wednesday 06 March 2013 21:21:05 Любомир Григоров wrote:
> Unfortunately, I knew that NVIDIA works. Different way the calls are made.
> I had to go back to doing acpi_call and the VBRC to set brightness between
> 0-16. While not a button, it still works. I have yet to test
> suspend/resume. Do you have USB powered after resume?
> 
> 2013/3/6 Sergey Nasonov 
> 
> > --
> > 
> > 2012/10/20 Erich Dollansky  > >> 
> > > Hi,
> > > 
> > > 
> > > 
> > > On Sun, 21 Oct 2012 02:20:22 +0200
> > > 
> > > Jan Hannibal Smith http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>> wrote:
> > > > Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230, so far
> > > > 
> > > > everythings works fine except the keys for the brightness adjustment.
> > > > 
> > > > 
> > > > 
> > > > I tried the tricks I found for the x220 series but nothing helped.
> > > > 
> > > > Does anybody got a clue how I can get these buttons to work?
> > > > 
> > > > Maybe there is a patch for the kms driver?
> > > 
> > > can you check if the keys do even generate events?
> > > 
> > > 
> > > 
> > > They do not generate them on my X220.
> > > 
> > > 
> > > 
> > > If they do not generate events, you can use only the command line to
> > > 
> > > change brightness.
> > 
> > any info on this? I got a T430 from my work. I am afraid I will have to do
> > 
> > the manual calls like on my personal X220.
> > 
> > 
> > 
> > 
> > --
> > 
> > Lyubomir Grigorov (bgalakazam)
> > 
> > 
> > 
> > 
> > 
> > I am using T430 with FreeBSD 9.1 amd64. And I want to say that this laptop
> > is a best choice to install FreeeBSD on it. Brightess control work just
> > fine. But it work with nvidia card. I didnt tested integrated Intel
> > adapter. BIOS settings allows me to select primary adapter for video
> > output.
> > 
> > 
> > 
> > Message appears each time when brightness control key pressed:
> > 
> > CPU0: local APIC error 0x80
> > 
> > 
> > 
> > These errors just informational. And I dont give it any attention.
> > 
> > 
> > 
> > Suspend/resume also work without any problems.
> > 
> > 
> > 
> > I will test intel adapter and let you know if needed.
> > 
> > 
> > 
> > --
> > 
> > Best Regards,
> > 
> > Nasonov Sergey
-- 
Best Regards,
Nasonov Sergey
___
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: Thinkpad x230 display brightness

2013-03-06 Thread Любомир Григоров
Unfortunately, I knew that NVIDIA works. Different way the calls are made.
I had to go back to doing acpi_call and the VBRC to set brightness between
0-16. While not a button, it still works. I have yet to test
suspend/resume. Do you have USB powered after resume?

2013/3/6 Sergey Nasonov 

>
> --
>
> 2012/10/20 Erich Dollansky  >
>
>
> > Hi,
>
> >
>
> > On Sun, 21 Oct 2012 02:20:22 +0200
>
> > Jan Hannibal Smith  > > wrote:
>
> >
>
> > > Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230, so far
>
> > > everythings works fine except the keys for the brightness adjustment.
>
> > >
>
> > > I tried the tricks I found for the x220 series but nothing helped.
>
> > > Does anybody got a clue how I can get these buttons to work?
>
> > > Maybe there is a patch for the kms driver?
>
> > >
>
> > can you check if the keys do even generate events?
>
> >
>
> > They do not generate them on my X220.
>
> >
>
> > If they do not generate events, you can use only the command line to
>
> > change brightness.
>
> >
>
> any info on this? I got a T430 from my work. I am afraid I will have to do
>
> the manual calls like on my personal X220.
>
>
>
>
> --
>
> Lyubomir Grigorov (bgalakazam)
>
>
>
>
>
> I am using T430 with FreeBSD 9.1 amd64. And I want to say that this laptop
> is a best choice to install FreeeBSD on it. Brightess control work just
> fine. But it work with nvidia card. I didnt tested integrated Intel
> adapter. BIOS settings allows me to select primary adapter for video
> output.
>
>
>
> Message appears each time when brightness control key pressed:
>
> CPU0: local APIC error 0x80
>
>
>
> These errors just informational. And I dont give it any attention.
>
>
>
> Suspend/resume also work without any problems.
>
>
>
> I will test intel adapter and let you know if needed.
>
>
>
> --
>
> Best Regards,
>
> Nasonov Sergey
>
>
>



-- 
Lyubomir Grigorov (bgalakazam)
___
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: Thinkpad x230 display brightness

2013-03-04 Thread matt
On 03/04/13 22:43, Любомир Григоров wrote:
> 2012/10/20 Erich Dollansky 
>
>> Hi,
>>
>> On Sun, 21 Oct 2012 02:20:22 +0200
>> Jan Hannibal Smith  wrote:
>>
>>> Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230, so far
>>> everythings works fine except the keys for the brightness adjustment.
>>>
>>> I tried the tricks I found for the x220 series but nothing helped.
>>> Does anybody got a clue how I can get these buttons to work?
>>> Maybe there is a patch for the kms driver?
>>>
>> can you check if the keys do even generate events?
>>
>> They do not generate them on my X220.
>>
>> If they do not generate events, you can use only the command line to
>> change brightness.
>>
> any info on this? I got a T430 from my work. I am afraid I will have to do
> the manual calls like on my personal X220.
>
>
>
Any decoded DSDTs around? It's probably similar to the problem on X220
where there are multiple fake video devices in weird places.

Matt
___
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: Thinkpad x230 display brightness

2013-03-04 Thread Любомир Григоров
2012/10/20 Erich Dollansky 

> Hi,
>
> On Sun, 21 Oct 2012 02:20:22 +0200
> Jan Hannibal Smith  wrote:
>
> > Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230, so far
> > everythings works fine except the keys for the brightness adjustment.
> >
> > I tried the tricks I found for the x220 series but nothing helped.
> > Does anybody got a clue how I can get these buttons to work?
> > Maybe there is a patch for the kms driver?
> >
> can you check if the keys do even generate events?
>
> They do not generate them on my X220.
>
> If they do not generate events, you can use only the command line to
> change brightness.
>
any info on this? I got a T430 from my work. I am afraid I will have to do
the manual calls like on my personal X220.



-- 
Lyubomir Grigorov (bgalakazam)
___
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: Thinkpad x230 display brightness

2012-10-20 Thread Erich Dollansky
Hi,

On Sun, 21 Oct 2012 02:20:22 +0200
Jan Hannibal Smith  wrote:

> Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230, so far
> everythings works fine except the keys for the brightness adjustment.
> 
> I tried the tricks I found for the x220 series but nothing helped.
> Does anybody got a clue how I can get these buttons to work?
> Maybe there is a patch for the kms driver?
> 
can you check if the keys do even generate events?

They do not generate them on my X220.

If they do not generate events, you can use only the command line to
change brightness.

Erich
> Thank you.
> ___
> 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"
> 

___
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"