You are not logged in.

#1 2009-08-10 00:44:24

Midnight Sun
Member
Registered: 2008-06-23
Posts: 47

[SOLVED] X but no mouse. NewInputDeviceRequest failed (8)

Thanks for looking...

I am quite new to Linux, and am installing 2009.02 via the Beginners Guide.

I have got as far as Configure X, but when I start X I seem to lose my way. First it was just a black screen, then after some searching on the forums and wikis I got four nice windows to appear. They seem to have been specified in an init file. 2 terms,  a login, and a little clock.

The problem is my mouse doesn't work. I can type in the terminal my cursor is in, and if I type 'exit' the window disappears leaving the X shaped cursor on the screen. But I can't move the cursor, and the only way out is to terminate X.

I have got dbus and hal started in that order, and I think hal created the xorg.conf file below.

Here is my xorg.conf file

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option "AutoAddDevices" "false"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "glx"
    Load  "dri"
    Load  "record"
    Load  "dbe"
    Load  "dri2"
    Load  "extmod"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

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

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "G92 [GeForce 8800 GT]"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "AllowEmptyInput" "false"
EndSection

The xorg.0.log seems to be ok for the most part, finding the mouse and keyboard, and even saying

(II)    Mouse0: PS2EnableDataReporting: succeeded

until at the end it says:

.
.
.
(II)    config/hal: adding input device Macintosh mouse button emulation
(EE)  NewInputDeviceRequest failed (8)
(II)    config/hal: adding input device AT Translated Set 2 keyboard
(EE)  NewInputDeviceRequest failed (8)
(II)    UnloadModule: "kbd"
(II)    UnloadModule: "mouse"

My set up is a keyboard with a rollerball (or is it Trackball) which has two leads coming out. I have them plugged into a combining lead, which then goes into the pc.

I have also tried, and this is the set up for the log file above, the keyboard output combined with a seperate mouse output into the combining cable, and then plugged into the pc.

Between all changes i've made I have always rebooted.

Has anybody got any thoughts on what is going on?
Does the (8) refer to a manpage? if I type 'man 8' it asks me what page in section 8, but I don't know.


Cheers all.

Last edited by Midnight Sun (2009-08-10 17:12:56)

Offline

#2 2009-08-10 00:49:25

Midnight Sun
Member
Registered: 2008-06-23
Posts: 47

Re: [SOLVED] X but no mouse. NewInputDeviceRequest failed (8)

...P.S.


I have read this post:

http://bbs.archlinux.org/viewtopic.php?id=77543

and I do have both xf86-input-mouse and xf86-input-keyboard installed according to pacman -Q

Offline

#3 2009-08-10 11:36:25

Midnight Sun
Member
Registered: 2008-06-23
Posts: 47

Re: [SOLVED] X but no mouse. NewInputDeviceRequest failed (8)

...P.S.



My video driver is:    xf86-video-nv 2.1.14-1
Video Card is           Nvidia GeForce 8600gt

Also installed           xf86-input-evdev 2.2.3-1
                            mesa 7.5-2
                            libgl 7.5-2

Last edited by Midnight Sun (2009-08-10 11:38:51)

Offline

#4 2009-08-10 13:10:53

majiq
Member
Registered: 2009-03-06
Posts: 259

Re: [SOLVED] X but no mouse. NewInputDeviceRequest failed (8)

Well, I think it's trying to automatically add the mouse device...but you told it not to automatically add the devices. Comment out the lines that say '    Option "AutoAddDevices" "false"' and see if that helps.

P.S. In any case, I'm fairly confident that you only need one of them.

P.P.S. Also, you don't actually need a xorg.conf. See what happens if you move the xorg.conf to a backup name (i.e. xorg.conf.bk) and then startx. It won't use the NVIDIA driver, but it'll test your hardware compatibility with installed drivers. After that, you can create a minimal xorg.conf to deal with using NVIDIA.

Offline

#5 2009-08-10 17:08:05

Midnight Sun
Member
Registered: 2008-06-23
Posts: 47

Re: [SOLVED] X but no mouse. NewInputDeviceRequest failed (8)

Thanks very much for you reply. There is plenty for me to investigate, and I had come to a bit of a frustrated dead stop.

I have kind of fixed it, though. The problem may have been at person/head/brain.thnk.

I plugged a USB mouse into the pc and it worked fine straight away. I also notice that the spec on my ASUS p5k motherboard says ps/2 keyboard, and nowhere mentions that it is compatible with a mouse. I thought ps/2 meant keyboard/mouse (my laptop accepts any combinations) and I assumed that's what ps/2 was all about, but maybe not.

If anybody knows for sure I'd like to hear about it.

I'll still investigate your suggestions because I want to understand how the system works, and maybe get my keyboard's rollerball working.

I'll change the title to SOLVED for now, but if I get the ps/2 method to work I post the details.


THANKS.

Offline

#6 2009-08-10 23:14:37

Midnight Sun
Member
Registered: 2008-06-23
Posts: 47

Re: [SOLVED] X but no mouse. NewInputDeviceRequest failed (8)

I have discovered for certain that the Asus P5K mother board's single PS/2 connector is only suitable for keyboards.
Mice must be by another connector, eg USB.

It's not that clear on the Asus website, but googling soon uncovers it.

Last edited by Midnight Sun (2009-08-10 23:20:02)

Offline

Board footer

Powered by FluxBB