Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Notepad X can't find screen.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Sun Sep 07, 2008 1:22 am    Post subject: [SOLVED] Notepad X can't find screen. Reply with quote

Hi Folks,

I am trying to install X on Dell Latitude X300. Gentoo is installed and largely working. However I am having some problems configuring X. Install completes without complaint. When I try to configure X as per Gentoo docs, it complains about screens being found, but none have a usable configuration.

Before I get into too many details, one major concern for me is that when I type lspci, it returns: -bash: lspci: command not found.

I am using gentoo-sources with genkernel, just to try to avoid any other problems. I have fixed up the bios along the lines of the wiki http://gentoo-wiki.com/ACPI/Fix_common_problems and the basic procedures indicated here http://pof.eslack.org/blog/2004/01/06/linux-on-dell-latitude-x300/.

I have used a similar xorg.conf to this:
Code:
Section "Files"
   # local font server
#   FontPath   "unix/:7110"   # xfs-xtt
#   FontPath   "unix/:7100"   # xfs
   
   # if the local font server has problems, we can fall back on these
   FontPath   "/usr/lib/X11/fonts/100dpi"
   FontPath   "/usr/lib/X11/fonts/75dpi"
   FontPath   "/usr/lib/X11/fonts/Type1"
#   FontPath   "/usr/lib/X11/fonts/Speedo"
   FontPath   "/usr/lib/X11/fonts/misc"
   FontPath   "/usr/lib/X11/fonts/cyrillic"
   FontPath   "/usr/lib/X11/fonts/TTF"
   FontPath   "/usr/local/share/fonts/windows"
#   FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#   FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"

   # RGBPath
EndSection

Section "Module"
   Load   "dbe"
   Load   "ddc"
   Load   "GLcore"
   Load   "bitmap"
   Load   "extmod"
   Load   "freetype"
   #Load   "xtt"
   Load   "glx"
   Load   "int10"
   Load   "record"
   Load   "speedo"
   Load   "type1"
   Load   "vbe"
   Load   "synaptics"
   Load   "v4l"
   Load   "dri"
EndSection

Section "ServerFlags"
#   Option   "RandR"      "false"   # needed by rotate option
#   Option   "Xinerama"   "true"
   Option   "Xinerama"   "false"   # needed by DRI
EndSection

Section "DRI"
   Mode   0666
EndSection

Section "InputDevice"
   Identifier   "GenericKeyboard"
   Driver      "keyboard"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "inspiron"
   Option      "XkbLayout"   "hu"
   Option      "XkbOptions"   "grp:shift_toggle"
EndSection

# /dev/mouse should point to /dev/psaux if the mouse is PS/2.
# /dev/mouse should point to /dev/input/mice if the mouse is USB.

Section "InputDevice"
   Identifier   "SynapticsTouchPad"
   Driver      "synaptics"
   Option      "CorePointer"
   Option      "Device"      "/dev/psaux"
   Option      "Protocol"      "auto-dev"
   Option      "LeftEdge"      "1900"
   Option      "RightEdge"      "5400"
   Option      "TopEdge"      "1900"
   Option      "BottomEdge"      "4000"
   Option      "FingerLow"      "25"
   Option      "FingerHigh"      "30"
   Option      "MaxTapTime"      "180"
   Option      "MaxTapMove"      "220"
   Option      "VertScrollDelta"   "100"
#   Option      "HorizScrollDelta"   "100"
#   Option      "EdgeMotionSpeed"   "100"
   Option      "MinSpeed"      "0.02"
   Option      "MaxSpeed"      "0.18"
   Option      "AccelFactor"      "0.0010"
   Option      "SHMConfig"      "on"
   Option      "UpDownScrolling"   "on"
#   Option      "EmulateMidButtonTime"   "100"
   Option      "TouchpadOff"      "off"
#   Option      "Repeater"      "/dev/ps2mouse"
EndSection

Section "InputDevice"
   Identifier   "USBWheelMouse"
   Driver      "mouse"
   #Option      "CorePointer"
   Option      "SendCoreEvents"   "true"
   Option      "Device"      "/dev/usbmouse"
   Option      "Protocol"      "ImPS/2"
#   Option      "Name"         "Autodetection"
   Option      "Emulate3Buttons"   "true"
   Option      "ZAxisMapping"      "4 5"
EndSection

Section "Device"
   Identifier   "Intel82855GM[0]"
   Driver      "i810"
   VideoRam   65536
#   VideoRam   32768
   #Option      "DisplayInfo"   "false"
   Option      "VBERestore"   "true"
   Option      "DRI"      "true"
   Option      "CheckLid"   "false"
   Option      "XVideo"   "true"
   #Option      "Clone"      "true"
   #Option      "CloneRefresh"      "60"
   #Option      "DevicePresence"      "true"
   #Option      "MonitorLayout"      "CRT,LFP"
EndSection

Section "Monitor"
   Identifier   "LCD1024x768"
#   HorizSync   28-50
#   VertRefresh   43-75
   Option      "DPMS"
EndSection

Section "Screen"
   Identifier   "Screen[0]"
   Device      "Intel82855GM[0]"
   Monitor      "LCD1024x768"
   #DefaultDepth   24
   DefaultDepth   16
   SubSection "Display"
      Depth      8
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
EndSection


Section "ServerLayout"
   Identifier   "Layout[0]"
   Screen   0   "Screen[0]" 0 0
   InputDevice   "GenericKeyboard"
   InputDevice   "SynapticsTouchPad"
   InputDevice   "USBWheelMouse"
EndSection


Some help greatly appreciated.

Regards
Raoul


Last edited by Raoul on Sun Sep 07, 2008 9:40 am; edited 1 time in total
Back to top
View user's profile Send private message
SiberianSniper
Guru
Guru


Joined: 06 Apr 2006
Posts: 378
Location: Dayton, OH, USA

PostPosted: Sun Sep 07, 2008 1:42 am    Post subject: Reply with quote

Try typing "/usr/sbin/lspci" instead of simply "lspci". In general, /usr/sbin won't be in a typical user's $PATH. And if that file doesn't exist, then emerge pciutils

As for the X problems, I didn't see anything obviously wrong in the xorg.conf, but I'm not really an X expert... Just make sure you have all of the drivers you need installed, such as x11-drivers/xf86-video-i810
Back to top
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Sun Sep 07, 2008 9:40 am    Post subject: Reply with quote

HI Folks,

Problem solved. Thanks SiberianSniper for the tip-off. This led me on to downgrading that package to <2 which then solved the VideoRam problem it throws up.

Regards
Raoul
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum