View previous topic :: View next topic |
Author |
Message |
maruscya Guru
Joined: 13 Aug 2004 Posts: 507
|
Posted: Tue Feb 22, 2005 9:45 am Post subject: [RISOLTO] /dev/mouse ??? |
|
|
Ciao a tutti.
Oggi accendo il pc.... e Xorg si pianta dopo il logo della Nvidia. E sono costretto a riavviare la macchina.
Controllando nel log di X ho trovato questo errore . Ho tagliato le parti inutili riportando quelle che secondo me causano il problema.
Code: |
(EE) GLX is not supported with the Composite extension
(**) Option "Protocol" "auto"
(**) Mouse1: Device: "/dev/mouse"
(**) Mouse1: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/mouse"
(EE) xf86OpenSerial: Cannot open device /dev/mouse
Is a directory.
(EE) Mouse1: cannot open input device
(EE) PreInit failed for input device "Mouse1"
(II) UnloadModule: "mouse"
(**) Option "CoreKeyboard"
(**) Keyboard1: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard1: XkbRules: "xorg"
(**) Option "XkbModel" "pc101"
(**) Keyboard1: XkbModel: "pc101"
(**) Option "XkbLayout" "it"
(**) Keyboard1: XkbLayout: "it"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(WW) No core pointer registered
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
No core pointer
Fatal server error:
failed to initialize core devices
|
Ho controllato nella /dev ed in effetti il device mouse non esiste. Strano perche fino a ieri funzionava benissimo. Quindi sembra che il problema sia cusato dalla scomparsa di /dev/mouse. Ora non so come ricreare il device.
Se puo' essere utile, il mouse e' usb ed ieri stavo giochicchiando con uno scanner USB per il quale ho dovuto installare "udev" piu' altri applicativi. Non vorrei che questo abbia cusato il problema.
Spero che qualcuno mi possa dare una mano perche cercare nel forum /dev/mouse e' praticamente impossibile e cosa peggiore l'umiliazione di scrivere questo msg con windows
Allego qui sotto anche xorg.conf per chiarezza...
Code: |
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# This loads the Type1 and FreeType font modules
Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"
# This loads the GLX module
Load "glx"
# This loads the DRI module
# Load "dri"
EndSection
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
RgbPath "/usr/lib/X11/rgb"
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#
# FontPath "/usr/share/fonts/TrueType/"
# FontPath "/usr/share/fonts/freefont/"
# The module search path. The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/local"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/local/share/fonts/win"
FontPath "/usr/X11R6/lib/X11/fonts"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
# Option "NoTrapSignals"
# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12). This allows clients to receive these key
# events.
# Option "DontVTSwitch"
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
# Option "DontZap"
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.
# Option "Dont Zoom"
# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.
# Option "DisableVidModeExtension"
# Uncomment this to enable the use of a non-local xvidtune client.
# Option "AllowNonLocalXvidtune"
# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.
# Option "DisableModInDev"
# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).
# Option "AllowNonLocalModInDev"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbModel" "pc101"
Option "XkbLayout" "it"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
# Option "Protocol" "Imps2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
# Option "Protocol" "PS/2"
# Mouse-speed setting for PS/2 mouse.
Option "Resolution" "100"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Option "Protocol" "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "Dell 17"
HorizSync 31.5 - 64.3
VertRefresh 50-90
EndSection
#Section "Monitor"
# Identifier "Compaq 15"
# HorizSync 31.5 - 64.3
# VertRefresh 50-90
#EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "Nvida Card 64mb"
Driver "nvidia"
VideoRam 65536
BoardName "NV18GL Quadro NVS AGP 8x"
BusID "PCI:1:0:0"
# Option "TwinView"
option "NvAGP" "3"
option "NoDDC" "false"
option "DMPS"
Option "AGPMode" "4"
Option "RenderAccel" "true"
Option "AGPFastWrite" "True"
Option "MetaModes" "1280x1024,1024x768"
# Option "TwinViewOrientation" "RigtOf"
# Option "NoTwinViewXineramaInfo" "True"
# Option "Xinerama" "on"
# Option "TwinViewOption" "Clone"
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "Nvida Card 64mb"
Monitor "Dell 17"
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
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "extensions"
Option "Composite" "Enable"
EndSection
|
Grazie mille a tutti quanti !
Last edited by maruscya on Tue Feb 22, 2005 9:57 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31446 Location: here
|
Posted: Tue Feb 22, 2005 9:46 am Post subject: |
|
|
Prova a mettere /dev/psaux _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
maruscya Guru
Joined: 13 Aug 2004 Posts: 507
|
Posted: Tue Feb 22, 2005 9:52 am Post subject: |
|
|
fedeliallalinea wrote: | Prova a mettere /dev/psaux |
Ora provo..... subito.
Questo device fa riferimento a qualsiasi tipo di mouse (usb, ps2 etc ) ? |
|
Back to top |
|
|
maruscya Guru
Joined: 13 Aug 2004 Posts: 507
|
Posted: Tue Feb 22, 2005 9:57 am Post subject: |
|
|
fedeliallalinea wrote: | Prova a mettere /dev/psaux |
Grazie mille... funziona! |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31446 Location: here
|
Posted: Tue Feb 22, 2005 1:33 pm Post subject: |
|
|
maruscya wrote: | Questo device fa riferimento a qualsiasi tipo di mouse (usb, ps2 etc ) ? |
Al ps/2 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
maruscya Guru
Joined: 13 Aug 2004 Posts: 507
|
Posted: Tue Feb 22, 2005 3:40 pm Post subject: |
|
|
fedeliallalinea wrote: | maruscya wrote: | Questo device fa riferimento a qualsiasi tipo di mouse (usb, ps2 etc ) ? |
Al ps/2 |
Collegnado due mouse contemporaneamente... usb + ps2... funzionano entrambi!
Domanda, come ricreo /dev/mouse ???? So che c'era un comando "MAKEDEV" ..... ma non so come funziona.... |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Tue Feb 22, 2005 3:49 pm Post subject: |
|
|
maruscya wrote: |
Domanda, come ricreo /dev/mouse ???? So che c'era un comando "MAKEDEV" ..... ma non so come funziona.... |
Credo ti basti creare un link simbolico. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
maruscya Guru
Joined: 13 Aug 2004 Posts: 507
|
Posted: Tue Feb 22, 2005 4:06 pm Post subject: |
|
|
gutter wrote: | maruscya wrote: |
Domanda, come ricreo /dev/mouse ???? So che c'era un comando "MAKEDEV" ..... ma non so come funziona.... |
Credo ti basti creare un link simbolico. |
ho provato.. ma al boot seguente per qualche motivo scompare...
Giusto per curiosita "udev" centra qualcosa con il sistema USB ?? Perche' l'ultima cosa che ho emerso... |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Tue Feb 22, 2005 4:12 pm Post subject: |
|
|
Usando udev è normale che accada ciò.
Imposta in /etc/conf.d/rc la variabile:
Code: | RC_DEVICE_TARBALL="yes" |
nel modo sopradetto. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31446 Location: here
|
Posted: Tue Feb 22, 2005 4:35 pm Post subject: |
|
|
Per usare mouse usb e ps2 in contemporanea (per laptop) consiglio di seguire questo howto https://forums.gentoo.org/viewtopic.php?t=92946 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
maruscya Guru
Joined: 13 Aug 2004 Posts: 507
|
Posted: Wed Feb 23, 2005 11:35 am Post subject: |
|
|
gutter wrote: | Usando udev è normale che accada ciò.
Imposta in /etc/conf.d/rc la variabile:
Code: | RC_DEVICE_TARBALL="yes" |
nel modo sopradetto. |
Fatto ed in effetti sembra /dev/mouse ora c'e' anche dopo il boot.
Credo che udev abbia fatto qualche casino con i link nella dir /dev
Grazie mille |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Wed Feb 23, 2005 11:40 am Post subject: |
|
|
maruscya wrote: |
Credo che udev abbia fatto qualche casino con i link nella dir /dev
|
Non ha fatto nessun casino con i link
Semplicemente funziona così, cioè i device vengono creati ad ogni reboot. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
|