Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fehler nach udev-Update
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2616
Location: Konradsreuth (Germany)

PostPosted: Sun Nov 26, 2006 8:09 pm    Post subject: Fehler nach udev-Update Reply with quote

Hallo :-)

Ich hab grad auf udev-103 aktualisiert. Wenn ich jetzt hochfahre, startet kdm, der Bildschirm wird kurz schwarz und geht dann wieder auf die erste Konsole zurück; es läuft kein X-Server. In dmesg steht kein Fehler, /var/log/everything/current sagt folgendes:
Code:
Nov 26 21:00:42 [kdm] :0[4308]: IO Error in XOpenDisplay
Nov 26 21:00:42 [kdm] X server for display :0 terminated unexpectedly
Nov 26 21:00:42 [kdm] Display :0 cannot be opened
Nov 26 21:00:42 [kdm] Unable to fire up local display :0; disabling.

... was wohl hiervon kommen sollte (X-Log):
Code:
(II) Synaptics touchpad driver version 0.14.5 (1405)
...
(EE) Touchpad no synaptics touchpad detected and no repeater device
(EE) Touchpad Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "Touchpad"
(II) UnloadModule: "synaptics"
...
No core pointer

Fatal server error:
failed to initialize core devices
(**) RADEON(0): RADEONLeaveVT
(**) RADEON(0): EngineRestore (16/16)
(**) RADEON(0): RADEONRestore
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x81f0ce0)
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0):   MC_FB_LOCATION   : 0x1fff0000
(**) RADEON(0):   MC_AGP_LOCATION  : 0x27ff2000
(**) RADEON(0):   Map Changed ! Applying ...
(**) RADEON(0):   Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x00000000
(**) RADEON(0): Ok, leaving now...

Das Device-File, was auf das Touchpad zeigt, und mit folgender udev-Regel erstellt wird:
Code:
KERNEL=="event[0-9]", BUS=="serio", SYMLINK="input/touchpad"

wird aber angelegt:
Code:
schleppi ~ # ls -l /dev/input/touchpad
lrwxrwxrwx 1 root root 6 26. Nov 21:00 /dev/input/touchpad -> event1

... woran liegt's dann, daß der X-Server meint, es wäre kein Touchpad da?!

MfG, Libby
Back to top
View user's profile Send private message
fk
n00b
n00b


Joined: 17 Apr 2006
Posts: 39

PostPosted: Sun Nov 26, 2006 8:32 pm    Post subject: Reply with quote

Hm ich weis nicht obs bei der Version war , aber in einer der letzten Releases hat sich doch die Syntax von udev etwas geändert, vielleicht deswegen.

Edit: Ich sehe die letzte stabile Version bei gentoo war 087, wenn du von der upgedated hast dann hat sich die Syntax geändert
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Mon Nov 27, 2006 8:10 am    Post subject: Reply with quote

Hast Du etc-update gemacht?Das ist dringend angeraten.
Im englischen Forum gibt es einige Threads dazu.
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2616
Location: Konradsreuth (Germany)

PostPosted: Mon Nov 27, 2006 8:58 am    Post subject: Reply with quote

Ich hab den Fehler schon gefunden. Die Regel, die an sich das Touchpad verlinken sollte, funktioniert nicht mehr. /dev/input/touchpad hat nicht mehr auf das Touchpad gezeigt, sondern auf das event-Interface der Tastatur.

Hätte ja mal einer sagen können, daß sich die udev-Syntax geändert hat ...

Naja, jetzt geht's ja wieder. Aber geht's euch auch so, daß zwar dieser
Code:
find_free_number: %e is deprecated, will be removed and is unlikely to work correctly.

-"Fehler" beim Booten weg ist, dafür haufenweise Fehlermeldungen kommen, daß irgendwelche Regeln nicht mehr funktionieren? Also Regeln, die ich nicht selbst geschrieben hab, z. B. welche für PCMCIA? Mir kommt's nur so vor, als ob die neue udev-Version ein bißchen schnell stable gemacht wurde und an sich noch einige andere Pakete, die udev-Regeln mitbringen angepaßt werden müßten ...
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 515

PostPosted: Thu Dec 07, 2006 7:21 pm    Post subject: Reply with quote

Ich kann nach Update von udev auf Version 103 mein X nicht mehr startet, genau wegen Synaptics

Code:

(EE) Touchpad no synaptics touchpad detected and no repeater device
(EE) Touchpad Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "Touchpad"
(II) UnloadModule: "synaptics"


was soll man an der Stelle unternehmen ?

etc-update und revdep-rebuild haben nicht geholfen :(
Back to top
View user's profile Send private message
tuxhans
n00b
n00b


Joined: 11 Jul 2004
Posts: 21
Location: Hagen - Germany

PostPosted: Thu Dec 07, 2006 8:52 pm    Post subject: Reply with quote

Hast Du die Verlinkung mal geprüft, so wie Libby es beschrieben hat?
Er konnte den Fehler bereits beheben.
_________________
AthlonXP 2000+; kernel 2.6.18-gentoo-r3, kde3.5.5
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 515

PostPosted: Thu Dec 07, 2006 9:04 pm    Post subject: Reply with quote

/dev/input/touchpad habe ich bei mir nicht

touchpad lass sich über /dev/input/mouse0 ansprechen

über /dev/psaux bzw. /dev/misc/psaux reagieren wie touchpad als auch die usb-mouse.

Code:
matrix linux # cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0007 Version=0000
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio4/input0
S: Sysfs=/class/input/input1
H: Handlers=mouse0
B: EV=b
B: KEY=6420 0 7000f 0 0 0 0 0 0 0 0
B: ABS=11000003

I: Bus=0003 Vendor=046d Product=c00f Version=1100
N: Name="Logitech USB-PS/2 Optical Mouse"
P: Phys=usb-0000:00:1d.0-2/input0
S: Sysfs=/class/input/input2
H: Handlers=mouse1
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103



meine xorg.conf:

Code:

# Section "Extensions"
#     Option "Composite" "Enable"
#     Option "RENDER" "Enable"
# EndSection

# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
    Mode 0666
EndSection

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
Section "Module"

    Load        "dbe"     # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "freetype"

#    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a
    Load   "synaptics"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"



#    FontPath    "/usr/share/fonts/local/"
    FontPath    "/usr/share/fonts/misc/"
    FontPath    "/usr/share/fonts/75dpi:unscaled"
    FontPath    "/usr/share/fonts/100dpi:unscaled"
    FontPath    "/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/Speedo/"
    FontPath    "/usr/share/fonts/cyrillic/"
    FontPath    "/usr/share/fonts/corefonts/"
    FontPath    "/usr/share/fonts/ttf-bitstream-vera/"
    FontPath    "/usr/share/fonts/freefont/"
    FontPath    "/usr/share/fonts/unifont/"   
    FontPath    "/usr/share/fonts/TTF/"
    FontPath    "/usr/share/fonts/ukr/"
    FontPath    "/usr/share/fonts/"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "kbd"

    Option "XkbModel"   "pc105"
    Option "XkbLayout"   "de"
    Option "XkbVariant" "nodeadkeys"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
  # Notebook Touchpad die funktioniert
  Identifier "Touchpad"
  Driver       "synaptics"
#  Option       "Device"   "/dev/psaux"
  Option       "Device"   "/dev/input/mouse0"
  Option       "Protocol"   "auto-dev"
  Option       "LeftEdge"       "1900"
  Option       "RightEdge"      "5400"
  Option       "BottomEdge"     "1800"
  Option       "TopEdge"        "3900"
  Option       "FingerLow"      "25"
  Option       "FingerHigh"     "30"
  Option       "MaxTapTime"     "100"
  Option       "MaxTapMove"     "220"
  Option       "VertScrollDelta"  "100"
  Option       "MinSpeed"       "0.02"
  Option       "MaxSpeed"       "0.18"
  Option       "AccelFactor"    "0.0010"
  Option       "CorePointer"
  Option       "SendCoreEvents"  "true"
  Option       "SHMConfig"     "on"
 EndSection
 


# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the XF86Config man page for a description of the options.
# **********************************************************************
#
 Section "InputDevice"
    Identifier  "Mouse2"
    Driver      "mouse"
    Option      "Protocol"      "ExplorerPS/2"
    Option      "Device"        "/dev/input/mice"
    Option   "SendCoreEvents" "true"
    Option   "ZAxisMapping"   "4 5"
 EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   28 - 96
    VertRefresh 50 - 76
    Option "DPMS"
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Standard VGA Device:
Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver      "vga"
EndSection

# === ATI device section ===
Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === misc DRI settings ===
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
    Option "DesktopSetup"               "Single"
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified"
    Option "VRefresh2"                  "unspecified"
    Option "ScreenOverlap"              "0"
# === TV-out Management ===
    Option "NoTV"                       "no"     
    Option "TVStandard"                 "PAL-D"
    Option "TVHSizeAdj"                 "0"     
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x06419064"
    Option "GammaCorrectionII"          "0x00b02c0b"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
# === Video Overlay for the Xv extension ===
    Option "VideoOverlay"               "on"            # hier !!!!!!!!!!!!!!!
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    Option "OpenGLOverlay"              "on"  ####
# === Center Mode (Laptops only) ===
    Option "CenterMode"                 "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"         "off"
# === QBS Management ===
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# === FSAA Management ===
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
# === Erweiterung für die durchsichtigkeiteinstellugen
# Option "backingstore" "true"
# === Misc Options ===
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=5c61
    Screen 0
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x800" "1152x864" "1024x768" "800x600"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

    Identifier  "Server Layout"
    Screen "Screen0"
    InputDevice "Touchpad" "CorePointer"
    InputDevice "Mouse2" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###


vor dem Update hat touchpad über /dev/psaux funktioniert, was soll man jetzt einstellen ? Ich habe mir gedacht dass jetzt /dev/input/mouse0 das richtige wäre, aber es funkt nicht :(
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 515

PostPosted: Fri Dec 08, 2006 9:17 pm    Post subject: Reply with quote

Etwa mehr aus der log-Datei des X:

Code:
(II) Synaptics touchpad driver version 0.14.6 (1406)
Touchpad no synaptics event device found (checked 11 nodes)
Touchpad The /dev/input/event* device nodes seem to be missing
(**) Option "Device" "/dev/input/mouse0"
(**) Option "SHMConfig" "on"
(**) Option "LeftEdge" "1900"
(**) Option "RightEdge" "5400"
(**) Option "TopEdge" "3900"
(**) Option "BottomEdge" "1800"
(**) Option "FingerLow" "25"
(**) Option "FingerHigh" "30"
(**) Option "MaxTapTime" "100"
(**) Option "MaxTapMove" "220"
(**) Option "VertScrollDelta" "100"
(WW) Touchpad: TopEdge is bigger than BottomEdge. Fixing.
Query no Synaptics: 6003C8
(EE) Touchpad no synaptics touchpad detected and no repeater device
(EE) Touchpad Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "Touchpad"


Ich vermute der X sucht immer noch auf der falschen Stelle nach dem Touchpad: /dev/input/event*

Wie kann ich ihn überzeugen ?
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5329

PostPosted: Fri Dec 08, 2006 9:21 pm    Post subject: Reply with quote

öhm existiert überhaupt ein /dev/input/event* ?
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 515

PostPosted: Fri Dec 08, 2006 9:23 pm    Post subject: Reply with quote

firefly wrote:
öhm existiert überhaupt ein /dev/input/event* ?


Nein, muss es ihn auch in der neuen Version von udev geben ?
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5329

PostPosted: Fri Dec 08, 2006 9:50 pm    Post subject: Reply with quote

das /dev/input/event* device muss existieren für den synaptics treiber. Da diese device-nodes nicht exisitieren in /dev, hast du entwerder vergessen den support im kernel zu aktivieren oder vergessen das modul zu laden.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
misterxx
Guru
Guru


Joined: 18 Apr 2004
Posts: 515

PostPosted: Fri Dec 08, 2006 11:11 pm    Post subject: Reply with quote

firefly wrote:
das /dev/input/event* device muss existieren für den synaptics treiber. Da diese device-nodes nicht exisitieren in /dev, hast du entwerder vergessen den support im kernel zu aktivieren oder vergessen das modul zu laden.


Danke ich hatte anstatt [*] da [M] stehen gehabt und modul natürlich nicht geladen :(

So jetzt geht es. Danke für die Hilfe !!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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