View previous topic :: View next topic |
Author |
Message |
the.drizzle Tux's lil' helper
Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Tue Sep 09, 2008 1:59 am Post subject: Laptop + external monitor--I got it wrong! |
|
|
Hi all,
I suspect I've done something wrong in configuring the kernel, but can't seem to figure out what exactly...
Basically, I want to be able to use an external monitor with my laptop. I can plug it in (analog out from laptop) and use it via <fn>+<f4>, but I've obviously set it up wrong as the laptop monitor refuses to turn off once I activate the external display--even if I close the lid of the laptop!
Moreover, I have a 1280x1024 external display which the the on-board graphics card on the laptop should support, but since I can only operate both screens at the same time I can only run the external one at a max of 1024x768 (the resolution of the laptop screen).
Any advice on what to fix? For what it's worth, the laptop is an hp nx6110.
I have not posted any config information with this only because I am not sure what would be useful--anything anyone may want to see, I'll be happy to supply.
Cheers! _________________ But... it IS pointless! |
|
Back to top |
|
|
Sade Guru
Joined: 22 Mar 2005 Posts: 406 Location: Netherlands - Eindhoven
|
Posted: Tue Sep 09, 2008 6:25 pm Post subject: |
|
|
I think the problem you have is with your X configuration.
If so, than you are in the wrong Forum and you should have been in
Desktop Environments
Can you please post your /etc/X11/xorg.conf (please clean out the comments before posting)
and the output of lspci _________________ | 1.6Ghz atom N270 | adopt an unanswerd post | a nice way to post a config file | |
|
Back to top |
|
|
farhaven Tux's lil' helper
Joined: 17 Feb 2008 Posts: 127
|
Posted: Tue Sep 09, 2008 7:20 pm Post subject: |
|
|
Also, the output of xrandr might be useful. |
|
Back to top |
|
|
the.drizzle Tux's lil' helper
Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Wed Sep 10, 2008 12:12 am Post subject: |
|
|
As requested (I hope didn't delete any non-comment lines...)
Code: |
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "freetype"
Load "glx"
Load "dri"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto" # Auto detect
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "lappy_monitor"
HorizSync 31.5 - 57.0
VertRefresh 50-100
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
Section "Device"
Identifier "lappy_video_card"
Driver "i810"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "lappy_video_card"
Monitor "lappy_monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
$lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (r
ev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller
(rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03
)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 0
3)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Co
ntroller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
02:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
02:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
02:06.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
02:0e.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024
VGA connected 1024x768+0+0 (normal left inverted right) 376mm x 301mm
1024x768 70.1 60.0*
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 75.0 72.8 66.7 60.0
LVDS connected 1024x768+0+0 (normal left inverted right) 304mm x 228mm
1024x768 60.0*+
800x600 60.3
640x480 59.9
TV disconnected (normal left inverted right)
|
Thanks in advance! _________________ But... it IS pointless!
Last edited by the.drizzle on Wed Sep 10, 2008 8:19 am; edited 1 time in total |
|
Back to top |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Wed Sep 10, 2008 12:41 am Post subject: |
|
|
Read 'man i810' about configuring your monitors. And read about randr.
Are you sure that u should use the i810 driver and not intel? (they're in one package but they're different drivers - at least the versions for Xorg 7.3 that I use).
And it definitely should be in the Desktop forum. |
|
Back to top |
|
|
the.drizzle Tux's lil' helper
Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Wed Sep 10, 2008 2:28 am Post subject: |
|
|
OK...
I put it here as I figured I had my kernel configured incorrectly, but it's certainly possible that it's problem with my xorg.conf file as well. While I'm here though, what intel driver are you alluding to? That is, I've read the man files, and can't seem to see anything of any use, other than to say that the intel driver is compatible with RandR output, but I can't seem to figure out how to actually use that information...
Cheers! _________________ But... it IS pointless! |
|
Back to top |
|
|
farhaven Tux's lil' helper
Joined: 17 Feb 2008 Posts: 127
|
Posted: Wed Sep 10, 2008 12:27 pm Post subject: |
|
|
The way I see it, it should suffice to execute the following command Code: | xrandr --output LVDS --right-of VGA | (replace the --right-of with your apropriate option) to give you a screen divided among both monitors. There is also away to do this in xorg.conf, so you don't have to execute that command every time you want to have a dualhead setup, but I for example just put it in my ~/.xsession.
Also, intel and i810 are different in that intel is just a wrapper around the i* drivers which selects the apropriate driver for one's card. If you have a card with an i810 chipset (for example an Intel X3100), it is absolutely okay to directly specifiy i810 as your driver. |
|
Back to top |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Wed Sep 10, 2008 12:43 pm Post subject: |
|
|
X3100 is the graphics part of the i965 chipset and not the really old i810. And with the newest driver that is in portage people had problems when using the old i810 instead of intel in xorg.conf.
I think that for randr to work this way you need to specify which hw output is wich monitor - the same way as in 'man intel'. |
|
Back to top |
|
|
farhaven Tux's lil' helper
Joined: 17 Feb 2008 Posts: 127
|
Posted: Wed Sep 10, 2008 12:59 pm Post subject: |
|
|
Oh, then forgive me my ignorance
For xrandr to work that way, one can leave the xorg.conf as is, as dynamically reattaching / rearranging screens is what xrandr is made for. |
|
Back to top |
|
|
the.drizzle Tux's lil' helper
Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Wed Sep 10, 2008 8:36 pm Post subject: |
|
|
Yeah, the intel driver seems like a nominally better choice, as the chipset in the machine is actually an i915, but loading the i915 driver directly seemed to cause some problems, hence the inclusion of the i810 driver in the first place...
However, I'm still not convinced this is not a kernel problem, as all that xrandr allows me do with the VGA output is a (maximum) of 1024x768 resolution, even with the LVDS output turned off completely...
I'm not saying this shouldn't be moved to Desktop Environments--I'm no expert--but if it was simply a problem with my xorg.conf file, shouldn't I be able to at least get the proper 1280x1024 on the VGA output with the setup I've got?
Cheers! _________________ But... it IS pointless! |
|
Back to top |
|
|
the.drizzle Tux's lil' helper
Joined: 28 Dec 2006 Posts: 103 Location: New Zealand
|
Posted: Thu Sep 11, 2008 2:38 am Post subject: |
|
|
Sorry, I guess this should be in Desktop Environments--can I move it myself somehow?
I say this because it occurred to me that I should try using the framebuffer at the diesired resolution, which works (that is, edit grub to use the VGA monitor at 1280x124-24, which works fine, thus allowing me to conclude that the problem is not with the kernel).
So, if anyone knows how to move this to correct spot, that would be great. Even better would be some instructions on how do accomplish my goal! I've read the man pages for xrandr and i810, but just cannot seem to get X to start without using the LVDS output, which then automatically knocks me down to 1025x768-16 no matter what...
Why is this so hard?!?!
Thanks in advance _________________ But... it IS pointless! |
|
Back to top |
|
|
|