[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GeForce4 card



On Thu, Jul 17, 2003 at 11:34:09PM +0200, Sebastian Kapfer wrote:
> On Thu, 17 Jul 2003 21:50:07 +0200, Jamin W. Collins wrote:
> 
> >> The "EE" lines are pointing to references to a mouse set up on a DEVFS
> >> system.
> 
> AFAIK the input layer has nothing to do with devfs. PS/2 mice should use
> /dev/psaux, wether devfs or not. USB mice use /dev/input/*, wether devfs
> or not. Could be wrong though...
> 
> Still, this is not the problem. The X logs show that in fact a second
> mouse was configured. The error is somewhere else. To John: Please post
> more of the logfile, especially the final 20 lines.
> 
It was the last 20 lines that I posted.
However, things have now changed slightly. I always boot from floppies,
and have a number of kernels configured. Normally, I use 2.2.20, and
that is the one I used before posting. Now I have booted with 2.4.21,
and get a slightly different logfile and behaviour.

Booting gets to a screen (after a pause and some horizontal lines.
The screen eventually appears normal and the kdm login appears, looking
normal. The mouse works, so I can opt for user or root, and the
keyboard allows me to enter the passwords. Pressing 'enter', however,
doesn't launch kde, it merely loops back to an empty login screen.
If I enter a console and run 'startx', this fails with a error
message saying 'server running - remove lock file etc'. But there's
no lock file in /tmp to remove. The end of the logfile now reads:-

----------
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
PEXExtensionInit: Couldn't open default PEX font file  Roman_M
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "PS/2"
(**) Configured Mouse: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(==) Configured Mouse: Buttons: 3
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "Protocol" "ImPS/2"
(**) Generic Mouse: Protocol: "ImPS/2"
(**) Option "SendCoreEvents" "true"
(**) Generic Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
        No such device.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE) 
------------------

An extract from the XF86Config-4 file is:-
------------------

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "gb"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "Device"
        Identifier      "GeForceMX440"
        Driver          "vesa"
        BusID           "PCI:1:0:0"
        Option          "UseFBDev"              "true"
EndSection

Section "Monitor"
        Identifier      "Belinea103065"
        HorizSync       30-86
        VertRefresh     50-150
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "GeForceMX440"
        Monitor         "Belinea103065"
        DefaultDepth    16
        SubSection "Display"
                Depth           1
                Modes           "800x600" "640x480"
        EndSubSection

----[snip-------

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Generic Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection

### END DEBCONF SECTION
-----------------

> >> You may not be running that... Are your disk drives referred to
> >> /dev/hdaX, where X is a number, or a longer, more informative
> >> designation ??
> 
> Both is possible with devfs. When you install devfsd, it is even the
> default.
> 
> >> Edit your XF86Config file and change the references to
> >> "\dev\input\mice" to "\dev\psaux".
> 
> John: No, don't do that. You have a perfectly working mouse configured.
>
Thanks, No I did not.

I'm well into my seventies, and was near seventy when I got my first
computer. I've always managed to have a rock solid Debian installation
(slink, potato and now woody), but when I have problems going into
new areas, I've not yet become very good at problem solving (no
basic overall knowledge).

Many thanks for your help.

Regards,               John.

> 
> > Based on the copied output, /dev/psaux is already there and loaded.  The
> > default XF86Config-4 seems to include to mouse definitions, /dev/psaux
> > and /dev/input/mice.  I have both in my config and have seen no problems
> > from them.
> 
> It depends - you can mark input devices as optional in XF86Config. Then a
> missing/failing device doesn't stop the X server. The default "generic mouse"
> entry is marked optional IMHO.
> 
> -- 
> Best Regards,   |   Hi! I'm a .signature virus. Copy me into
>  Sebastian      |   your ~/.signature to help me spread!
> 



Reply to: