[megoldva] gentoo newbie --> egér hol van hol nincs

Fórumok

Szervusztok!

Amint írtam épp most építgetem első Gentoo-mat. Végre van X is. A gondok is ott kezdődnek valahol.

Amikor kipróbáltam, már elég késő volt, így csak egy WindowMaker lett lefordítva, és :


$ touch ~/.xinitrc
$ echo "wmaker" > ~/.xinitrc
$ cp ~/.xinitrc ~/.xsession
$ startx

majd örültem, mert egy kis piszkálás után az egerem is ment, meg a rajzolópadom (=wacom) is

Aztán emerge-ltem gnome-ot, gdm-et, és csak most volt időm tesztelni, eredmény:

GDM esetén csak a rajzolótáblát hajtja, és ez Gnome alatt se javul ;~((
GDM nélkül, a WMaker-t konzolból (júzerként) indítva van mindkettő.

Mit javasoltok, mit csináljak, hogy menjen?
Előre is köszi a segtíséget.
/mazursky

Megoldás az volt, hogy:
# Xorg -configure
# cat /root/xorg.conf.new >> /etc/X11/xorg.conf

És összefésültem a tartalmukat. Bocs a bénázásért, de néhány dolgot nem ott talált a Gentoo, mint a PCLinuxOS. Ez elég volt, hogy összeakassza rendesen az Xorg-ot ;~)))

/mazursky

Hozzászólások

Mi az

xorg-server

verziója és a

USE-flag

ek? Mi van az

/etc/X11/xorg.conf

-ban (ha van ilyen fájlod)?

Milyen x11-drivers/xf86-input-*

csomagok vannak feltelepítve?

Akkor egy kis dunmp-olás következik:



-----------------------------------

 Xorg -version

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN 
Current Operating System: Linux gentoo 2.6.25-gentoo-r8 #3 SMP Sun Oct 12 16:54:03 CEST 2008 i686
Build Date: 14 October 2008
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present

----------------------
 emerge -pv xorg-x11

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-x11-7.2  0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB

---------------------
 cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example

CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="xv slang readline mmx pam ssl arts perl esd gif jpeg imlib sdl oggvorbis motif opengl avi png tiff gif X gtk gnome alsa nls firefox unicode -avahi bindist cups -ipv6 -ldap -qt4"
LINGUAS="en"
MAKEOPTS="-j1"
INPUT_DEVICES="evdev keyboard mouse wacom"
VIDEO_CARDS="vesa vga i810 fbdev glint v4l ati nv"
ALSA_CARDS="snd_ens1371 snd_intel8x0"
GENTOO_MIRRORS="ftp://ftp.fsn.hu/pub/linux/distributions/gentoo http://gentoo.inode.at/ http://gentoo.inf.elte.hu/  http://gentoo.supp.name/ ftp://gentoo.inode.at/source/ http://gentoo.ITDNet.net/gentoo http://ftp.gentoo.bg/ ftp://pandemonium.tiscali.de/pub/gentoo/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
#EMERGE_DEFAULT_OPTS="-atv"

------------------------
cat /etc/X11/xorg.conf
# File generated by XFdrake (rev 57713)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # font server independent of the X server to render fonts.
    FontPath "unix/:-1"
    
    # minimal fonts to allow X to run without xfs
    FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "Extensions"
    Option "Composite"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
# switch off the fuckin screensaver
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "BlankTime" "0"
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "evdev"
#    Load "wacom"
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "hu"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "CorePointer"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus1"
  Option        "Device"        "/dev/input/event4"   # USB ONLY
  Option        "Type"          "stylus"
  Option        "USB"           "on"                  # USB ONLY
  Option        "Mode"   	"Absolute"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser1"
  Option        "Device"        "/dev/input/event4"   # USB ONLY
  Option        "Type"          "eraser"
  Option        "USB"           "on"                  # USB ONLY
  Option        "Mode"   	"Absolute"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor1"
  Option        "Device"        "/dev/input/event4"   # USB ONLY
  Option        "Type"          "cursor"
  Option        "USB"           "on"                  # USB ONLY
  Option        "Mode"   	"Absolute"
EndSection

# This section is for Intuos3, Cintiq 21UX, Graphire4, or Bamboo
Section "InputDevice"
  Driver        "wacom"
  Identifier    "pad1"
  Option        "Device"        "/dev/input/event4"   # USB ONLY
  Option        "Type"          "pad"
  Option        "USB"           "on"                  # USB ONLY
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "1024x768 @ 60 Hz"
    HorizSync 31.5-48.5
    VertRefresh 50-70
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia Corp."
    BoardName "NVIDIA GeForce2 DDR (generic)"
    Driver "nv"
#    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
    InputDevice    "stylus1"    "SendCoreEvents"
    InputDevice    "eraser1"    "SendCoreEvents"
    InputDevice    "cursor1"    "SendCoreEvents"    # For non-LCD tablets only
    InputDevice    "pad1"	"SendCoreEvents"    # For Intuos3/Cintiq 21UX/Graphire4/Bamboo tablets	
EndSection

------------------
------------------

Az xorg.conf-ot a "szomszéd partíción lévő PCLinuxOS-től "csórtam", és csak a Wacom-ot írtam át /dev/input/event4-re, valamint az Mouse-t /dev/psaux-ra, a többi stimmel, csak valamiért kb 10 másodperc amíg betölt az X ;~((((

/mazursky

Love your job but never love your company!
Because you never know when your company stops loving you!

Akkor egy kis dunmp-olás következik:



-----------------------------------

 Xorg -version

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN 
Current Operating System: Linux gentoo 2.6.25-gentoo-r8 #3 SMP Sun Oct 12 16:54:03 CEST 2008 i686
Build Date: 14 October 2008
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present

----------------------
 emerge -pv xorg-x11

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-x11-7.2  0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB

---------------------
 cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example

CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="xv slang readline mmx pam ssl arts perl esd gif jpeg imlib sdl oggvorbis motif opengl avi png tiff gif X gtk gnome alsa nls firefox unicode -avahi bindist cups -ipv6 -ldap -qt4"
LINGUAS="en"
MAKEOPTS="-j1"
INPUT_DEVICES="evdev keyboard mouse wacom"
VIDEO_CARDS="vesa vga i810 fbdev glint v4l ati nv"
ALSA_CARDS="snd_ens1371 snd_intel8x0"
GENTOO_MIRRORS="ftp://ftp.fsn.hu/pub/linux/distributions/gentoo http://gentoo.inode.at/ http://gentoo.inf.elte.hu/  http://gentoo.supp.name/ ftp://gentoo.inode.at/source/ http://gentoo.ITDNet.net/gentoo http://ftp.gentoo.bg/ ftp://pandemonium.tiscali.de/pub/gentoo/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
#EMERGE_DEFAULT_OPTS="-atv"

------------------------
cat /etc/X11/xorg.conf
# File generated by XFdrake (rev 57713)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # font server independent of the X server to render fonts.
    FontPath "unix/:-1"
    
    # minimal fonts to allow X to run without xfs
    FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "Extensions"
    Option "Composite"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
# switch off the fuckin screensaver
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "BlankTime" "0"
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "evdev"
#    Load "wacom"
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "hu"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "CorePointer"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus1"
  Option        "Device"        "/dev/input/event4"   # USB ONLY
  Option        "Type"          "stylus"
  Option        "USB"           "on"                  # USB ONLY
  Option        "Mode"   	"Absolute"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser1"
  Option        "Device"        "/dev/input/event4"   # USB ONLY
  Option        "Type"          "eraser"
  Option        "USB"           "on"                  # USB ONLY
  Option        "Mode"   	"Absolute"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor1"
  Option        "Device"        "/dev/input/event4"   # USB ONLY
  Option        "Type"          "cursor"
  Option        "USB"           "on"                  # USB ONLY
  Option        "Mode"   	"Absolute"
EndSection

# This section is for Intuos3, Cintiq 21UX, Graphire4, or Bamboo
Section "InputDevice"
  Driver        "wacom"
  Identifier    "pad1"
  Option        "Device"        "/dev/input/event4"   # USB ONLY
  Option        "Type"          "pad"
  Option        "USB"           "on"                  # USB ONLY
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "1024x768 @ 60 Hz"
    HorizSync 31.5-48.5
    VertRefresh 50-70
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia Corp."
    BoardName "NVIDIA GeForce2 DDR (generic)"
    Driver "nv"
#    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
    InputDevice    "stylus1"    "SendCoreEvents"
    InputDevice    "eraser1"    "SendCoreEvents"
    InputDevice    "cursor1"    "SendCoreEvents"    # For non-LCD tablets only
    InputDevice    "pad1"	"SendCoreEvents"    # For Intuos3/Cintiq 21UX/Graphire4/Bamboo tablets	
EndSection

------------------

lsmod
Module                  Size  Used by
snd_seq_midi           10496  0 
snd_ens1371            21792  0 
snd_intel8x0           30492  0 
snd_rawmidi            21888  2 snd_seq_midi,snd_ens1371
snd_ac97_codec         90528  2 snd_ens1371,snd_intel8x0
ac97_bus                5504  1 snd_ac97_codec
wacom                  19072  0 
scsi_wait_scan          5248  0

------------------


Az xorg.conf-ot a "szomszéd partíción lévő PCLinuxOS-től "csórtam", és csak a Wacom-ot írtam át /dev/input/event4-re, valamint az Mouse-t /dev/psaux-ra, a többi stimmel, csak valamiért kb 10 másodperc amíg betölt az X ;~((((

/mazursky

Love your job but never love your company!
Because you never know when your company stops loving you!