Re: video (crt) status inconsistency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 23, 2011 at 9:13 AM, Ferenc Wagner <wferi@xxxxxxx> wrote:
> Hi,
>
> I attached a VGA monitor to my ThinkPad R50e.  Xrandr seems to work well
> under Linux 2.6.38-rc6, the Intel DRM driver does what I want, for
> example:
>
> $ xrandr
> Screen 0: minimum 320 x 200, current 1920 x 1848, maximum 2048 x 2048
> LVDS1 connected 1024x768+0+1080 (normal left inverted right x axis y axis) 0mm x 0mm
>   1024x768       60.0*+   85.0     75.0     70.1     60.0*    43.5
> [...]
> VGA1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
>   1920x1080      60.0*+
> [...]
>
> at the same time, however, /proc/acpi/ibm/video indicates that only the
> lcd (LVDS1) output is active:
>
> $ cat /proc/acpi/ibm/video
> status:         supported
> lcd:            enabled
> crt:            disabled
> dvi:            disabled
> auto:           disabled
> commands:       lcd_enable, lcd_disable
> commands:       crt_enable, crt_disable
> commands:       dvi_enable, dvi_disable
> commands:       auto_enable, auto_disable
> commands:       video_switch, expand_toggle
>
> Or maybe I misunderstand something, but definitely both outputs are
> enabled and actively used under X.
>
> Clarifications on the matter welcome; my aim is to configure the video
> switch hotkey (Fn+F7) properly.

Don't use the acpi switch stuff when a randr capable driver is loaded.
 The acpi stuff does behind the drivers back and bangs on the hardware
directly to switch the outputs.  Just hook up a script that calls
xrandr when you get an event from the display hotkey.

Alex

>
> Thanks,
> Feri.
>
> $ dmesg | fgrep thinkpad
> [    1.540434] thinkpad_acpi: ThinkPad ACPI Extras v0.24
> [    1.542839] thinkpad_acpi: http://ibm-acpi.sf.net/
> [    1.545210] thinkpad_acpi: ThinkPad BIOS 1WET90WW (2.10 ), EC 1VHT28WW-1.04
> [    1.547595] thinkpad_acpi: IBM ThinkPad R50e, model 1834S5G
> [    1.558516] PM: Adding info for platform:thinkpad_acpi
> [    1.558596] PM: Adding info for platform:thinkpad_hwmon
> [    1.559335] thinkpad_acpi: detected a 8-level brightness capable ThinkPad
> [    1.572818] PM: Adding info for No Bus:thinkpad_screen
> [    1.572862] thinkpad_acpi: brightness: will use unverified default: brightness_mode=3
> [    1.575329] thinkpad_acpi: brightness: please report to ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx whether it works well or not on your ThinkPad
> [    1.587429] thinkpad_acpi: Console audio control enabled, mode: monitor (read only)
> [    1.597402] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input6
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> ibm-acpi-devel mailing list
> ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
>

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel



[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux