LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   X Error: BadDevice, invalid or uninitialized input device 169 (https://www.linuxquestions.org/questions/linux-newbie-8/x-error-baddevice-invalid-or-uninitialized-input-device-169-a-593831/)

tferero 10-22-2007 10:40 PM

X Error: BadDevice, invalid or uninitialized input device 169
 
Relating to this thread:
http://www.linuxquestions.org/questi...device-561372/

I am getting the same error updating and installing via Adept. I have googled, and came across this blog post: http://shreevatsa.wordpress.com/2006...-input-device/


This is a short enough blog, so I will post what it says here.
*************
X Error: BadDevice, invalid or uninitialized input device
December 31st, 2006

For errors like this:

X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device

edit /etc/X11/xorg.conf (don’t forget to backup, or else you may have no GUI when you reboot!), find the lines corresponding to the InputDevices you don’t have (Stylus, Cursor, Eraser), and get rid of them by commenting out everything from Section “InputDevice” to EndSection for each of them. Also, in Section “ServerLayout”, comment out the corresponding lines. Oh, changes will only take effect the next time X is started (so reboot, or logout and hit Ctrl-Alt-Backspace).
*********************

What I am looking for is if anyone has implemented this fix. As a new Linux user, I am a little concerned about editing this file, and want to make sure I don't rem out a line that will disable things altogether.

I have in my Xorg file all three devices mentioned above. If it would be helpful, I can post the exact lines in my xorg file.

I am using a dell latitude C610 with a basic mouse. No other devices attached by me.

Thank you to anyone who cares to further comment on this error.

matthewg42 10-22-2007 11:47 PM

I did this exact fix, and it worked just fine.

For example, I added # to the start of each line for the wacam stylus driver:
Code:

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

You will need to re-start your X-server. To do this, log out, then at the login screen press control+alt+backspace, and the screen will go blank and then go back to the login screen... just log in again and the fix should be done.

By the way, this is really only a cosmetic fix - AFAIK it doesn't matter if you see these error messages - they are just annoying.

matthewg42 10-22-2007 11:48 PM

Oh, by the way, the fix is un-necessary with [k]ubuntu 7.10 (Gutsy) - these lines can be in the xorg.conf and I see no error messages.

tferero 10-23-2007 08:09 AM

Thanks, Matthew.

Good to know it's a harmless error. I have been having some issues updating via Adept, and thought this was a symptom of the problem. I am glad to see it isn't, but now I have to figure out why Adept doesn't want to update sometimes. I get those error messages indicating the update couldn't be committed, because it might break other packages or files. Running update from the command line seems to work ok though (much faster too).

I am looking forward to Gutsy, but I have to get more RAM first - I don't have enough at 128MB, and I did see a performance degradation moving Feisty, so holding off a bit on that for now.

lemao 10-25-2007 07:42 PM

X Error: BadDevice, invalid or uninitialized input device 169
 
Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
Warning: kbuildsycoca is unable to register with DCOP.
kbuildsycoca running...
/usr/bin/iceauth: creating new authority file /root/.ICEauthority
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 147
Minor opcode: 3
Resource id: 0x0
Failed to open device
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
kbuildsycoca running...
kio (KService*): WARNING: The desktop entry file /usr/share/applications/DefaultPlugins.desktop has Type=Link instead of "Application" or "Service"
kio (KService*): WARNING: Invalid Service : /usr/share/applications/DefaultPlugins.desktop
kio (KSycoca): ERROR: No database available!
Invalid entry (missing '=') at /tmp/kde-root/kconf_update645NCb.tmp:1
Reusing existing ksycoca
kio (KService*): WARNING: The desktop entry file /usr/share/applications/DefaultPlugins.desktop has Type=Link instead of "Application" or "Service"
kio (KService*): WARNING: Invalid Service : /usr/share/applications/DefaultPlugins.desktop
kio (KSycoca): ERROR: No database available!
Invalid entry (missing '=') at /home/lemao/.kde/tmp-lemao-desktop/kconf_update07LY8b.tmp:1
lemao@lemao-desktop:~$ kdeinit: Shutting down running client.
---------------------------------
It looks like dcopserver is already running. If you are sure
that it is not already running, remove /root/.DCOPserver_lemao-desktop__0
and start dcopserver again.
---------------------------------

KDE Daemon (kded) already running.
kbuildsycoca running...
Reusing existing ksycoca
kio (KService*): WARNING: The desktop entry file /usr/share/applications/DefaultPlugins.desktop has Type=Link instead of "Application" or "Service"
kio (KService*): WARNING: Invalid Service : /usr/share/applications/DefaultPlugins.desktop
kio (KSycoca): ERROR: No database available!
kio (KMimeType): WARNING: KServiceType::offers : servicetype KDEDModule not found


All times are GMT -5. The time now is 04:47 AM.