Announcement

Collapse
No announcement yet.

X Error: BadDevice, invalid or uninitialized input device 169

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    X Error: BadDevice, invalid or uninitialized input device 169

    Hi,

    I get the above error every time I give a command in the console. I read the following article:

    http://kubuntuforums.net/forums/inde...64.0;topicseen


    I made all the changes, but my xorg.conf file is slightly different. (I only quote the modified part here):

    #Section "InputDevice"
    # Driver "wacom"
    # Identifier "stylus"
    # Option "Device" "/dev/input/wacom"
    # Option "Type" "stylus"
    # Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    #EndSection

    #Section "InputDevice"
    # Driver "wacom"
    # Identifier "eraser"
    # Option "Device" "/dev/input/wacom"
    # Option "Type" "eraser"
    # Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    #EndSection

    #Section "InputDevice"
    # Driver "wacom"
    # Identifier "cursor"
    # Option "Device" "/dev/input/wacom"
    # Option "Type" "cursor"
    # Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    #EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    # InputDevice "stylus" "SendCoreEvents"
    # InputDevice "cursor" "SendCoreEvents"
    # InputDevice "eraser" "SendCoreEvents"
    EndSection

    I rebooted after editing the file, but now get other errors. Is there something I did wrong?

    Derk

    #2
    Re: X Error: BadDevice, invalid or uninitialized input device 169

    What are the new errors?
    For external use only.

    Comment


      #3
      Re: X Error: BadDevice, invalid or uninitialized input device 169

      sudo kwrite
      Password:
      DCOPClient::attachInternal. Attach failed Could not open network socket
      Xlib: connection to ":0.0" refused by server
      Xlib: No protocol specified

      kdeinit: Can't connect to the X Server.
      kdeinit: Might not terminate at end of session.
      Xlib: connection to ":0.0" refused by server
      Xlib: No protocol specified

      kded: cannot connect to X server :0
      DCOP aborting call from 'anonymous-5792' to 'kded'
      kded: ERROR: Communication problem with kded, it probably crashed.

      Comment


        #4
        Re: X Error: BadDevice, invalid or uninitialized input device 169

        Complete modified xorg.conf:

        Section "Files"
        FontPath "/usr/share/fonts/X11/misc"
        FontPath "/usr/share/fonts/X11/cyrillic"
        FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath "/usr/share/fonts/X11/Type1"
        FontPath "/usr/share/fonts/X11/100dpi"
        FontPath "/usr/share/fonts/X11/75dpi"
        # path to defoma fonts
        FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        EndSection

        Section "Module"
        Load "i2c"
        Load "bitmap"
        Load "ddc"
        Load "dri"
        Load "extmod"
        Load "freetype"
        Load "glx"
        Load "int10"
        Load "vbe"
        EndSection

        Section "InputDevice"
        Identifier "Generic Keyboard"
        Driver "kbd"
        Option "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"
        EndSection

        Section "InputDevice"
        Identifier "Configured Mouse"
        Driver "mouse"
        Option "CorePointer"
        Option "Device" "/dev/input/mice"
        Option "Protocol" "ImPS/2"
        Option "ZAxisMapping" "4 5"
        Option "Emulate3Buttons" "true"
        EndSection

        #Section "InputDevice"
        # Driver "wacom"
        # Option "Device" "/dev/input/wacom"
        # Option "Type" "stylus"
        # Option "ForceDevice" "ISDV4" # Tablet PC ONLY
        #EndSection

        #Section "InputDevice"
        # Driver "wacom"
        # Identifier "eraser"
        # Option "Device" "/dev/input/wacom"
        # Option "Type" "eraser"
        # Option "ForceDevice" "ISDV4" # Tablet PC ONLY
        #EndSection

        #Section "InputDevice"
        # Driver "wacom"
        # Identifier "cursor"
        # Option "Device" "/dev/input/wacom"
        # Option "Type" "cursor"
        # Option "ForceDevice" "ISDV4" # Tablet PC ONLY
        #EndSection

        Section "Device"
        Identifier "Matrox Graphics, Inc. MGA G400/G450"
        Driver "mga"
        BusID "PCI:1:0:0"
        Option "OldDmaInit" "True"
        EndSection

        Section "Monitor"
        Identifier "MD30699PU"
        Option "DPMS"
        EndSection

        Section "Screen"
        Identifier "Default Screen"
        Device "Matrox Graphics, Inc. MGA G400/G450"
        Monitor "MD30699PU"
        DefaultDepth 24
        SubSection "Display"
        Depth 1
        Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
        Depth 4
        Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
        Depth 8
        Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
        Depth 15
        Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
        Depth 16
        Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
        Depth 24
        Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        EndSection

        Section "ServerLayout"
        Identifier "Default Layout"
        Screen "Default Screen"
        InputDevice "Generic Keyboard"
        InputDevice "Configured Mouse"
        # InputDevice "stylus" "SendCoreEvents"
        # InputDevice "cursor" "SendCoreEvents"
        # InputDevice "eraser" "SendCoreEvents"
        EndSection

        Section "DRI"
        Mode 0666
        EndSection

        Comment


          #5
          Re: X Error: BadDevice, invalid or uninitialized input device 169

          Originally posted by Cyclist
          sudo kwrite
          It's supposed to be kdesu kwrite for KDE (read: GUI) apps; sudo belongs to console apps only (- as has been discussed in these forums in all details back and forth :P).

          Comment


            #6
            Re: X Error: BadDevice, invalid or uninitialized input device 169

            I'm DUMB, DUMB, DUMB!

            I'm new to Ubuntu and mixed up commands from suse that I'm used to.

            Could you please give me a link to a clear, well written article about the difefrencess sudo, su kdesu?

            Sorry I bothered you with this.....

            Derk

            Comment


              #7
              Re: X Error: BadDevice, invalid or uninitialized input device 169

              I don't know of any articles on it. I usually just type up the explanation when it's required.

              "sudo" is for commands, "kdesu" is for apps. "su" you'll probably never need, it changes to another user.

              You could also try reading the man pages ("man sudo", "man kdesu", and "man su").
              For external use only.

              Comment


                #8
                Re: X Error: BadDevice, invalid or uninitialized input device 169

                There is RootSudo
                https://help.ubuntu.com/community/RootSudo

                By default, the root account is locked in Ubuntu. This means you cannot login as root or use su. Instead, the installer will setup sudo to allow the user that is created during install to run all administrative commands.

                This means that in the terminal you can use sudo for commands that require root privileges. All programs in the menu will use a graphical sudo to prompt for a password. When sudo asks for a password, it needs YOUR USER Password; this means that a root password is not needed.
                and about kdesu..

                Avoid sudo to start graphical programs. You should use gksudo or kdesu to run such programs.
                and lot of other things.
                Before you edit, BACKUP !

                Why there are dead links ?
                1. Thread: Please explain how to access old kubuntu forum posts
                2. Thread: Lost Information

                Comment


                  #9
                  Re: X Error: BadDevice, invalid or uninitialized input device 169

                  [quote=Cyclist]
                  Could you please give me a ]

                  Clear? More or less. Well written? Hmmm, rather "less" than "more" ...

                  ... http://www.penguin.ch/dokuwiki/doku....ics#super_user
                  ... http://www.penguin.ch/dokuwiki/doku....o#root_revival

                  Birdy aka littleDrHouse (quoting himself, again )

                  Comment

                  Working...
                  X