LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2007, 11:40 PM   #1
tferero
Member
 
Registered: Sep 2007
Location: Near the Canadian border
Distribution: kubuntu 8.04 Hardy Heron
Posts: 48

Rep: Reputation: 16
Question 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.
 
Old 10-23-2007, 12:47 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
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.
 
Old 10-23-2007, 12:48 AM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
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.
 
Old 10-23-2007, 09:09 AM   #4
tferero
Member
 
Registered: Sep 2007
Location: Near the Canadian border
Distribution: kubuntu 8.04 Hardy Heron
Posts: 48

Original Poster
Rep: Reputation: 16
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.

Last edited by tferero; 10-23-2007 at 09:10 AM.
 
Old 10-25-2007, 08:42 PM   #5
lemao
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
Smile 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:ffers : servicetype KDEDModule not found
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get gives X Error: BadDevice, invalid or uninitialized input device ager-wick Linux - Software 2 06-13-2007 01:45 AM
startx --> (EE) xf86OpenSerial: Cannot open device /dev/input/mice No such device. TB2 Linux - Software 2 04-04-2007 06:11 PM
Failed to open device gt68xxLlibusb 004:002 invalid arguments error message radatan71 Linux - Hardware 1 10-24-2005 09:07 PM
Invalid Block Device Error Dert Hunter Linux - Newbie 2 09-22-2003 11:22 AM
Error on boot /etc/hotplug/pci.agent: line 169: 156 Aborted Anibal Slackware 0 08-26-2003 01:45 PM


All times are GMT -5. The time now is 06:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration